From 301df333c4dc0c28cee67a8579784bd1c3b85abe Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期四, 22 二月 2024 15:07:51 +0800 Subject: [PATCH] 1、标准加工时间页面取消按照时间查询 2、设备利用率、设备开动率以及班次利用率页面查询区域日期被删除后因查询不到数据时表格中不会出现任何数据且无提示,故增加提示及禁止删除日期 3、设备综合效率分析页面和设备加工工件报表页面时间被手动清空与点击重置按钮清空后的查询条件不同,调整为时间为空时则查询除时间限定内所有数据 4、利用率走势分析、利用率分段分析以及报警分析页面简化页面查询功能,禁止删除日期 5、优化假期管理、加工数量管理以及合格率管理页面手动清空日期后无法正常查询数据 6、统计分析与统计图表页面调整重置按钮功能为重置名称为第一级车间以及日期为当日前一天,且无法手动清空日期 7、对比分析页面调整重置按钮功能为重置日期为当日前一周,且无法手动清空日期 --- src/views/eam/modules/equipmentTransfer/EquipmentTransferOutDetailModal.vue | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/views/eam/modules/equipmentTransfer/EquipmentTransferOutDetailModal.vue b/src/views/eam/modules/equipmentTransfer/EquipmentTransferOutDetailModal.vue index 2a43a11..5223d0b 100644 --- a/src/views/eam/modules/equipmentTransfer/EquipmentTransferOutDetailModal.vue +++ b/src/views/eam/modules/equipmentTransfer/EquipmentTransferOutDetailModal.vue @@ -14,7 +14,7 @@ <a-row :span='24'> <a-col :span='12'> <a-form-model-item label='鍗曟嵁鍙�' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='num'> - <a-input v-model='model.num' placeholder='璇疯緭鍏ュ崟鎹彿'></a-input> + <a-input v-model='model.num' placeholder='璇疯緭鍏ュ崟鎹彿' :disabled="disableSubmit"></a-input> </a-form-model-item> </a-col> <a-col :span='12'> @@ -27,7 +27,7 @@ v-model='model.inEnterpriseId' placeholder='璇烽�夋嫨璋冨叆鍏徃' :replace-fields='replaceFields' - :disabled='false' + :disabled="disableSubmit" @change='handleChangeInEnterpriseId'> </a-tree-select> </a-form-model-item> @@ -41,17 +41,17 @@ tree-default-expand-all :dropdown-style="{ maxHeight: '500px', overflow: 'auto' }" :treeData='treeDataSource' + :disabled="disableSubmit" v-model='model.outEnterpriseId' placeholder='璇烽�夋嫨璋冨嚭鍏徃' :replace-fields='replaceFields' - :disabled='false' - @change='handleChangeOutEnterpriseId' /> + @change='handleChangeOutEnterpriseId'/> </a-form-model-item> </a-col> <a-col :span='12'> <a-form-model-item label='澶囨敞' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='remark'> - <a-textarea v-model='model.remark' rows='3' placeholder='璇疯緭鍏ュ娉�'></a-textarea> + <a-textarea v-model='model.remark' rows='3' placeholder='璇疯緭鍏ュ娉�' :disabled="disableSubmit"></a-textarea> </a-form-model-item> </a-col> @@ -62,6 +62,7 @@ type='primary' :style="{ marginRight: '8px',marginBottom:'8px' }" :loading='confirmLoading' + :disabled="disableSubmit" @click='selectInspectionProjects()' >璁惧淇℃伅 </a-button> @@ -84,6 +85,7 @@ <a-date-picker :value='text' + :disabled="disableSubmit" v-if="col.dataIndex == 'demandDate'" format='YYYY-MM-DD HH:mm:ss' @change='(e)=>handleChange(e, record.key, col, index)' @@ -92,12 +94,14 @@ <a-date-picker :value='text' + :disabled="disableSubmit" v-if="col.dataIndex == 'outDate'" format='YYYY-MM-DD HH:mm:ss' @change='(e)=>handleChange(e, record.key, col, index)' /> <a-date-picker :value='text' + :disabled="disableSubmit" v-if="col.dataIndex == 'actualOutDate'" format='YYYY-MM-DD HH:mm:ss' @change='(e)=>handleChange(e, record.key, col, index)' @@ -107,6 +111,7 @@ v-if="col.dataIndex == 'equipmentTransferCatrgoryId'" :value='text' placeholder='璇烽�夋嫨' + :disabled="disableSubmit" :options='record.transferMethodVoList' @change='(e) => handleChange(e, record.key, col, index)' style='width: 100%' @@ -115,6 +120,7 @@ v-if="col.dataIndex == 'inDepartId'" :value='text' placeholder='璇烽�夋嫨' + :disabled="disableSubmit" :options='record.departVoList' @change='(e) => handleChange(e, record.key, col, index)' style='width: 100%' @@ -123,6 +129,7 @@ v-if="col.dataIndex == 'inManagerId'" :value='text' placeholder='璇烽�夋嫨' + :disabled="disableSubmit" :options='record.userVoList' @change='(e) => handleChange(e, record.key, col, index)' style='width: 100%' @@ -135,6 +142,7 @@ > <a-popconfirm title='纭畾鍒犻櫎鍚�?' + :disabled="disableSubmit" @confirm='() => handleDelete(text,record, index)' > <a>鍒犻櫎</a> @@ -152,6 +160,7 @@ <a-button @click='handleOk()' type='primary' + :disabled="disableSubmit" :loading='confirmLoading' >纭畾 </a-button> @@ -195,7 +204,7 @@ width: 100 }, { - title: '璁惧缂栫爜', + title: '缁熶竴缂栫爜', align: 'center', width: 100, dataIndex: 'equipmentNum' -- Gitblit v1.9.3