Browse Source

合并代码

mentoswzq 4 years ago
parent
commit
bf50ab4d9c

+ 7 - 6
js/component/manageCenter/order/orderNew/changeComponent/changeApply.js

@@ -1218,14 +1218,14 @@ class ChangeApply extends Component {
       }).done(
         function (data) {
           this.setState({
-            loading: false
+            loading: false,
           });
           if (!data.error.length) {
             message.success("保存成功!");
             this.setState({
               cuiFlag: false,
               boFlag: false,
-              addFlag: false
+              addFlag: false,
             });
             this.cuiList();
           } else {
@@ -1246,10 +1246,11 @@ class ChangeApply extends Component {
           waitDay: record.waitDay,
           effectiveCount: record.effectiveCount,
           cid: this.state.data.id, //变更ID
-          ustomizeTimes:
-            record.dunType == 0 ? record.customizeTimes : undefined,
-          customizeName: record.dunType == 0 ? record.customizeName : undefined, 
-        },
+            customizeTimes:
+              record.dunType == 0 ? record.customizeTimes : undefined,
+            customizeName:
+              record.dunType == 0 ? record.customizeName : undefined,
+        }
       }).done(
         function (data) {
           this.setState({