Explorar o código

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

xieyong hai 3 días
pai
achega
e4beba42f6

+ 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: '',