|
|
@@ -149,7 +149,8 @@
|
|
|
},
|
|
|
title: '',
|
|
|
processSubmitDialogFlag: false,
|
|
|
- dialogType: ''
|
|
|
+ dialogType: '',
|
|
|
+ businessId: ''
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
|
@@ -172,6 +173,7 @@
|
|
|
}
|
|
|
});
|
|
|
if (this.dialogType !== 'add') {
|
|
|
+ this.businessId = row.id;
|
|
|
this.getInfo(row);
|
|
|
}
|
|
|
},
|
|
|
@@ -281,11 +283,14 @@
|
|
|
}
|
|
|
},
|
|
|
async submitApprove(res) {
|
|
|
- let data = await accountstatementInfoAPI(res);
|
|
|
+ console.log(res, 'res~~~');
|
|
|
+ console.log(this.businessId || res, 'this.businessId || res');
|
|
|
+ const data = await accountstatementInfoAPI(this.businessId || res);
|
|
|
+ console.log(data, 'data~~~');
|
|
|
this.processSubmitDialogFlag = true;
|
|
|
this.$nextTick(() => {
|
|
|
- let params = {
|
|
|
- businessId: res,
|
|
|
+ const params = {
|
|
|
+ businessId: data.id,
|
|
|
businessKey: 'sales_account_statement_approve',
|
|
|
formCreateUserId: data.createUserId,
|
|
|
variables: {
|