diff --git a/src/components/UseProductPop/index.jsx b/src/components/UseProductPop/index.jsx index b884fd10..4276f8ae 100644 --- a/src/components/UseProductPop/index.jsx +++ b/src/components/UseProductPop/index.jsx @@ -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); },