소스 검색

bug update

anderx 5 년 전
부모
커밋
709b6e7ada
1개의 변경된 파일10개의 추가작업 그리고 2개의 파일을 삭제
  1. 10 2
      js/component/manageCenter/order/orderNew/changeComponent/changeApply.js

+ 10 - 2
js/component/manageCenter/order/orderNew/changeComponent/changeApply.js

@@ -1209,7 +1209,11 @@ class ChangeApply extends Component {
           appropriationRatio: record.appropriationRatio,
           waitDay: record.waitDay,
           effectiveCount: record.effectiveCount,
-          cid: this.state.data.id //变更ID
+          cid: this.state.changeId, //变更ID
+          customizeTimes:
+            record.dunType == 0 ? record.customizeTimes : undefined,
+          customizeName:
+            record.dunType == 0 ? record.customizeName : undefined,
         }
       }).done(
         function (data) {
@@ -1241,7 +1245,11 @@ class ChangeApply extends Component {
           money: record.money,
           waitDay: record.waitDay,
           effectiveCount: record.effectiveCount,
-          cid: this.state.data.id //变更ID
+          cid: this.state.changeId, //变更ID
+          customizeTimes:
+            record.dunType == 0 ? record.customizeTimes : undefined,
+          customizeName:
+            record.dunType == 0 ? record.customizeName : undefined,
         }
       }).done(
         function (data) {