From a5305cec9cae6af845e7cb1fbcb6283b307456a6 Mon Sep 17 00:00:00 2001 From: zhangds Date: Mon, 17 Oct 2022 15:31:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=90=A5=E9=94=80?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=AB=8B=E5=87=8F=E9=87=91=E7=BC=96=E8=BE=91?= =?UTF-8?q?loading=E6=B2=A1=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UseCouponAddEdit/index.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/UseCouponAddEdit/index.jsx b/src/components/UseCouponAddEdit/index.jsx index d75dea33..22121bc3 100644 --- a/src/components/UseCouponAddEdit/index.jsx +++ b/src/components/UseCouponAddEdit/index.jsx @@ -867,6 +867,7 @@ const UseCouponAddEdit = forwardRef((props, ref) => { // 第四步:获取商品数据 let param = { reseller_id: direct_reseller_ids, + type: 1, }; getProductInfoSelect(param).then((res) => { setState({ addProductBtnLoading: false, addGoldBtnLoading: false }); @@ -928,6 +929,7 @@ const UseCouponAddEdit = forwardRef((props, ref) => { /* 区分立减金 */ if (rowData.type === 2) { let obj = rowData.only; + setState({ tableLoading: false }); setState({ product_title: "编辑立减金", productData: obj,