|
|
@ -553,6 +553,14 @@ export default { |
|
|
|
const url = config.edit.exportUrl; |
|
|
|
const method = config.edit.exportMethod; |
|
|
|
const postData = buildQuery(); |
|
|
|
|
|
|
|
postData.filters.push({ |
|
|
|
logic: "and", |
|
|
|
column: "billNum", |
|
|
|
action: "equal", |
|
|
|
value: rows[0].billNum, |
|
|
|
}); |
|
|
|
|
|
|
|
await onClick(async () => { |
|
|
|
const response = await request(url, postData, { method }); |
|
|
|
if (!response.errors) { |
|
|
@ -824,6 +832,7 @@ export default { |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
//添加子表filter查询
|
|
|
|
if (route.meta.businessType && route.meta.path !== "/jis-bbac/settlement/bbac_can_sa_service") { |
|
|
|
postData.filters.push({ |
|
|
@ -832,7 +841,7 @@ export default { |
|
|
|
action: "equal", |
|
|
|
value: route.meta.businessType, |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
if (postData.items) { |
|
|
|
delete postData["items"]; |
|
|
|
} |
|
|
|