소스 검색

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);