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 afadcb48..19d59dc8 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 @@ -93,8 +93,22 @@ export default function (businessType, type) { delete schema.properties["isMaidan"]; delete schema.properties["contractDocID"]; } - if (businessType !== "JisBBAC") { - delete schema.properties["site"]; + if (businessType !== "JisBBAC") + { + + if(businessType === "ZhiGongJianBBAC") + { + if(service === "pub_can_sa_service") + { + delete schema.properties["site"]; + } + } + else + { + delete schema.properties["site"]; + + } + } else { @@ -111,7 +125,7 @@ export default function (businessType, type) { const addMethod = "POST"; const exportMethod = "POST"; - if (businessType !== "JisBBAC") + if (businessType !== "JisBBAC" && businessType !== "ZhiGongJianBBAC") { return { query: { @@ -299,7 +313,7 @@ export default function (businessType, type) { }; - if(service === "bbac_can_sa_service") + if(service === "bbac_can_sa_service"||service === "pub_can_sa_service") { }