Преглед на файлове

fix: 总单-开子单发票调用创建逻辑

xieyong преди 2 седмици
родител
ревизия
2a67fd0773
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/financialManage/invoiceManage/components/addOrEditDialogNew.vue

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

@@ -1346,7 +1346,7 @@
           this.form.productMap = tableData;
           console.log('commitData~~~',this.form);
           const API =
-            this.dialogType == 'add'
+            (this.dialogType == 'add' || this.dialogType == 'reissue')
               ? invoiceApplyCreateAPI
               : invoiceApplyUpdateV2API;
           const id = await API(this.form);