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