Преглед изворни кода

feat: 将fundType字段类型修改为字符串,以确保数据一致性

xieyong пре 3 дана
родитељ
комит
e4beba42f6
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      src/views/bpm/handleTask/components/prepayment/detailDialog.vue

+ 3 - 2
src/views/bpm/handleTask/components/prepayment/detailDialog.vue

@@ -241,7 +241,7 @@
           sourceType: 3,
           sourceCode: '',
           sourceId: '',
-          fundType: 1,
+          fundType: "1",
           paymentConditionName: '',
           paymentConditionId: '',
           remark: '',
@@ -304,6 +304,7 @@
     methods: {
       async open() {
           this.form = await getPrepaymentInfo(this.businessId);
+          this.form.fundType = String(this.form.fundType);
           this.$nextTick(() => {
             this.$refs.inventoryTableDetailsRef &&
               this.$refs.inventoryTableDetailsRef.putTableValue(this.form || []);
@@ -394,7 +395,7 @@
           sourceType: 3,
           sourceCode: '',
           sourceId: '',
-          fundType: 1,
+          fundType: "1",
           paymentConditionName: '',
           paymentConditionId: '',
           remark: '',