From 31bc899af35fb259bbefa1a285598e71821b94f2 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 29 Jul 2026 14:33:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=A6=85=E9=81=93470?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/statistics/bxerp/mojuhaotongji.vue | 1 + src/views/statistics/bxerp/workHoursRY_MP.vue | 12 ++++++++++-- src/views/statistics/bxerp/workHoursRY_NZ.vue | 12 ++++++++++-- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/views/statistics/bxerp/mojuhaotongji.vue b/src/views/statistics/bxerp/mojuhaotongji.vue index 615e02d3..aea0e0cd 100644 --- a/src/views/statistics/bxerp/mojuhaotongji.vue +++ b/src/views/statistics/bxerp/mojuhaotongji.vue @@ -98,6 +98,7 @@ export default { let that = this; let params = {}; params.query = that.query; + params.query.mgroup_name = "毛坯检测"; that.$API.bi.dataset.exec.req('product_defect_model', params).then((res) => { let data = res.data2.ds0; data.forEach(item=>{ diff --git a/src/views/statistics/bxerp/workHoursRY_MP.vue b/src/views/statistics/bxerp/workHoursRY_MP.vue index 90b83068..e75d7e47 100644 --- a/src/views/statistics/bxerp/workHoursRY_MP.vue +++ b/src/views/statistics/bxerp/workHoursRY_MP.vue @@ -655,14 +655,22 @@ export default { params.query = query; biStr = 'product_defect_equip_bdgy'; }else if(that.activeName=='muju'){ + query.mgroup_name = "毛坯检测"; query.select_cols = ""; params.query = query; biStr = 'product_defect_model'; }else if(that.activeName=='gongxu'){ - query.process_name = that.query2.process_name; + if(that.query2.process_name=='压板出炉'||that.query2.process_name=='装炉'){ + query.process_name = that.query2.process_name; + query.mgroup_name = "毛坯检测"; + }else{ + query.mgroup_name = that.query2.process_name; + query.testmgroup_name = "毛坯检测"; + } params.query = query; - biStr = 'product_defect_reya'; + biStr = that.query2.process_name=='压板出炉'||that.query2.process_name=='装炉'?'product_defect_reya':'product_defect_mg'; }else if(that.activeName=='total'){ + query.mgroup_name = "毛坯检测"; params.query = query; biStr = 'product_defect_sg'; } diff --git a/src/views/statistics/bxerp/workHoursRY_NZ.vue b/src/views/statistics/bxerp/workHoursRY_NZ.vue index f58f2b1e..0dba2723 100644 --- a/src/views/statistics/bxerp/workHoursRY_NZ.vue +++ b/src/views/statistics/bxerp/workHoursRY_NZ.vue @@ -409,14 +409,22 @@ export default { params.query = query; biStr = 'product_defect_equip_mpjc'; }else if(that.activeName=='muju'){ + query.mgroup_name = "扭后检测"; query.select_cols = ""; params.query = query; biStr = 'product_defect_model'; }else if(that.activeName=='gongxu'){ - query.process_name = that.query2.process_name; + if(that.query2.process_name=='压板出炉'||that.query2.process_name=='装炉'){ + query.process_name = that.query2.process_name; + query.mgroup_name = "扭后检测"; + }else{ + query.mgroup_name = that.query2.process_name; + query.testmgroup_name = "扭后检测"; + } params.query = query; - biStr = 'product_defect_reya'; + biStr = that.query2.process_name=='压板出炉'||that.query2.process_name=='装炉'?'product_defect_reya':'product_defect_mg'; }else if(that.activeName=='total'){ + query.mgroup_name = "扭后检测"; params.query = query; biStr = 'product_defect_sg'; }