zhaoxinyu 6 months ago
parent
commit
dbbae6ebda
  1. 20
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js

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

Loading…
Cancel
Save