提交 18265dd1 作者: 龚洪江

功能:商城商品添加显示价格字段,商城订单买家信息

上级 dfabd3cd
...@@ -155,6 +155,7 @@ type goodsItemType = { ...@@ -155,6 +155,7 @@ type goodsItemType = {
id: number; id: number;
specValuesList: { specName: string; id: number }[]; specValuesList: { specName: string; id: number }[];
}[]; }[];
priceShow: number;
}; };
export type addMallGoodsType = InterFunction<goodsItemType, any>; export type addMallGoodsType = InterFunction<goodsItemType, any>;
//商品-编辑(新) //商品-编辑(新)
......
...@@ -158,6 +158,7 @@ const GoodsAddOrEditOrDetail = () => { ...@@ -158,6 +158,7 @@ const GoodsAddOrEditOrDetail = () => {
shelfStatus: result.shelfStatus, shelfStatus: result.shelfStatus,
labelShow: result.labelShow, labelShow: result.labelShow,
goodsLabel: result.goodsLabel || undefined, goodsLabel: result.goodsLabel || undefined,
priceShow: result.priceShow,
}); });
baseInfoRef.current.setLabelShow(!!result.labelShow); baseInfoRef.current.setLabelShow(!!result.labelShow);
baseInfoRef.current.mediaData.setMainFileList(mainImgList); baseInfoRef.current.mediaData.setMainFileList(mainImgList);
......
...@@ -249,7 +249,7 @@ function ProductOrderView() { ...@@ -249,7 +249,7 @@ function ProductOrderView() {
} }
tr={record.skuDTOList.map((v) => ( tr={record.skuDTOList.map((v) => (
<div key={v.id} className='goods-text'> <div key={v.id} className='goods-text'>
x{v.orderNum} {v.orderNum}
</div> </div>
))} ))}
/> />
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论