Browse Source

feat: fix: 兼容relatedVO字段

xieyong 5 days ago
parent
commit
22a978beeb

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

@@ -1133,6 +1133,7 @@
       //获取详情
       async getInfo(id) {
         this.form = await invoiceApplyInfoV2API(id);
+        this.form.relatedList = [this.form.relatedVO];
         this.form.type = Number(this.form.type);
         if(this.form.ifRedReversalInvoice){
           // 冲红发票标记:1 是 / 0 否。仅在 1 时禁止编辑金额相关字段

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

@@ -437,6 +437,7 @@
       //获取详情
       async getInfo(id) {
         this.form = await invoiceApplyInfoV2API(id);
+        this.form.relatedList = [this.form.relatedVO];
         // this.$refs.tableInfoRef.setValue(this.form);
         this.$nextTick(() => {
           // this.$refs.tableInfoNewRef && this.$refs.tableInfoNewRef.putValue(this.form);