Browse Source

bbac可结算取消地点筛选

master
zhouhongjun 8 months ago
parent
commit
f236ede515
  1. 29
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js

29
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js

@ -95,6 +95,13 @@ export default function (businessType, type) {
}
if (businessType !== "JisBBAC") {
delete schema.properties["site"];
}
else
{
if(service === "bbac_can_sa_service")
{
delete schema.properties["site"];
}
}
const queryUrl = `settleaccount/${service}/detail-query`;
@ -210,6 +217,7 @@ export default function (businessType, type) {
else
{
const querySchema = {
title: "通用代码",
type: "object",
@ -292,15 +300,22 @@ export default function (businessType, type) {
};
if(service === "bbac_can_sa_service")
{
}
else
{
querySchema.properties.filters.default.push({
logic: "and",
column: "site",
action: "equal",
value: schema.properties.site.default,
readOnly: true,
});
}
querySchema.properties.filters.default.push({
logic: "and",
column: "site",
action: "equal",
value: schema.properties.site.default,
readOnly: true,
});
return {
query: {

Loading…
Cancel
Save