Bladeren bron

fix: 发票详情显示问题

liujt 5 dagen geleden
bovenliggende
commit
42030797ce

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

@@ -439,7 +439,12 @@
         this.form = await invoiceApplyInfoV2API(id);
         // this.$refs.tableInfoRef.setValue(this.form);
         this.$nextTick(() => {
-          this.$refs.tableInfoNewRef && this.$refs.tableInfoNewRef.putValue(this.form);
+          // this.$refs.tableInfoNewRef && this.$refs.tableInfoNewRef.putValue(this.form);
+          if (this.form.sourceType == 99) {
+            this.$refs.tableInfoNoOrderRef?.setValue(this.form);
+          } else {
+            this.$refs.tableInfoNewRef?.putValue(this.form);
+          }
         })
       },
       downloadFile(file) {

+ 1 - 1
src/views/financialManage/invoiceManage/components/tableInfoNew.vue

@@ -127,7 +127,7 @@
           // },
           {
             width: 150,
-            prop: 'sourceOrderNo',
+            prop: 'spOrderNo',
             label: '销售订单编码',
             align: 'center'
           },