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/equipmentReturn/EquipmentUnloadingReturnDetailModal.vue | 21 ++++++++++++++------- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/views/eam/modules/equipmentReturn/EquipmentUnloadingReturnDetailModal.vue b/src/views/eam/modules/equipmentReturn/EquipmentUnloadingReturnDetailModal.vue index 6e6cd73..96d469c 100644 --- a/src/views/eam/modules/equipmentReturn/EquipmentUnloadingReturnDetailModal.vue +++ b/src/views/eam/modules/equipmentReturn/EquipmentUnloadingReturnDetailModal.vue @@ -14,17 +14,17 @@ <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'> <a-form-model-item label='涓氬姟绫诲瀷' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='businessType'> <j-dict-select-tag allow-clear - :disabled='disableSubmit' v-model='model.businessType' :placeholder="disableSubmit?'':'璇烽�夋嫨绫诲瀷'" :triggerChange='true' + :disabled="disableSubmit" dictCode='business_type' /> </a-form-model-item> @@ -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> @@ -55,6 +56,7 @@ type='primary' :style="{ marginRight: '8px',marginBottom:'8px' }" :loading='confirmLoading' + :disabled="disableSubmit" @click='selectInspectionProjects()' >璁惧淇℃伅 </a-button> @@ -76,6 +78,7 @@ <a-date-picker :value='text' + :disabled="disableSubmit" v-if="col.dataIndex == 'actualReturnDate'" format='YYYY-MM-DD HH:mm:ss' @change='(e)=>handleChange(e, record.key, col, index)' @@ -89,6 +92,7 @@ > <a-popconfirm title='纭畾鍒犻櫎鍚�?' + :disabled="disableSubmit" @confirm='() => handleDelete(text,record, index)' > <a>鍒犻櫎</a> @@ -106,6 +110,7 @@ <a-button @click='handleOk()' type='primary' + :disabled="disableSubmit" :loading='confirmLoading' >纭畾 </a-button> @@ -149,7 +154,7 @@ width: 100 }, { - title: '璁惧缂栫爜', + title: '缁熶竴缂栫爜', align: 'center', width: 100, dataIndex: 'equipmentNum' @@ -200,14 +205,14 @@ { title: '璐d换鐝粍', align: 'center', - dataIndex: 'responsibilityTeamId' + dataIndex: 'responsibilityTeamName' }, { title: '璐d换浜�', align: 'center', - dataIndex: 'responsibilityUserId' + dataIndex: 'responsibilityUserName' }, { title: '鎿嶄綔', @@ -292,7 +297,9 @@ technicalStatus: data[i].technologyStatus_dictText, responsibilityTeamId: data[i].teamId, responsibilityUserId: data[i].functionary, - actualBorrowDate:data[i].updateTime + actualBorrowDate:data[i].updateTime, + responsibilityUserName:data[i].functionary_dictText, + responsibilityTeamName:data[i].teamId_dictText, }) } -- Gitblit v1.9.3