|
|
@ -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: { |
|
|
|