浏览代码

fix: 更新表单数据,添加预计发票日期和发票编号字段(已收、已付的添加发票)

xieyong 1 周之前
父节点
当前提交
e791ad2e57
共有 1 个文件被更改,包括 2 次插入 和 0 次删除
  1. 2 0
      src/views/financialManage/invoiceManage/components/addOrEditDialogNew.vue

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

@@ -1071,6 +1071,8 @@ import tabMixins from '@/mixins/tableColumnsMixin';
         const amount = this.form.relatedList.reduce((prev, cur) => prev + 
         +cur.invoiceAmount, 0) || 0;
         this.form.amount = amount;
+        this.form.expectInvoiceDate = res?.expectInvoiceDate;
+        this.form.invoiceNos = res?.invoiceNos;
         console.log('form~~~', this.form);
         this.setCompanyBankAccount(res)
         // this.form.detailList = res.detailList;