From d17c6023842bab13d81af495f6b730ee8a2b64d7 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 3 Dec 2025 09:31:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=8E=BB=E7=BA=A4=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E8=AF=A6=E6=83=85=E6=89=AD=E8=BD=AC=E5=B7=A5?= =?UTF-8?q?=E6=AE=B5=E5=8F=AF=E6=96=B0=E5=A2=9Ewpr?= 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, 12 insertions(+), 7 deletions(-) diff --git a/src/views/wpm_bx/mlogbw_check.vue b/src/views/wpm_bx/mlogbw_check.vue index 89110c5d..b2947711 100644 --- a/src/views/wpm_bx/mlogbw_check.vue +++ b/src/views/wpm_bx/mlogbw_check.vue @@ -36,6 +36,7 @@ :addTemplate="addTemplate" placeholder="暂无数据" :hideAdd="hideAdd" + :pushType="pushType" :canMultiple = "canMultiple" @selectChange="selectChange" @selectAllChange="selectAllChange" @@ -46,10 +47,11 @@ {{ scope.row.number }} ——{{ scope.row.wpr_number_out }} @@ -507,6 +509,7 @@ export default { wprNumber:"", route_code:"", wprInputText:"", + pushType:"unshift", params: {mlogb:'',page:0}, insInput:false, canMultiple:false, @@ -582,7 +585,9 @@ export default { } if(that.mode == 'ins'){ if(that.route_code=='niuzhuan'){ + that.getEquipment4(); that.gettestitem(); + that.getOptions(); }else{ that.getOptions(); that.getList(); @@ -910,9 +915,9 @@ export default { }, formTableEdit(row) { let that = this; - if(that.route_code=='niuzhuan'&&that.optionsEq.length==0){ - that.getEquipment4(); - } + // if(that.route_code=='niuzhuan'&&that.optionsEq.length==0){ + // that.getEquipment4(); + // } that.mlogbwlist.forEach((item, index) => { if (item.id == row.id) { that.mlogbwlist[index].isEdit = true; @@ -1170,9 +1175,9 @@ export default { 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.optionsEq.length==0){ + // that.getEquipment4(); + // } } if(that.setForm.cd_req_addr!==null&&!that.insInput){ //执行cd_req_addr,获取检测设备的数据