Browse Source

直供件BBAC增加地点筛选

master
zhouhongjun 7 months ago
parent
commit
4282df9717
  1. 22
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js

22
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")
delete schema.properties["site"]; {
if(businessType === "ZhiGongJianBBAC")
{
if(service === "pub_can_sa_service")
{
delete schema.properties["site"];
}
}
else
{
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