Qukatie 1 день назад
Родитель
Сommit
3261fc9885
1 измененных файлов с 10 добавлено и 12 удалено
  1. 10 12
      src/views/iosBasicData/financialManagement/finstlbills/detailsPage.vue

+ 10 - 12
src/views/iosBasicData/financialManagement/finstlbills/detailsPage.vue

@@ -678,6 +678,11 @@ export default {
           this.form.corpId = row.id;
           this.form.corpEnName = row.enName;
           this.form.corpArgreementNo = row.enName;
+          this.form.limitedAmount = null;
+          this.form.corpAccRemarks = null;
+          this.form.corpIsSigned = 0;
+          this.form.isSignedPersonId = null;
+          this.form.isSignedPersonName = null;
           let obj = {
             corpId: row.id,
             validDate: dateFormat(new Date(), "yyyy-MM-dd")
@@ -693,12 +698,6 @@ export default {
               this.form.corpIsSigned = 1;
               this.form.isSignedPersonId = obj.createUser;
               this.form.isSignedPersonName = obj.createUserName;
-            } else {
-              this.form.limitedAmount = null;
-              this.form.corpAccRemarks = null;
-              this.form.corpIsSigned = 0;
-              this.form.isSignedPersonId = null;
-              this.form.isSignedPersonName = null;
             }
           });
         } else {
@@ -930,6 +929,11 @@ export default {
       this.$set(this.form, "corpCnName", row.cnName);
       this.$set(this.form, "corpEnName", row.enName);
       this.$set(this.form, "corpArgreementNo", row.enName);
+      this.form.limitedAmount = null;
+      this.form.corpAccRemarks = null;
+      this.form.corpIsSigned = 0;
+      this.form.isSignedPersonId = null;
+      this.form.isSignedPersonName = null;
       let obj = {
         corpId: row.id,
         validDate: dateFormat(new Date(), "yyyy-MM-dd")
@@ -945,12 +949,6 @@ export default {
           this.form.corpIsSigned = 1;
           this.form.isSignedPersonId = obj.createUser;
           this.form.isSignedPersonName = obj.createUserName;
-        } else {
-          this.form.limitedAmount = null;
-          this.form.corpAccRemarks = null;
-          this.form.corpIsSigned = 0;
-          this.form.isSignedPersonId = null;
-          this.form.isSignedPersonName = null;
         }
       });
       this.retrievePopupsType = false;