mahao 1 year ago
parent
commit
46c33a997d
  1. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json
  2. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/start.cmd
  3. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js
  4. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/unable-bk.js
  5. 38
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/styles/site.css
  6. 15
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/vmi/balance.js

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json

@ -70,7 +70,7 @@
"AuthServer": { "AuthServer": {
"Authority": "http://dev.ccwin-in.com:10582", "Authority": "http://dev.ccwin-in.com:16082",
"ClientId": "basic-web", "ClientId": "basic-web",
"ClientSecret": "1q2w3e*" "ClientSecret": "1q2w3e*"
}, },

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/start.cmd

@ -8,4 +8,4 @@ if %errorlevel% == 0 (
%1 start mshta vbscript:createobject("wscript.shell").run("""%~0"" ::",0)(window.close)&&exit %1 start mshta vbscript:createobject("wscript.shell").run("""%~0"" ::",0)(window.close)&&exit
start /b SettleAccount.HttpApi.Host.exe --urls http://*:10582 start /b SettleAccount.HttpApi.Host.exe --urls http://*:16082

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/detail.js

@ -72,7 +72,7 @@ export default function (businessType, type) {
if (type === "unable") { if (type === "unable") {
if (businessType === "JisBBAC") { if (businessType === "JisBBAC") {
service = "bbac_not_sa_service"; service = "bbac_not_sa_service";
} else if (businessType === "JisHBPO") { } else if (businessType === "JisHBPO" || businessType === "MaiDanJianHBPO") {
service = "hbpo_not_sa_service"; service = "hbpo_not_sa_service";
} else { } else {
service = "pub_not_sa_service"; service = "pub_not_sa_service";

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/unable.js → code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/unable-bk.js

@ -28,7 +28,7 @@ export default function (businessType) {
let service; let service;
if (businessType === "JisBBAC") { if (businessType === "JisBBAC") {
service = "bbac_can_sa_service"; service = "bbac_can_sa_service";
} else if (businessType === "JisHBPO") { } else if (businessType === "JisHBPO" || businessType === "MaiDanJianHBPO") {
service = "hbpo_can_sa_service"; service = "hbpo_can_sa_service";
} else { } else {
service = "pub_can_sa_service"; service = "pub_can_sa_service";

38
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/styles/site.css

@ -133,3 +133,41 @@ a.logo {
box-sizing: border-box; box-sizing: border-box;
margin: 0 auto; margin: 0 auto;
} }
/*RongGuo Jia*/
.el-main {
height: calc(100% - 40px);
overflow: auto;
}
.el-footer {
display: none;
}
.el-aside *,
.el-header {
background-color: #141414;
color: #e5eaf3;
}
.el-aside *:hover,
.el-header *:hover {
background-color: #292218;
}
.el-aside .el-menu-item.is-active * {
color: #409eff;
}
.el-aside .el-scrollbar__thumb {
background-color: #e5eaf3 !important;
opacity: 0.5 !important;
}
.el-aside el-scrollbar__thumb:hover {
background-color: #e5eaf3 !important;
}
.el-header {
border-bottom-color: #4c4d4f;
}
.el-header .el-icon {
color: #e5eaf3 !important;
}

15
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/vmi/balance.js

@ -10,7 +10,6 @@ export default {
setup() { setup() {
const config = ref(null); const config = ref(null);
const route = useRoute(); const route = useRoute();
const messageCount = ref(-1);
const onCommand = async (item, rows) => { const onCommand = async (item, rows) => {
console.log(item.path, item, rows); console.log(item.path, item, rows);
}; };
@ -19,16 +18,18 @@ export default {
const model = "vmi/balance"; const model = "vmi/balance";
const useConfig = (await import(`../../models/${model}.js`)).default; const useConfig = (await import(`../../models/${model}.js`)).default;
config.value = useConfig(route.meta?.businessType, route.meta); config.value = useConfig(route.meta?.businessType, route.meta);
let notify = null;
PubSub.subscribe(event, async (_, data) => { PubSub.subscribe(event, async (_, data) => {
messageCount.value = parseInt(data); notify?.close();
}); notify = ElNotification({
ElNotification({ position: "bottom-right",
title: "Prompt", title: "待同步库存数量",
message: messageCount.value, message: data,
duration: 0, duration: 0,
}); });
}); });
});
onUnmounted(() => PubSub.unsubscribe(event)); onUnmounted(() => PubSub.unsubscribe(event));
return { config, onCommand, messageCount }; return { config, onCommand };
}, },
}; };

Loading…
Cancel
Save