From 5fadb9533dae67ad5e2327f97a4faa0f5068de62 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期四, 10 四月 2025 10:40:20 +0800 Subject: [PATCH] 流程添加 --- src/views/eam/equipment/modules/EamEquipmentModal.vue | 15 ++++----------- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/views/eam/equipment/modules/EamEquipmentModal.vue b/src/views/eam/equipment/modules/EamEquipmentModal.vue index 83ae66a..bda0eb0 100644 --- a/src/views/eam/equipment/modules/EamEquipmentModal.vue +++ b/src/views/eam/equipment/modules/EamEquipmentModal.vue @@ -81,7 +81,7 @@ </a-row> </a-col> <a-col :span="6"> - <j-image-upload text="璁惧鍥剧墖" biz="eam_equipment_image" v-model="model.equipmentImage"></j-image-upload> + <j-image-upload text="璁惧鍥剧墖" bizPath="eam_equipment_image" v-model="model.equipmentImage"></j-image-upload> </a-col> </a-row> @@ -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