zhaoxinyu 8 months ago
parent
commit
b5cbf9237f
  1. 17
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js

17
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") { if (businessType !== "JisBBAC") {
delete schema.properties["site"]; delete schema.properties["site"];
}
else
{
if(service === "bbac_can_sa_service")
{
delete schema.properties["site"];
}
} }
const queryUrl = `settleaccount/${service}/detail-query`; const queryUrl = `settleaccount/${service}/detail-query`;
@ -210,6 +217,7 @@ export default function (businessType, type) {
else else
{ {
const querySchema = { const querySchema = {
title: "通用代码", title: "通用代码",
type: "object", type: "object",
@ -292,8 +300,12 @@ export default function (businessType, type) {
}; };
if(service === "bbac_can_sa_service")
{
}
else
{
querySchema.properties.filters.default.push({ querySchema.properties.filters.default.push({
logic: "and", logic: "and",
column: "site", column: "site",
@ -302,6 +314,9 @@ export default function (businessType, type) {
readOnly: true, readOnly: true,
}); });
}
return { return {
query: { query: {
url: queryUrl, url: queryUrl,

Loading…
Cancel
Save