增加商品权重值

This commit is contained in:
zhangds 2022-10-24 10:58:16 +08:00
parent 23c0eda18a
commit c89faffc0b
1 changed files with 1 additions and 3 deletions

View File

@ -83,7 +83,7 @@ const UseProductPop = forwardRef((props, ref) => {
code_batch_id: "",
product_type: productType,
cost_price: "",
weight: "",
weight: "0",
quantity: "",
contract_price: "",
product_name: "",
@ -154,7 +154,6 @@ const UseProductPop = forwardRef((props, ref) => {
handelResponse(
res,
(req, msg) => {
console.log("商品数据 =>", req);
setState({
loading: false,
});
@ -168,7 +167,6 @@ const UseProductPop = forwardRef((props, ref) => {
text: item.title,
};
});
console.log("映射商品 =>", optArr);
setState({ productOption: optArr });
resolve(optArr);
},