From 99b62232703c73e0a63946155f36b850d7a62935 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Fri, 1 Sep 2023 09:02:01 +0800 Subject: [PATCH] up --- .../wwwroot/models/input/jie-suan-detail.js | 4 ++++ .../wwwroot/models/settle/usable.js | 2 +- .../SettleAccount.HttpApi.Host/wwwroot/views/input/fa-yun.js | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/input/jie-suan-detail.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/input/jie-suan-detail.js index 2ff91133..e20f7f03 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/input/jie-suan-detail.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/input/jie-suan-detail.js @@ -21,6 +21,10 @@ const schema = { type: "string", input: "dateTime", }, + price: { + title: "价格", + type: "number", + }, lu: { title: "客户零件号", type: "string", diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/usable.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/usable.js index de090448..17468194 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/usable.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/usable.js @@ -28,7 +28,7 @@ export default function (businessType) { let service; if (businessType === "JisBBAC") { service = "bbac_can_sa_service"; - } else if (businessType === "JisHBPO") { + } else if (businessType === "JisHBPO" || businessType === "MaiDanJianHBPO") { service = "hbpo_can_sa_service"; } else { service = "pub_can_sa_service"; diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/input/fa-yun.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/input/fa-yun.js index 215c2b16..d47437f4 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/input/fa-yun.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/input/fa-yun.js @@ -17,7 +17,7 @@ export default { if (item.path === "sync") { const url = config.edit.syncUrl; const method = config.edit.syncMethod; - await appListRef.value.action(async () => await request(url, route.meta.businessType, { method }), `确认手动同步吗?`); + await appListRef.value.onClick(async () => await request(url, route.meta.businessType, { method }), `确认手动同步吗?`); } }; return { appListRef, config, onCommand };