Explorar el Código

fix: 设置表单相关字段为默认值以确保数据一致性

xieyong hace 4 días
padre
commit
ada9620d47

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

@@ -1357,6 +1357,7 @@
             (this.dialogType == 'add' || this.dialogType == 'reissue')
               ? invoiceApplyCreateAPI
               : invoiceApplyUpdateV2API;
+          this.form.relatedVO = this.form.relatedList[0];
           const id = await API(this.form);
           if (this.form.sourceType == 2) {
             const idArr = this.form.sourceId?.split(',') || [];