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`
-
+
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/adjust.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/adjust.js
index 55eb1f0e..f8f49143 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/adjust.js
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/adjust.js
@@ -111,6 +111,13 @@ export default function () {
value: null,
readOnly: true,
},
+ {
+ logic: "and",
+ column: "custPartCode",
+ action: "like",
+ value: null,
+ readOnly: true,
+ },
{
logic: "and",
column: "vinCode",
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/balance.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/balance.js
index dedf8fa2..b3459aa7 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/balance.js
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/balance.js
@@ -80,6 +80,13 @@ export default function () {
value: null,
readOnly: true,
},
+ {
+ logic: "and",
+ column: "custPartCode",
+ action: "like",
+ value: null,
+ readOnly: true,
+ },
{
logic: "and",
column: "vinCode",
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/log.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/log.js
index b0bca72a..a2f2b332 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/log.js
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/log.js
@@ -87,6 +87,13 @@ export default function () {
value: null,
readOnly: true,
},
+ {
+ logic: "and",
+ column: "custPartCode",
+ action: "like",
+ value: null,
+ readOnly: true,
+ },
{
logic: "and",
column: "vinCode",