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); }