|
|
@@ -631,6 +631,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ businessId: '',
|
|
|
paymentTypeOp,
|
|
|
fullscreen: false,
|
|
|
receivableDialogFlag: false,
|
|
|
@@ -678,6 +679,7 @@
|
|
|
methods: {
|
|
|
//从发票管理新增发票初始化
|
|
|
async init(row = {}, type) {
|
|
|
+ this.businessId = row.id || '';
|
|
|
this.title = type == 'add' ? '新增' : '修改';
|
|
|
console.log('row', row, type);
|
|
|
this.dialogType = type;
|
|
|
@@ -1175,7 +1177,7 @@
|
|
|
},
|
|
|
//提交-开启流程
|
|
|
async handleSub(id = '') {
|
|
|
- let data = await invoiceApplyInfoV2API(id);
|
|
|
+ let data = await invoiceApplyInfoV2API(this.businessId || id);
|
|
|
this.processSubmitDialogFlag = true;
|
|
|
let key =
|
|
|
data.type == 1 ? 'fin_invoice_apply' : 'fin_invoice_receive_apply';
|