From 7f6af6907202cb7c9395a7020d249bd62e17d50f Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期五, 05 一月 2024 17:59:17 +0800 Subject: [PATCH] 1、解决车间看板页面因浏览器兼容性问题导致的样式不适配问题(使用浏览器86版本与其他版本做对比) 2、优化车间看板页面代码,将看板拖拽区域设置高度后再设置限制拖拽以试图解决进入页面后有概率设备无法自由拖拽问题(猜想因父子组件渲染顺序导致,父组件还未渲染完成,子组件就已限制区域,此时区域高度可能0,未在现场调试,本地调试无问题) 3、优化设备利用率、开动率及班次利用率页面代码,解决因浏览器版本问题导致表格前3列文字无法垂直排列导致的布局问题以及调整右上角区间展示区域为响应式布局 --- 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