From 1c3919f11f5eb5b3c2ba74d95ca6fcdf11ce9bf9 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 25 一月 2024 10:17:35 +0800 Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs --- Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue b/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue index 10186c8..e59f156 100644 --- a/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue +++ b/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue @@ -1,5 +1,3 @@ -<!-- eslint-disable vue/valid-v-for --> -<!-- eslint-disable vue/require-v-for-key --> <template> <div> <avue-form @@ -27,6 +25,7 @@ <template v-for="item in slotColumnList" :slot="item.prop + ''"> <vciWebRefer v-if="item.type == 'refer'" :key="item.dataKey" + referType="master" :data-key="item.dataKey" :disabled="item.disabled" :display="item.display" @@ -246,7 +245,7 @@ } //鏇存敼鏂瑰紡 if (formItem.field === "codeStandardEditType") { - if (this.status === "amend" ) { + if (this.status === "amend") { formItem.readOnly = true; } } @@ -436,7 +435,8 @@ field: formItem.field, type: this.columnType[formItem.type], dicData: this.getDataList(formItem.type, formItem.data), - disabled: this.type === "detail" ? true : formItem.readOnly || (formItem.codeValueApplyStatus && formItem.codeValueApplyStatus == 2 ? true : false) , + disabled: this.type === "detail" ? true : formItem.readOnly || (formItem.codeValueApplyStatus && formItem.codeValueApplyStatus == 2 ? true : false) || + (this.status ? (formItem.field === "reviseSeries" ? (formItem.value == 'false' ? true : false) : false) : false), prepend: this.preOrSufFixShow("text", formItem.prefix), append: this.preOrSufFixShow("text", formItem.suffix), prefixIcon: this.preOrSufFixShow("icon", formItem.prefix), @@ -556,7 +556,7 @@ type: this.columnType[formItem.type], dicData: this.getDataList(formItem.type, formItem.data), disabled: this.type === "detail" ? true : formItem.readOnly || (formItem.codeValueApplyStatus && formItem.codeValueApplyStatus == 2 ? true : false) || - ((formItem.name === "绯诲垪鍙�" && this.status && (formItem.field === "reviseSeries" && formItem.value == 'false') ? true : false)), + (this.status ? (formItem.field === "reviseSeries" ? (formItem.value == 'false' ? true : false) : false) : false), prepend: this.preOrSufFixShow("text", formItem.prefix), append: this.preOrSufFixShow("text", formItem.suffix), prefixIcon: this.preOrSufFixShow("icon", formItem.prefix), -- Gitblit v1.9.3