lisenzhou 2 年 前
コミット
c5b2c698d1
共有1 個のファイルを変更した8 個の追加1 個の削除を含む
  1. 8
    1
      src/subpackages/pages/marketing/changeVisit/index.jsx

+ 8
- 1
src/subpackages/pages/marketing/changeVisit/index.jsx ファイルの表示

@@ -182,6 +182,8 @@ export default withLayout((props) => {
182 182
   useEffect(() => {
183 183
     if (channelCustomerInfo?.status && isFirst.current === 1) {
184 184
       isFirst.current++;
185
+      if (channelCustomerInfo?.status == 2) return;
186
+    
185 187
       CutStatus(
186 188
         StatusList.filter((x) => x.id === channelCustomerInfo.status)[0]
187 189
       )();
@@ -633,7 +635,12 @@ export default withLayout((props) => {
633 635
                   <Input
634 636
                     type="number"
635 637
                     placeholder="请输入金额"
636
-                    disabled={Number(channelCustomerInfo?.channelCustomer?.settledCommission||0) >0}
638
+                    disabled={
639
+                      Number(
640
+                        channelCustomerInfo?.channelCustomer
641
+                          ?.settledCommission || 0
642
+                      ) > 0
643
+                    }
637 644
                     value={FormData.totalCommission}
638 645
                     onInput={InputChange.bind(this, "totalCommission")}
639 646
                   ></Input>