From 48280bcd3a6d1d3125dfec1912afa92ae2ff6eee Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期二, 02 九月 2025 16:59:40 +0800 Subject: [PATCH] mdc设备台账修改,设备管理设备台账修改 --- src/views/eam/equipment/EamEquipmentList.vue | 172 ++++++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 138 insertions(+), 34 deletions(-) diff --git a/src/views/eam/equipment/EamEquipmentList.vue b/src/views/eam/equipment/EamEquipmentList.vue index ec10e87..9686308 100644 --- a/src/views/eam/equipment/EamEquipmentList.vue +++ b/src/views/eam/equipment/EamEquipmentList.vue @@ -96,7 +96,83 @@ </a-tree-select> </a-form-item> </a-col> - + <a-col + :xl="6" + :lg="7" + :md="8" + :sm="24" + > + <a-form-item label="鏈哄簥鍘傚"> + <a-input + placeholder="璇疯緭鍏ユ満搴婂巶瀹�" + v-model="queryParam.manufacturingEnterprise" + ></a-input> + </a-form-item> + </a-col> + <a-col + :xl="6" + :lg="7" + :md="8" + :sm="24" + > + <a-form-item label="鍘熷��(鍏�)"> + <a-input + placeholder="璇疯緭鍏ュ師鍊�(鍏�)" + v-model="queryParam.originalValue" + ></a-input> + </a-form-item> + </a-col> + <a-col + :xl="6" + :lg="7" + :md="8" + :sm="24" + > + <a-form-item label="鎬ц兘鎸囨爣"> + <a-input + placeholder="璇疯緭鍏ユ�ц兘鎸囨爣" + v-model="queryParam.performanceIndicators" + ></a-input> + </a-form-item> + </a-col> + <a-col + :xl="6" + :lg="7" + :md="8" + :sm="24" + > + <a-form-item label="鍑哄巶鏃ユ湡"> + <a-range-picker v-model="leaveFactoryDate" value-format="YYYY-MM-DD HH:mm:ss" + @change="leaveFactoryRangeChange" + style="width: 100%"/> + </a-form-item> + </a-col> + <a-col + :xl="6" + :lg="7" + :md="8" + :sm="24" + > + <a-form-item label="鎶曠敤鏃ユ湡"> + <a-range-picker v-model="acceptanceCheckDate" value-format="YYYY-MM-DD" + @change="acceptanceCheckRangeChange" + style="width: 100%"/> + </a-form-item> + </a-col> + <a-col + :xl="6" + :lg="7" + :md="8" + :sm="24" + > + <a-form-item label="璁惧鐢ㄩ��"> + <j-dict-select-tag + dict-code="equipment_use" + placeholder="璇烽�夋嫨璁惧鐢ㄩ��" + v-model="queryParam.equipmentUse" + ></j-dict-select-tag> + </a-form-item> + </a-col> </template> <a-col :xl="6" @@ -451,21 +527,38 @@ fixed: 'left' }, { - title: '绠$悊鍒嗙被', + title: '璁惧鍨嬪彿', align: 'center', - width: 120, - dataIndex: 'equipmentImportance_dictText', + width: 200, + dataIndex: 'equipmentModel' }, { - title: '鎶�鏈姸鎬�', + title: '鍑哄巶鏃ユ湡', align: 'center', width: 100, - dataIndex: 'technologyStatus_dictText' + dataIndex: 'leaveFactoryDate' + }, + { + title: '鎶曠敤鏃ユ湡', + align: 'center', + width: 100, + dataIndex: 'acceptanceCheckDate' + }, + { + title: '鍘熷��(鍏�)', + align: 'center', + dataIndex: 'originalValue' + }, + { + title: '浣跨敤杞﹂棿', + align: 'center', + width: 100, + dataIndex: 'orgId_dictText' }, { title: '璧勪骇浣跨敤鐘舵��', align: 'center', - width: 100, + width: 120, dataIndex: 'assetStatus_dictText' }, { @@ -481,13 +574,31 @@ dataIndex: 'maintenanceStatus_dictText' }, { - title: '浣跨敤杞﹂棿', + title: '璁惧鐢ㄩ��', align: 'center', width: 100, - dataIndex: 'orgId_dictText' + dataIndex: 'equipmentUse_dictText' }, { - title: '璁惧绠$悊鍛�', + title: '鎿嶄綔宸�', + align: 'center', + width: 100, + dataIndex: 'operator' + }, + { + title: '绠$悊鍒嗙被', + align: 'center', + width: 120, + dataIndex: 'equipmentImportance_dictText', + }, + { + title: '鎶�鏈姸鎬�', + align: 'center', + width: 100, + dataIndex: 'technologyStatus_dictText' + }, + { + title: '璁惧璐d换浜�', align: 'center', width: 100, dataIndex: 'equipmentManager_dictText' @@ -501,12 +612,6 @@ title: '璁惧绉嶇被', align: 'center', dataIndex: 'equipmentType_dictText' - }, - { - title: '璁惧鍨嬪彿', - align: 'center', - width: 200, - dataIndex: 'equipmentModel' }, { title: '璁惧瑙勬牸', @@ -536,6 +641,7 @@ title: '瀹夎浣嶇疆', align: 'center', width: 100, + ellipsis: true, dataIndex: 'installationPosition' }, { @@ -547,6 +653,7 @@ title: '鏈哄簥鍘傚', align: 'center', width: 300, + ellipsis: true, dataIndex: 'manufacturingEnterprise' }, { @@ -559,19 +666,8 @@ title: '璁惧渚涘簲鍟�', align: 'center', width: 100, + ellipsis: true, dataIndex: 'supplier' - }, - { - title: '鍑哄巶鏃ユ湡', - align: 'center', - width: 100, - dataIndex: 'leaveFactoryDate' - }, - { - title: '鎶曠敤鏃ユ湡', - align: 'center', - width: 100, - dataIndex: 'acceptanceCheckDate' }, { title: '鏈夋棤宸ヨ壓鍙傛暟', @@ -593,11 +689,6 @@ dataIndex: 'overallDimensions' }, { - title: '鍘熷��(鍏�)', - align: 'center', - dataIndex: 'originalValue' - }, - { title: '璧勯噾鏉ユ簮', align: 'center', dataIndex: 'fundingSource' @@ -605,11 +696,13 @@ { title: '鍔熻兘鐢ㄩ��', align: 'center', + ellipsis: true, dataIndex: 'functionUse' }, { title: '鎬ц兘鎸囨爣', align: 'center', + ellipsis: true, dataIndex: 'performanceIndicators' }, { @@ -671,6 +764,8 @@ isOpenProcess: false, isOpenPrecision: false, treeDataAlias: [], + leaveFactoryDate: [], + acceptanceCheckDate: [], } }, computed: { @@ -683,6 +778,14 @@ this.loadAppHomeUrlConfigValue() }, methods: { + leaveFactoryRangeChange(valueArray) { + this.queryParam.leaveFactoryStartTime = valueArray[0] + this.queryParam.leaveFactoryEndTime = valueArray[1] + }, + acceptanceCheckRangeChange(valueArray) { + this.queryParam.acceptanceCheckStartTime = valueArray[0] + this.queryParam.acceptanceCheckEndTime = valueArray[1] + }, loadAllProductionTree() { //鍔犺浇杞﹂棿閫夋嫨鏍� getAction(this.url.loadProductionOptions).then(res => { @@ -831,8 +934,9 @@ } return newObj; }, - searchReset() { + this.leaveFactoryDate = [] + this.acceptanceCheckDate = [] this.queryParam = {} this.onClearSelected() this.loadTabPaneTableData('-1') -- Gitblit v1.9.3