Browse Source

fix(财务模块): 移除应收应付科目默认值

liujt 7 months ago
parent
commit
51ad237351

+ 4 - 4
src/views/bpm/handleTask/components/financialManage/payableManage/components/detailDialog.vue

@@ -145,8 +145,8 @@
         dialogType: '',
         dialogType: '',
         form: {
         form: {
           accountingSubjectCode: '',
           accountingSubjectCode: '',
-          accountingSubjectId: '1779719367139792004',
-          accountingSubjectName: '应付账款',
+          accountingSubjectId: '',
+          accountingSubjectName: '',
           contactId: '',
           contactId: '',
           contactName: '',
           contactName: '',
           files: [],
           files: [],
@@ -194,8 +194,8 @@
           invoiceData = await invoiceApplyInfoAPI(data.invoiceId);
           invoiceData = await invoiceApplyInfoAPI(data.invoiceId);
         }
         }
         this.form.accountingSubjectCode = invoiceData.accountingSubjectCode;
         this.form.accountingSubjectCode = invoiceData.accountingSubjectCode;
-        this.form.accountingSubjectId = invoiceData.accountingSubjectId || '1779719367139792004';
-        this.form.accountingSubjectName = invoiceData.accountingSubjectName || '应付账款';
+        this.form.accountingSubjectId = invoiceData.accountingSubjectId || '';
+        this.form.accountingSubjectName = invoiceData.accountingSubjectName || '';
       },
       },
       downloadFile(file) {
       downloadFile(file) {
         getFile({ objectName: file.storePath }, file.name);
         getFile({ objectName: file.storePath }, file.name);

+ 4 - 4
src/views/bpm/handleTask/components/financialManage/receivableManage/components/detailDialog.vue

@@ -149,8 +149,8 @@
         dialogType: '',
         dialogType: '',
         form: {
         form: {
           accountingSubjectCode: '',
           accountingSubjectCode: '',
-          accountingSubjectId: '1779719367139791006',
-          accountingSubjectName: '应收账款',
+          accountingSubjectId: '',
+          accountingSubjectName: '',
           contactId: '',
           contactId: '',
           contactName: '',
           contactName: '',
           files: [],
           files: [],
@@ -204,8 +204,8 @@
         }
         }
 
 
         this.form.accountingSubjectCode = invoiceData.accountingSubjectCode;
         this.form.accountingSubjectCode = invoiceData.accountingSubjectCode;
-        this.form.accountingSubjectId = invoiceData.accountingSubjectId || '1779719367139791006';
-        this.form.accountingSubjectName = invoiceData.accountingSubjectName || '应收账款';
+        this.form.accountingSubjectId = invoiceData.accountingSubjectId || '';
+        this.form.accountingSubjectName = invoiceData.accountingSubjectName || '';
       },
       },
       downloadFile(file) {
       downloadFile(file) {
         getFile({ objectName: file.storePath }, file.name);
         getFile({ objectName: file.storePath }, file.name);