Browse Source

直供件BBAC增加地点筛选

master
zhouhongjun 7 months ago
parent
commit
4282df9717
  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["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"];
}
}
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")
{
}

Loading…
Cancel
Save