From e3721d91eab407c277738259310789e5db2bb864 Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 28 Oct 2025 14:28:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=BE=93=E5=85=A5=E7=89=A9=E6=96=99?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E6=B7=BB=E5=8A=A0=E6=90=9C=E7=B4=A0=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=EF=BC=88=E6=8F=90=E5=88=B0=E7=AC=AC=E4=B8=80=E8=A1=8C?= =?UTF-8?q?=E5=B9=B6=E5=8F=AF=E7=BC=96=E8=BE=91=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlogbw_check.vue | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/views/wpm_bx/mlogbw_check.vue b/src/views/wpm_bx/mlogbw_check.vue index 101d6d92..89110c5d 100644 --- a/src/views/wpm_bx/mlogbw_check.vue +++ b/src/views/wpm_bx/mlogbw_check.vue @@ -27,7 +27,7 @@ 检验 批量操作 - + { let indexs = item.number.indexOf(that.wprInputText) if(indexs>-1&&that.wprInputText !== ""){ - // if(item.number == that.wprInputText){ let obj = Object.assign({},item); obj.isEdit = true; that.mlogbwlist.splice(index,1); that.wprInputText = ""; that.mlogbwlist.unshift(obj); - if(that.setForm.cd_req_addr!==null){ + if(that.insInput){ + if(that.mlogbwlist[0].work_start_time==''||that.mlogbwlist[0].work_start_time==null){ + let date = new Date(); + that.mlogbwlist[0].work_start_time = that.$TOOL.dateFormat(date, 'yyyy-MM-dd hh:mm:ss'); + that.timeChange(that.mlogbwlist[0]); + } + if(that.optionsEq.length==0){ + that.getEquipment4(); + } + } + if(that.setForm.cd_req_addr!==null&&!that.insInput){ //执行cd_req_addr,获取检测设备的数据 that.getEqData(0); }