Bladeren bron

修复个贷审批报错

wucl 1 jaar geleden
bovenliggende
commit
4c49413cf0
1 gewijzigde bestanden met toevoegingen van 10 en 4 verwijderingen
  1. 10 4
      src/views/personal/todoDetail.vue

+ 10 - 4
src/views/personal/todoDetail.vue

@@ -1924,10 +1924,16 @@ export default {
     savePrice() {
       this.$refs.targetForm.validate(valid => {
         if (valid) {
-          this.target.location = this.personal.location;
-          this.target.bailorA = this.personal.bailorA;
-          this.target.bailorB = this.personal.bailorB;
-          let taskRecord = this.buildTaskRecordDTO(this.target);
+          let target = new Object();
+          target.id = this.target.id;
+          target.personalId = this.target.personalId;
+          target.price = this.target.price;
+          target.amount = this.target.amount;
+          target.acreage = this.target.acreage;
+          target.location = this.personal.location;
+          target.bailorA = this.personal.bailorA;
+          target.bailorB = this.personal.bailorB;
+          let taskRecord = this.buildTaskRecordDTO(target);
           this.$api.personalTarget.price(taskRecord).then(res => {
             if (res.code === 200 && res.data) {
               this.$notify({