Browse Source

下拉列表导入结算

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

9
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 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({

Loading…
Cancel
Save