规格编辑-扣点展示
This commit is contained in:
parent
28fa9f30d7
commit
51b9ef2da3
|
|
@ -119,6 +119,14 @@ public class GoodsController extends BaseController {
|
||||||
GoodsCategory category = goodsCategoryService.selectById(deptGoodsCategory.getGoodsCategoryId());
|
GoodsCategory category = goodsCategoryService.selectById(deptGoodsCategory.getGoodsCategoryId());
|
||||||
goodsStandard.setGoodsCategoryName(category.getGoodsCategoryName());
|
goodsStandard.setGoodsCategoryName(category.getGoodsCategoryName());
|
||||||
goodsStandard.setChecked(true);
|
goodsStandard.setChecked(true);
|
||||||
|
goodsStandard.setOneRate(deptGoodsCategory.getOneRate());
|
||||||
|
goodsStandard.setTwoRate(deptGoodsCategory.getTwoRate());
|
||||||
|
goodsStandard.setThreeRate(deptGoodsCategory.getThreeRate());
|
||||||
|
goodsStandard.setDeptRate(deptGoodsCategory.getDeptRate());
|
||||||
|
goodsStandard.setDeptMoney(deptGoodsCategory.getDeptMoney());
|
||||||
|
goodsStandard.setRetainMoney(deptGoodsCategory.getRetainMoney());
|
||||||
|
goodsStandard.setRetainRate(deptGoodsCategory.getRetainRate());
|
||||||
|
|
||||||
});
|
});
|
||||||
goodsEditReq.setGoodsStandardList(goodsStandards);
|
goodsEditReq.setGoodsStandardList(goodsStandards);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -47,4 +47,25 @@ public class GoodsStandard extends BaseEntity {
|
||||||
|
|
||||||
private String goodsCategoryName;
|
private String goodsCategoryName;
|
||||||
|
|
||||||
|
@Excel(name = "一级分销扣点比例", cellType = Excel.ColumnType.STRING)
|
||||||
|
private String oneRate;
|
||||||
|
|
||||||
|
@Excel(name = "二级分销扣点比例", cellType = Excel.ColumnType.STRING)
|
||||||
|
private String twoRate;
|
||||||
|
|
||||||
|
@Excel(name = "三级分销扣点比例", cellType = Excel.ColumnType.STRING)
|
||||||
|
private String threeRate;
|
||||||
|
|
||||||
|
@Excel(name = "平台扣点", cellType = Excel.ColumnType.STRING)
|
||||||
|
private String deptRate;
|
||||||
|
|
||||||
|
@Excel(name = "平台固定扣金额", cellType = Excel.ColumnType.STRING)
|
||||||
|
private BigDecimal deptMoney;
|
||||||
|
|
||||||
|
@Excel(name = "截留扣点", cellType = Excel.ColumnType.STRING)
|
||||||
|
private String retainRate;
|
||||||
|
|
||||||
|
@Excel(name = "截留金额", cellType = Excel.ColumnType.STRING)
|
||||||
|
private BigDecimal retainMoney;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue