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") {
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,8 +300,12 @@ export default function (businessType, type) {
};
if(service === "bbac_can_sa_service")
{
}
else
{
querySchema.properties.filters.default.push({
logic: "and",
column: "site",
@ -302,6 +314,9 @@ export default function (businessType, type) {
readOnly: true,
});
}
return {
query: {
url: queryUrl,

Loading…
Cancel
Save