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/equipmentBorrow/EquipmentUnloadingBorrowDetailModal.vue | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/views/eam/modules/equipmentBorrow/EquipmentUnloadingBorrowDetailModal.vue b/src/views/eam/modules/equipmentBorrow/EquipmentUnloadingBorrowDetailModal.vue index a64fa52..2a84319 100644 --- a/src/views/eam/modules/equipmentBorrow/EquipmentUnloadingBorrowDetailModal.vue +++ b/src/views/eam/modules/equipmentBorrow/EquipmentUnloadingBorrowDetailModal.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'> @@ -36,6 +36,7 @@ <a-select placeholder='璇烽�夋嫨' v-model='model.useDepartId' + :disabled="disableSubmit" :options='this.departVoList' style='width: 100%' /> @@ -44,7 +45,7 @@ <a-col :span='12'> <a-form-model-item label='澶囨敞' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='remark'> - <a-textarea v-model='model.remark' placeholder='璇疯緭鍏ュ娉�'></a-textarea> + <a-textarea v-model='model.remark' placeholder='璇疯緭鍏ュ娉�' :disabled="disableSubmit"></a-textarea> </a-form-model-item> </a-col> @@ -77,6 +78,7 @@ <a-date-picker :value='text' + :disabled="disableSubmit" v-if="col.dataIndex == 'actualBorrowDate'" format='YYYY-MM-DD HH:mm:ss' @change='(e)=>handleChange(e, record.key, col, index)' @@ -90,6 +92,7 @@ > <a-popconfirm title='纭畾鍒犻櫎鍚�?' + :disabled="disableSubmit" @confirm='() => handleDelete(text,record, index)' > <a>鍒犻櫎</a> @@ -107,6 +110,7 @@ <a-button @click='handleOk()' type='primary' + :disabled="disableSubmit" :loading='confirmLoading' >纭畾 </a-button> @@ -156,7 +160,7 @@ dataIndex: 'equipmentStatus' }, { - title: '璁惧缂栫爜', + title: '缁熶竴缂栫爜', align: 'center', width: 100, dataIndex: 'equipmentNum' @@ -292,8 +296,8 @@ technicalStatus: data[i].technologyStatus_dictText, responsibilityTeamId: data[i].teamId, responsibilityUserId: data[i].functionary, - responsibilityUserName:functionary_dictText, - responsibilityTeamName:teamId_dictText, + responsibilityUserName:data[i].functionary_dictText, + responsibilityTeamName:data[i].teamId_dictText, equipmentStatus:data[i].equipmentStatus_dictText }) } -- Gitblit v1.9.3