From c4d585e7656a8996bca9d871c5cb0879ead368cb Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Mon, 19 Feb 2024 11:17:57 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=96=B0=E5=A2=9E=E4=BA=AC?= =?UTF-8?q?=E4=B8=9CE=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UseProductPop/index.jsx | 40 +++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/src/components/UseProductPop/index.jsx b/src/components/UseProductPop/index.jsx index 80903550..bb9e2a5d 100644 --- a/src/components/UseProductPop/index.jsx +++ b/src/components/UseProductPop/index.jsx @@ -88,7 +88,9 @@ const UseProductPop = forwardRef((props, ref) => { account_type: "", map_product_name: "", end_time: "", - card_show: 2 + card_show: 2, + messageVerify: 2, + channelVerIfy: undefined }) useEffect(() => { @@ -175,6 +177,8 @@ const UseProductPop = forwardRef((props, ref) => { if (productData) { setModel({ goods_id: productData.goods_id, + messageVerify: productData.messageVerify, + channelVerIfy: productData.channelVerIfy, cost_price: productData.cost_price, weight: String(productData.weight), quantity: productData.quantity, @@ -241,7 +245,9 @@ const UseProductPop = forwardRef((props, ref) => { account_type: "", map_product_name: "", end_time: "", - card_show: 2 + card_show: 2, + messageVerify: 2, + channelVerIfy: undefined }) setTimeout(() => { setState({ isUpdatePic: !state.isUpdatePic }) @@ -265,7 +271,9 @@ const UseProductPop = forwardRef((props, ref) => { map_product_name: model.product_name, goods_id: model.goods_id, end_time: model.end_time, - card_show: model.card_show + card_show: model.card_show, + messageVerify: model.messageVerify, + channelVerIfy: model.channelVerIfy } } @@ -506,7 +514,18 @@ const UseProductPop = forwardRef((props, ref) => { > 直充 卡密 - 京东E卡 + + + + { + setModel({ messageVerify: e.target.value }) + }} + value={model.messageVerify} + disabled={!!model.code_batch_id} + > + + {model.product_type === 2 ? ( @@ -537,6 +556,19 @@ const UseProductPop = forwardRef((props, ref) => { }} /> + +