Browse Source

update

master
wanggang 1 year ago
parent
commit
86377781f5
  1. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-item.js
  2. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/index.js
  3. 7
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/adjust.js
  4. 7
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/balance.js
  5. 7
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/log.js

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-item.js

@ -35,7 +35,7 @@ export default {
if (props.schema.hidden) { if (props.schema.hidden) {
return false; 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 false;
} }
return true; return true;

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/index.js

@ -7,7 +7,7 @@ export default {
}, },
name: "AppForm", name: "AppForm",
template: html`<div v-loading="loading"> template: html`<div v-loading="loading">
<el-form ref="formRef" :model="model" label-width="auto" :inline="inline"> <el-form ref="formRef" :model="model" label-width="auto" :inline="inline" @keyup.enter.native="submit">
<template v-if="schema && schema.properties"> <template v-if="schema && schema.properties">
<template v-for="(value, prop) in getProperties(schema.properties)"> <template v-for="(value, prop) in getProperties(schema.properties)">
<app-form-item :parentSchema="schema" :schema="value" v-model="model" :prop="prop" :mode="mode" :errors="errors" /> <app-form-item :parentSchema="schema" :schema="value" v-model="model" :prop="prop" :mode="mode" :errors="errors" />

7
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/adjust.js

@ -111,6 +111,13 @@ export default function () {
value: null, value: null,
readOnly: true, readOnly: true,
}, },
{
logic: "and",
column: "custPartCode",
action: "like",
value: null,
readOnly: true,
},
{ {
logic: "and", logic: "and",
column: "vinCode", column: "vinCode",

7
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/balance.js

@ -80,6 +80,13 @@ export default function () {
value: null, value: null,
readOnly: true, readOnly: true,
}, },
{
logic: "and",
column: "custPartCode",
action: "like",
value: null,
readOnly: true,
},
{ {
logic: "and", logic: "and",
column: "vinCode", column: "vinCode",

7
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/vmi/log.js

@ -87,6 +87,13 @@ export default function () {
value: null, value: null,
readOnly: true, readOnly: true,
}, },
{
logic: "and",
column: "custPartCode",
action: "like",
value: null,
readOnly: true,
},
{ {
logic: "and", logic: "and",
column: "vinCode", column: "vinCode",

Loading…
Cancel
Save