瀏覽代碼

fix: 将表单类型转换为数字,以确保数据一致性

xieyong 1 月之前
父節點
當前提交
bf91831290
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      src/views/financialManage/invoiceManage/components/addOrEditDialogNew.vue

+ 1 - 0
src/views/financialManage/invoiceManage/components/addOrEditDialogNew.vue

@@ -1085,6 +1085,7 @@
       //获取详情
       async getInfo(id) {
         this.form = await invoiceApplyInfoV2API(id);
+        this.form.type = Number(this.form.type);
         this.$nextTick(() => {
           // 根据来源类型设置数据源:99 用 tableInfo(setValue),非 99 用 tableInfoNew(putValue)
           if (this.form.sourceType == 99) {