From f67b4c736c68cd3d1f75e5fc6b6e23189f12b979 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期二, 19 十二月 2023 11:34:57 +0800 Subject: [PATCH] 设备管理增加按车间筛选条件 --- src/views/mdc/base/EquipmentList.vue | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/views/mdc/base/EquipmentList.vue b/src/views/mdc/base/EquipmentList.vue index 92f802e..55ce880 100644 --- a/src/views/mdc/base/EquipmentList.vue +++ b/src/views/mdc/base/EquipmentList.vue @@ -19,6 +19,14 @@ <a-input placeholder="璇疯緭鍏ヨ澶囧悕绉�" v-model="queryParam.equipmentName"></a-input> </a-form-item> </a-col> + + <a-col :md="6" :sm="8"> + <a-form-item label="杞﹂棿鍚嶇О"> + <!--<a-input placeholder="璇疯緭鍏ヨ处鍙锋煡璇�" v-model="queryParam.username"></a-input>--> + <a-input placeholder="璇疯緭鍏ヨ溅闂村悕绉�" v-model="queryParam.productionName"></a-input> + </a-form-item> + </a-col> + <a-col :md="6" :sm="8"> <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button> <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button> @@ -443,6 +451,8 @@ this.$refs.modalForm.title = "缂栬緫"; this.$refs.modalForm.disableSubmit = false; this.$refs.modalForm.disSeach = true; + // 璋冪敤鎶藉眽琛ㄥ崟缁勪欢涓殑娓呴櫎琛ㄥ崟楠岃瘉鏂规硶 + this.$refs.modalForm.removeValidate() }, handleAdd: function () { this.$refs.modalForm.add(); @@ -453,7 +463,6 @@ getAvatarView: function (avatar) { return getFileAccessHttpUrl(avatar) }, - batchFrozen: function (status) { if (this.selectedRowKeys.length <= 0) { // this.$message.warning('璇烽�夋嫨涓�鏉¤褰曪紒'); @@ -485,7 +494,7 @@ frozenBatch({ids: ids, status: status}).then((res) => { if (res.success) { // that.$message.success(res.message); - that.$notification.warning({ + that.$notification.success({ message:'娑堟伅', description:res.message }); -- Gitblit v1.9.3