From f236ede5157940c0a024b533d4c340b6d9f8b9bb Mon Sep 17 00:00:00 2001 From: zhouhongjun <565221961@qq.com> Date: Mon, 25 Mar 2024 13:58:58 +0800 Subject: [PATCH] =?UTF-8?q?bbac=E5=8F=AF=E7=BB=93=E7=AE=97=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E5=9C=B0=E7=82=B9=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/models/settle/detail.js | 37 +++++++++++++------ 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js index e0fbe54a..7ede1990 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js @@ -95,7 +95,14 @@ 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`; const addUrl = `settleaccount/${service}/generate-settlement-order`; @@ -209,6 +216,7 @@ export default function (businessType, type) { } else { + const querySchema = { title: "通用代码", @@ -291,16 +299,23 @@ export default function (businessType, type) { }, }; - - - - querySchema.properties.filters.default.push({ - logic: "and", - column: "site", - action: "equal", - value: schema.properties.site.default, - readOnly: true, - }); + + 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, + }); + + } + return { query: {