Browse Source

下拉列表导入结算

master
zhouhongjun 4 months ago
parent
commit
e2da702fda
  1. 11
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js

11
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js

@ -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"];
}

Loading…
Cancel
Save