From d4be0ab305a9917c7cd59bf9df0fb3850a38223f Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期一, 07 四月 2025 17:45:29 +0800 Subject: [PATCH] art: 设备管理-周保-保养人选择 --- src/views/eam/equipment/modules/EamEquipmentModal.vue | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/views/eam/equipment/modules/EamEquipmentModal.vue b/src/views/eam/equipment/modules/EamEquipmentModal.vue index 83ae66a..0e7f31f 100644 --- a/src/views/eam/equipment/modules/EamEquipmentModal.vue +++ b/src/views/eam/equipment/modules/EamEquipmentModal.vue @@ -178,7 +178,7 @@ </a-col> <a-col :span="6"> <a-form-model-item prop="equipmentManager" label="璁惧绠$悊鍛�"> - <j-search-select-tag placeholder="璇烽�夋嫨璁惧绠$悊鍛�" v-model="model.equipmentManager" dict="sys_user,realname, username, del_flag=0" :disabled="disableSubmit"/> + <j-search-select-tag placeholder="璇烽�夋嫨璁惧绠$悊鍛�" v-model="model.equipmentManager" dict="sys_user,realname, username, del_flag=0 and post='PCR0004' and status=1" :disabled="disableSubmit"/> </a-form-model-item> </a-col> <a-col :span="6"> @@ -189,7 +189,7 @@ </a-col> <a-col :span="6"> <a-form-model-item prop="mdcFlag" label="鏄惁瀹炴柦MDC"> - <lx-switch checked-children='鏄�' un-checked-children='鍚�' @change="handleMdcFlagChange" v-model="model.mdcFlag" :disabled="disableSubmit"/> + <lx-switch checked-children='鏄�' un-checked-children='鍚�' v-model="model.mdcFlag" :disabled="disableSubmit"/> </a-form-model-item> </a-col> <a-col :span="6" v-if="model.mdcFlag === '1'"> @@ -238,6 +238,7 @@ import { getAction, httpAction } from '@/api/manage' import { validateDuplicateValueInDelFlag } from '@/utils/util' import JSelectProduction from '@comp/jeecgbiz/JSelectProduction.vue' +import { getSystemConfigValue } from '@api/api' export default { name: 'EamEquipmentModal', @@ -370,14 +371,6 @@ } }) }, - handleMdcFlagChange(checked){ - this.model.deviceType = ''; - if (checked) { - this.validatorRules.deviceType[0].required = true - } else { - this.validatorRules.deviceType[0].required = false - } - } } } </script> -- Gitblit v1.9.3