From 86377781f531b25e7e99fe721736219273565cac Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Fri, 1 Sep 2023 11:14:12 +0800 Subject: [PATCH] update --- .../wwwroot/components/form/form-item.js | 2 +- .../wwwroot/components/form/index.js | 2 +- .../wwwroot/models/vmi/adjust.js | 7 +++++++ .../wwwroot/models/vmi/balance.js | 7 +++++++ .../SettleAccount.HttpApi.Host/wwwroot/models/vmi/log.js | 7 +++++++ 5 files changed, 23 insertions(+), 2 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-item.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-item.js index 352d58ab..2bed3f38 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-item.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-item.js @@ -35,7 +35,7 @@ export default { if (props.schema.hidden) { return false; } - if (props.schema.readOnly && (props.mode === "create" || props.mode === "update")) { + if (props.schema.hidden && (props.mode === "create" || props.mode === "update")) { return false; } return true; diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/index.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/index.js index 92b31ff1..35198632 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/index.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/index.js @@ -7,7 +7,7 @@ export default { }, name: "AppForm", template: html`
- +