From ccad811e328ee76c96e23dbf44a83b1581502ccf Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 1 Dec 2025 14:23:18 +0800 Subject: [PATCH 01/10] =?UTF-8?q?fix:=E7=8E=BB=E7=BA=A4=E6=B7=B7=E6=89=B9?= =?UTF-8?q?=E5=8A=A0=E6=96=99=E5=8E=9F=E7=90=86=E4=B8=BA=E6=94=B9=E7=89=88?= =?UTF-8?q?=EF=BC=8C=E6=92=A4=E9=94=80=E5=8F=98=E5=8A=A8=EF=BC=88=E6=9C=89?= =?UTF-8?q?=E5=8F=AF=E8=83=BD=E6=98=AF=E4=B8=8D=E5=90=8C=E5=B7=A5=E6=AE=B5?= =?UTF-8?q?=E7=9A=84=E6=9D=BF=E6=AE=B5=E5=90=88=E6=89=B9=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/inmIn.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/wpm_bx/inmIn.vue b/src/views/wpm_bx/inmIn.vue index 5f378b8d..63331af3 100644 --- a/src/views/wpm_bx/inmIn.vue +++ b/src/views/wpm_bx/inmIn.vue @@ -698,7 +698,7 @@ export default { }, handleAddWpr(row){ this.dialog.scrap = true; - this.type = 10; + this.type = 50; let obj = {}; obj.wm = row.id; obj.batch = row.batch; @@ -708,7 +708,7 @@ export default { obj.material_name = row.material_name; this.wmItem = obj; this.$nextTick(() => { - this.$refs.scrapDialog.open("add",[],30); + this.$refs.scrapDialog.open("add"); }); }, handleWprSuccess(row){}, From 97c71723067c3a076dda33897374a9ab1f698710 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 1 Dec 2025 14:33:21 +0800 Subject: [PATCH 02/10] =?UTF-8?q?fix:=E7=8E=BB=E7=BA=A4=E5=8B=BE=E9=80=89?= =?UTF-8?q?=E5=90=8E=E7=82=B9=E5=87=BB=E2=80=9C=E5=90=88=E6=89=B9=E2=80=9D?= =?UTF-8?q?=E5=90=8E=E8=8E=B7=E5=8F=96wpr=E5=88=97=E8=A1=A8=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/handover_form.vue | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue index 709cfb1a..a39a5a1b 100644 --- a/src/views/wpm_bx/handover_form.vue +++ b/src/views/wpm_bx/handover_form.vue @@ -434,8 +434,14 @@ export default { that.totalCount = totalCount; }, showbw(index){ - this.bwIndex = index; - this.bwVisible = true; + let that = this; + that.bwIndex = index; + if(that.form.handoverb[index].handoverbw&&that.form.handoverb[index].handoverbw.length>0){ + that.bwVisible = true; + }else{ + that.$message.warning("正在加载,请稍后..."); + that.bwVisible = true; + } }, bwVisibleClose(){ this.bwVisible = false; @@ -600,13 +606,21 @@ export default { }, //显示 open(mode = "add",data,mtype) { - this.mode = mode; - this.mtype = mtype; + let that = this; + that.mode = mode; + that.mtype = mtype; if(mtype==30){ - this.change_batch = true; + that.change_batch = true; } - this.form.handoverb = data?data:[]; - this.visible = true; + that.form.handoverb = data?data:[]; + if(data.length>0){ + that.totalCount = 0; + data.forEach((item,index)=>{ + that.totalCount += Number(item.count); + that.getWprList(item.wm,index); + }) + } + that.visible = true; return this; }, clearSelect(){ @@ -657,7 +671,7 @@ export default { getWprList(id,index){ let that = this; let handoverbw = []; - that.$API.wpm.wpr.list.req({wm:id,page:0,can_use:'yes'}).then((res) => { + that.$API.wpm.wpr.list.req({wm:id,page:0,can_use:'yes',query:'{id,number}'}).then((res) => { res.forEach(wpritem=>{ let obj = {}; obj.wpr = wpritem.id; From 99f6c740c899983d83f73e3e0c87397a18f30e47 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 1 Dec 2025 16:49:27 +0800 Subject: [PATCH 03/10] =?UTF-8?q?fix:=20=E5=AD=90=E5=B7=A5=E5=BA=8F?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E8=AE=B0=E5=BD=95=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlog_detail.vue | 243 ++++++++++++------------------- 1 file changed, 93 insertions(+), 150 deletions(-) diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index a861af9f..698493bd 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -58,142 +58,74 @@ header="子工序操作记录" shadow="never" > - 新增 - - - - - - - - - - - - - + - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { that.tableData = res; }) @@ -595,6 +533,7 @@ export default { that.getPreocess(); that.getShift(); that.getEquipment(); + that.getProcessList(); }, methods: { open() { @@ -664,6 +603,12 @@ export default { } }) }, + getProcessList(){ + let that = this; + that.$API.wpm.mloguser.list.req({page:0,mlog:that.mlogId}).then((res) => { + that.processLists = res; + }) + }, getShift(){ let that = this; that.$API.mtm.shift.list.req({ page: 0 }).then((res) => { @@ -917,25 +862,15 @@ export default { that.isSaveing = false; }); }, - table_muser_add(){ - let that = this; - let userInfo = that.$TOOL.data.get("USER_INFO"); - that.muserForm.mlog = that.mlogItem.id; - that.muserForm.handle_user = userInfo.id; - that.muserForm.handle_user_name = userInfo.name; - that.muserForm.work_start_time = this.$TOOL.dateFormat(new Date()); - that.saveMuserDialog = true; - }, - saveMuserSubmit (){ + saveMuserSubmit(row){ let that = this; that.isSaveing = true; - that.$API.wpm.mloguser.create.req(that.muserForm).then((res) => { + that.$API.wpm.mloguser.create.req(that.addTemplate).then((res) => { that.isSaveing = false; - that.saveMuserDialog = false; that.$message.success("操作成功"); - that.$refs.tableMuser.refresh(); + that.getProcessList(); }).catch(() => { - that.isSaveing = false; + that.isSaveing = false; }) }, table_muser_del(row){ @@ -947,6 +882,14 @@ export default { }) }) }, + table_muser_edit(row){ + let that = this; + console.log('row',row); + let index = that.processLists.indexOf(row); + console.log('index',index); + that.processLists[index].isEdit = true; + + }, handleSaveSuccess() { this.$refs.tableIn.refresh(); if(this.mlogItem.material_out_&&this.mlogItem.material_out_.tracking==10){ From b2f0a4f74ac864bb69673bd255879e040087f07e Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 2 Dec 2025 11:01:26 +0800 Subject: [PATCH 04/10] =?UTF-8?q?fix:=E5=96=B7=E7=A0=81=E6=97=B6=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E9=80=89=E6=8B=A9=E8=AE=BE=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlog_detail.vue | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index 698493bd..1c4fa3d8 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -116,6 +116,23 @@ + + + From 13e32911acc4a4979dca4cb10a94e1d57ec21a0a Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 2 Dec 2025 11:03:53 +0800 Subject: [PATCH 05/10] =?UTF-8?q?fix:=E8=A1=A8=E6=A0=BC=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlogbw_check_table.vue | 48 ++++++++++++++----------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/src/views/wpm_bx/mlogbw_check_table.vue b/src/views/wpm_bx/mlogbw_check_table.vue index 7eaa429a..37a8cc28 100644 --- a/src/views/wpm_bx/mlogbw_check_table.vue +++ b/src/views/wpm_bx/mlogbw_check_table.vue @@ -24,7 +24,10 @@ - + + @@ -38,6 +41,9 @@ +
+ + 序号 物料批次 物料编号 {{ item.testitem_name }} + {{ index + 1 }} + {{ row.mlogb__batch }} @@ -66,7 +72,7 @@ {{ row.note }} - + @@ -318,6 +324,7 @@ export default { route_code:"", wprInputText:"", canMultiple:false, + selectedAll:false, checkAll: false, hideAdd: false, visible: false, @@ -402,17 +409,23 @@ export default { selectChange(){ let that = this; that.selectWprList = []; - console.log('selectedindexes',that.selectedindexes); that.mlogbwlist.forEach((item) => { if(that.selectedindexes.indexOf(item.id)>-1){ that.selectWprList.push(item); } }) - console.log('selectWprList',that.selectWprList); }, - selectAllChange(datas){ + selectAllChange(){ let that = this; - that.selectWprList = datas; + if(that.selectedAll){ + that.mlogbwlist.forEach((item) => { + that.selectedindexes.push(item.id); + that.selectWprList.push(item); + }) + }else{ + that.selectedindexes=[]; + that.selectWprList=[]; + } }, getEquipment4() { let that = this; @@ -527,7 +540,6 @@ export default { } that.mlogbwlist.push(obj); }) - // console.log('that.mlogbwlist',that.mlogbwlist); } }) }, @@ -624,7 +636,7 @@ export default { let getEd = false; if(that.qct_testitems.length>0){ for(let i=0;i0){ this.selectWpr = this.selectWprList; } - console.log('this.selectWpr',this.selectWpr); this.setVisible=true; }, //扫描物料将这一行放到第一行并编辑这一行 @@ -847,12 +858,13 @@ export default { that.wprInputText = ""; that.mlogbwlist.unshift(obj); that.$nextTick(() => { - that.$refs.mlogbwTable.setCurrentRows(obj); // 选中第一行 + that.selectedindexes.push(obj.id); + that.selectWprList.push(item); }) let getEd = false; if(that.qct_testitems.length>0){ for(let i=0;i { - console.log(err); this.$notify.error({ title: '获取数据失败', message: err.data @@ -919,6 +930,9 @@ export default { that.$refs.dialogForm.validate((valid) => { if (valid) { that.selectWpr.forEach(item => { + if(!item.ftest){ + item.ftest = {}; + } item.ftest.ftestdefects = []; if(that.defectlists.length>0){ that.defectlists.forEach((item1) => { @@ -928,18 +942,12 @@ export default { item.ftest.ftestdefects.push(obj); }) } - - // item.ftest.ftestdefects.forEach(defect => { - // let defectindex = that.setForm.defectids.indexOf(defect.defect); - // if(defectindex > -1){ - // defect.has = that.defectlists[defectindex].value; - // } - // }) }); that.$API.wpm.mlogbw.update.req("bulk",that.selectWpr).then((res) => { that.setVisible = false; + that.selectedAll = false; that.selectWprList = []; - that.$refs.mlogbwTable.clearSelection(); + that.selectedindexes = []; that.defectlists.forEach(item => { item.value = false; }); From 4f2162d4964235461140124b9754c7b6b53e835a Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 2 Dec 2025 11:06:29 +0800 Subject: [PATCH 06/10] =?UTF-8?q?fix:mioitem=E7=BB=9F=E8=AE=A1=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inm/mioitem.vue | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/src/views/inm/mioitem.vue b/src/views/inm/mioitem.vue index 23c6035b..fd907c3c 100644 --- a/src/views/inm/mioitem.vue +++ b/src/views/inm/mioitem.vue @@ -113,21 +113,6 @@ - - - @@ -655,8 +640,10 @@ export default { //尺寸检验 if(index == 6){ propert = 'count'; - }else if(index == 7){ + }else if(index == 7&&this.mioObj.type == 'sale_out'&&this.project_code=='gx'){ propert = 'count_send'; + }else if((index == 7||index == 8)&&column.label=='不合格数量'){ + propert = 'count_notok'; } if (propert!=='') { const values = data.map((item) => @@ -674,7 +661,7 @@ export default { }, 0); } } - if(index==8){ + if(index==8&&this.mioObj.type == 'sale_out'&&this.project_code=='gx'){ if(sums[6]){ if(sums[7]){ sums[index] = sums[6]-sums[7]; From 5f57220a71ca839fac95978ecb4a82ff45431e60 Mon Sep 17 00:00:00 2001 From: TianyangZhang Date: Tue, 2 Dec 2025 14:48:02 +0800 Subject: [PATCH 07/10] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9tkx=20precen=20&?= =?UTF-8?q?&=20consume=5Fprecen=20=E5=AD=98=E5=9C=A8=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/enm_coal/report.vue | 80 ++++++------- src/views/enm_kiln/report.vue | 128 ++++++++++----------- src/views/enm_mill/report.vue | 97 ++++++++-------- src/views/enm_rm/report.vue | 188 +++++++++++++++---------------- src/views/enm_rm_copy/report.vue | 88 +++++++-------- src/views/enm_slag/report.vue | 168 +++++++++++++-------------- 6 files changed, 377 insertions(+), 372 deletions(-) diff --git a/src/views/enm_coal/report.vue b/src/views/enm_coal/report.vue index ee900071..e1a73a3e 100644 --- a/src/views/enm_coal/report.vue +++ b/src/views/enm_coal/report.vue @@ -656,22 +656,6 @@ export default { }; }, mounted() { - function precen(a, b) { - if (b !== 0 && b !== null && a !== null) { - let precen = (a / b)* 100; - return precen.toFixed(2) + "%"; - } else { - return "/"; - } - } - function consume_precen(a, b) { - if (b !== 0 && b !== null && a !== null) { - let precen = ((a / b)+1)* 100; - return precen.toFixed(2) + "%"; - } else { - return "/"; - } - } let that = this; var myDate = new Date(); let year = (that.year = myDate.getFullYear()); @@ -809,32 +793,32 @@ export default { if (res1.length > 0) { let data1 = res1[0]; that.tableDatas[0][5] = data1.total_production; - that.tableDatas[0][9] = precen( + that.tableDatas[0][9] = this.precen( that.tableDatas[0][5], that.tableDatas[0][8] ); that.tableDatas[1][5] = data1.production_hour; - that.tableDatas[1][9] = precen( + that.tableDatas[1][9] = this.precen( that.tableDatas[1][5], that.tableDatas[1][8] ); that.tableDatas[2][5] = data1.run_hour; - that.tableDatas[2][9] = precen( + that.tableDatas[2][9] = this.precen( that.tableDatas[2][5], that.tableDatas[2][8] ); that.tableDatas[3][5] = data1.run_rate; - that.tableDatas[3][9] = precen( + that.tableDatas[3][9] = this.precen( that.tableDatas[3][5], that.tableDatas[3][8] ); that.tableDatas[4][5] = data1.elec_consume_unit; - that.tableDatas[4][9] = consume_precen( + that.tableDatas[4][9] = this.consume_precen( that.tableDatas[4][8] - that.tableDatas[4][5], that.tableDatas[4][8] ); that.tableDatas[5][5] = data1.elec_consume; - that.tableDatas[5][9] = consume_precen( + that.tableDatas[5][9] = this.consume_precen( (that.tableDatas[5][8]-that.tableDatas[5][5]), that.tableDatas[5][8] ); @@ -852,32 +836,32 @@ export default { if (res2.length > 0) { let data2 = res2[0]; that.tableDatas[0][4] = data2.total_production; - that.tableDatas[0][7] = precen( + that.tableDatas[0][7] = this.precen( that.tableDatas[0][4], that.tableDatas[0][6] ); that.tableDatas[1][4] = data2.production_hour; - that.tableDatas[1][7] = precen( + that.tableDatas[1][7] = this.precen( that.tableDatas[1][4], that.tableDatas[1][6] ); that.tableDatas[2][4] = data2.run_hour; - that.tableDatas[2][7] = precen( + that.tableDatas[2][7] = this.precen( that.tableDatas[2][4], that.tableDatas[2][6] ); that.tableDatas[3][4] = data2.run_rate; - that.tableDatas[3][7] = precen( + that.tableDatas[3][7] = this.precen( that.tableDatas[3][4], that.tableDatas[3][6] ); that.tableDatas[4][4] = data2.elec_consume_unit; - that.tableDatas[4][7] = consume_precen( + that.tableDatas[4][7] = this.consume_precen( (that.tableDatas[4][6]-that.tableDatas[4][4]), that.tableDatas[4][6] ); that.tableDatas[5][4] = data2.elec_consume; - that.tableDatas[5][7] = consume_precen( + that.tableDatas[5][7] = this.consume_precen( (that.tableDatas[5][6]-that.tableDatas[5][4]), that.tableDatas[5][6] ); @@ -891,6 +875,22 @@ export default { }); }, methods: { + precen(a, b) { + if (b !== 0 && b !== null && a !== null) { + let precen = (a / b)* 100; + return precen.toFixed(2) + "%"; + } else { + return "/"; + } + }, + consume_precen(a, b) { + if (b !== 0 && b !== null && a !== null) { + let precen = ((a / b)+1)* 100; + return precen.toFixed(2) + "%"; + } else { + return "/"; + } + }, typeRadioChange() { this.searchDate = ""; }, @@ -970,32 +970,32 @@ export default { if (res2.length > 0) { let data2 = res2[0]; that.tableDatas[0][4] = data2.total_production; - that.tableDatas[0][7] = precen( + that.tableDatas[0][7] = this.precen( that.tableDatas[0][4], that.tableDatas[0][6] ); that.tableDatas[1][4] = data2.production_hour; - that.tableDatas[1][7] = precen( + that.tableDatas[1][7] = this.precen( that.tableDatas[1][4], that.tableDatas[1][6] ); that.tableDatas[2][4] = data2.run_hour; - that.tableDatas[2][7] = precen( + that.tableDatas[2][7] = this.precen( that.tableDatas[2][4], that.tableDatas[2][6] ); that.tableDatas[3][4] = data2.run_rate; - that.tableDatas[3][7] = precen( + that.tableDatas[3][7] = this.precen( that.tableDatas[3][4], that.tableDatas[3][6] ); that.tableDatas[4][4] = data2.elec_consume_unit; - that.tableDatas[4][7] = consume_precen( + that.tableDatas[4][7] = this.consume_precen( (that.tableDatas[4][6]-that.tableDatas[4][4]), that.tableDatas[4][6] ); that.tableDatas[5][4] = data2.elec_consume; - that.tableDatas[5][7] = consume_precen( + that.tableDatas[5][7] = this.consume_precen( (that.tableDatas[5][6]-that.tableDatas[5][4]), that.tableDatas[5][6] ); @@ -1013,32 +1013,32 @@ export default { if (res1.length > 0) { let data1 = res1[0]; that.tableDatas[0][5] = data1.total_production; - that.tableDatas[0][9] = precen( + that.tableDatas[0][9] = this.precen( that.tableDatas[0][5], that.tableDatas[0][8] ); that.tableDatas[1][5] = data1.production_hour; - that.tableDatas[1][9] = precen( + that.tableDatas[1][9] = this.precen( that.tableDatas[1][5], that.tableDatas[1][8] ); that.tableDatas[2][5] = data1.run_hour; - that.tableDatas[2][9] = precen( + that.tableDatas[2][9] = this.precen( that.tableDatas[2][5], that.tableDatas[2][8] ); that.tableDatas[3][5] = data1.run_rate; - that.tableDatas[3][9] = precen( + that.tableDatas[3][9] = this.precen( that.tableDatas[3][5], that.tableDatas[3][8] ); that.tableDatas[4][5] = data1.elec_consume_unit; - that.tableDatas[4][9] = consume_precen( + that.tableDatas[4][9] = this.consume_precen( that.tableDatas[4][8] - that.tableDatas[4][5], that.tableDatas[4][8] ); that.tableDatas[5][5] = data1.elec_consume; - that.tableDatas[5][9] = consume_precen( + that.tableDatas[5][9] = this.consume_precen( (that.tableDatas[5][8]-that.tableDatas[5][5]), that.tableDatas[5][8] ); diff --git a/src/views/enm_kiln/report.vue b/src/views/enm_kiln/report.vue index 5acf11eb..9a271636 100644 --- a/src/views/enm_kiln/report.vue +++ b/src/views/enm_kiln/report.vue @@ -896,22 +896,6 @@ export default { }; }, mounted() { - function precen(a, b) { - if (b !== 0 && b !== null && a !== null) { - let precen = (a / b) * 100; - return precen.toFixed(2) + "%"; - } else { - return "/"; - } - } - function consume_precen(a, b) { - if (b !== 0 && b !== null && a !== null) { - let precen = ((a / b)+1)* 100; - return precen.toFixed(2) + "%"; - } else { - return "/"; - } - } let that = this; var myDate = new Date(); let year = (that.year = myDate.getFullYear()); @@ -1096,64 +1080,64 @@ export default { if (res1.length > 0) { let data1 = res1[0]; that.tableDatas[0][5] = data1.total_production; - that.tableDatas[0][9] = precen( + that.tableDatas[0][9] = this.precen( that.tableDatas[0][5], that.tableDatas[0][8] ); that.tableDatas[1][5] = data1.production_hour; - that.tableDatas[1][9] = precen( + that.tableDatas[1][9] = this.precen( that.tableDatas[1][5], that.tableDatas[1][8] ); that.tableDatas[2][5] = data1.run_hour; - that.tableDatas[2][9] = precen( + that.tableDatas[2][9] = this.precen( that.tableDatas[2][5], that.tableDatas[2][8] ); that.tableDatas[3][5] = data1.run_rate; - that.tableDatas[3][9] = precen( + that.tableDatas[3][9] = this.precen( that.tableDatas[3][5], that.tableDatas[3][8] ); that.tableDatas[4][5] = data1.elec_consume_unit; - that.tableDatas[4][9] = consume_precen( + that.tableDatas[4][9] = this.consume_precen( (that.tableDatas[4][8]-that.tableDatas[4][5]), that.tableDatas[4][8] ); that.tableDatas[5][5] = data1.celec_consume_unit; - that.tableDatas[5][9] = consume_precen( + that.tableDatas[5][9] = this.consume_precen( (that.tableDatas[5][8]-that.tableDatas[5][5]), that.tableDatas[5][8] ); that.tableDatas[6][5] = data1.coal_consume_unit; - that.tableDatas[6][9] = consume_precen( + that.tableDatas[6][9] = this.consume_precen( (that.tableDatas[6][8]-that.tableDatas[6][5]), that.tableDatas[6][8] ); that.tableDatas[7][5] = data1.cen_consume_unit; - that.tableDatas[7][9] = consume_precen( + that.tableDatas[7][9] = this.consume_precen( (that.tableDatas[7][8]-that.tableDatas[7][5]), that.tableDatas[7][8] ); that.tableDatas[8][5] = data1.elec_consume; - that.tableDatas[8][9] = consume_precen( + that.tableDatas[8][9] = this.consume_precen( (that.tableDatas[8][8]-that.tableDatas[8][5]), that.tableDatas[8][8] ); that.tableDatas[9][5] = data1.production_cost_unit; - that.tableDatas[9][9] = consume_precen( + that.tableDatas[9][9] = this.consume_precen( (that.tableDatas[9][8]-that.tableDatas[9][5]), that.tableDatas[9][8] ); that.tableDatas[10][5] = data1.ammonia_consume; - that.tableDatas[10][9] = consume_precen( + that.tableDatas[10][9] = this.consume_precen( that.tableDatas[10][8] - that.tableDatas[10][5], that.tableDatas[10][8] ); that.tableDatas[11][5] = (data1.ammonia_consume*1000/data1.total_production).toFixed(2); - that.tableDatas[11][9] = consume_precen( + that.tableDatas[11][9] = this.consume_precen( that.tableDatas[11][8] - that.tableDatas[11][5], that.tableDatas[11][8] ); @@ -1171,64 +1155,64 @@ export default { if (res2.length > 0) { let data2 = res2[0]; that.tableDatas[0][4] = data2.total_production; - that.tableDatas[0][7] = precen( + that.tableDatas[0][7] = this.precen( that.tableDatas[0][4], that.tableDatas[0][6] ); that.tableDatas[1][4] = data2.production_hour; - that.tableDatas[1][7] = precen( + that.tableDatas[1][7] = this.precen( that.tableDatas[1][4], that.tableDatas[1][6] ); that.tableDatas[2][4] = data2.run_hour; - that.tableDatas[2][7] = precen( + that.tableDatas[2][7] = this.precen( that.tableDatas[2][4], that.tableDatas[2][6] ); that.tableDatas[3][4] = data2.run_rate; - that.tableDatas[3][7] = precen( + that.tableDatas[3][7] = this.precen( that.tableDatas[3][4], that.tableDatas[3][6] ); that.tableDatas[4][4] = data2.elec_consume_unit; - that.tableDatas[4][7] = consume_precen( + that.tableDatas[4][7] = this.consume_precen( that.tableDatas[4][6] - that.tableDatas[4][4], that.tableDatas[4][6] ); that.tableDatas[5][4] = data2.celec_consume_unit; - that.tableDatas[5][7] = consume_precen( + that.tableDatas[5][7] = this.consume_precen( that.tableDatas[5][6] - that.tableDatas[5][4], that.tableDatas[5][6] ); that.tableDatas[6][4] = data2.coal_consume_unit; - that.tableDatas[6][7] = consume_precen( + that.tableDatas[6][7] = this.consume_precen( that.tableDatas[6][6]-that.tableDatas[6][4], that.tableDatas[6][6] ); that.tableDatas[7][4] = data2.cen_consume_unit; - that.tableDatas[7][7] = consume_precen( + that.tableDatas[7][7] = this.consume_precen( that.tableDatas[7][6]-that.tableDatas[7][4], that.tableDatas[7][6] ); that.tableDatas[8][4] = data2.elec_consume; - that.tableDatas[8][7] = consume_precen( + that.tableDatas[8][7] = this.consume_precen( that.tableDatas[8][6]-that.tableDatas[8][4], that.tableDatas[8][6] ); that.tableDatas[9][4] = data2.production_cost_unit; - that.tableDatas[9][7] = consume_precen( + that.tableDatas[9][7] = this.consume_precen( that.tableDatas[9][6]-that.tableDatas[9][4], that.tableDatas[9][6] ); that.tableDatas[10][4] = data2.ammonia_consume; - that.tableDatas[10][7] = consume_precen( + that.tableDatas[10][7] = this.consume_precen( that.tableDatas[10][6] - that.tableDatas[10][4], that.tableDatas[10][6] ) that.tableDatas[11][4] = (data2.ammonia_consume*1000/data2.total_production).toFixed(2); - that.tableDatas[11][7] = consume_precen( + that.tableDatas[11][7] = this.consume_precen( that.tableDatas[11][6] - that.tableDatas[11][4], that.tableDatas[11][6] ) @@ -1241,6 +1225,22 @@ export default { }); }, methods: { + precen(a, b) { + if (b !== 0 && b !== null && a !== null) { + let precen = (a / b) * 100; + return precen.toFixed(2) + "%"; + } else { + return "/"; + } + }, + consume_precen(a, b) { + if (b !== 0 && b !== null && a !== null) { + let precen = ((a / b)+1)* 100; + return precen.toFixed(2) + "%"; + } else { + return "/"; + } + }, typeRadioChange() { this.searchDate = ""; }, @@ -1327,64 +1327,64 @@ export default { if (res2.length > 0) { let data2 = res2[0]; that.tableDatas[0][4] = data2.total_production; - that.tableDatas[0][7] = precen( + that.tableDatas[0][7] = this.precen( that.tableDatas[0][4], that.tableDatas[0][6] ); that.tableDatas[1][4] = data2.production_hour; - that.tableDatas[1][7] = precen( + that.tableDatas[1][7] = this.precen( that.tableDatas[1][4], that.tableDatas[1][6] ); that.tableDatas[2][4] = data2.run_hour; - that.tableDatas[2][7] = precen( + that.tableDatas[2][7] = this.precen( that.tableDatas[2][4], that.tableDatas[2][6] ); that.tableDatas[3][4] = data2.run_rate; - that.tableDatas[3][7] = precen( + that.tableDatas[3][7] = this.precen( that.tableDatas[3][4], that.tableDatas[3][6] ); that.tableDatas[4][4] = data2.elec_consume_unit; - that.tableDatas[4][7] = consume_precen( + that.tableDatas[4][7] = this.consume_precen( that.tableDatas[4][6] - that.tableDatas[4][4], that.tableDatas[4][6] ); that.tableDatas[5][4] = data2.celec_consume_unit; - that.tableDatas[5][7] = consume_precen( + that.tableDatas[5][7] = this.consume_precen( that.tableDatas[5][6] - that.tableDatas[5][4], that.tableDatas[5][6] ); that.tableDatas[6][4] = data2.coal_consume_unit; - that.tableDatas[6][7] = consume_precen( + that.tableDatas[6][7] = this.consume_precen( that.tableDatas[6][6]-that.tableDatas[6][4], that.tableDatas[6][6] ); that.tableDatas[7][4] = data2.cen_consume_unit; - that.tableDatas[7][7] = consume_precen( + that.tableDatas[7][7] = this.consume_precen( that.tableDatas[7][6]-that.tableDatas[7][4], that.tableDatas[7][6] ); that.tableDatas[8][4] = data2.elec_consume; - that.tableDatas[8][7] = consume_precen( + that.tableDatas[8][7] = this.consume_precen( that.tableDatas[8][6]-that.tableDatas[8][4], that.tableDatas[8][6] ); that.tableDatas[9][4] = data2.production_cost_unit; - that.tableDatas[9][7] = consume_precen( + that.tableDatas[9][7] = this.consume_precen( that.tableDatas[9][6]-that.tableDatas[9][4], that.tableDatas[9][6] ); that.tableDatas[10][4] = data2.ammonia_consume; - that.tableDatas[10][7] = consume_precen( + that.tableDatas[10][7] = this.consume_precen( that.tableDatas[10][6] - that.tableDatas[10][4], that.tableDatas[10][6] ) that.tableDatas[11][4] = (data2.ammonia_consume*1000/data2.total_production).toFixed(2); - that.tableDatas[11][7] = consume_precen( + that.tableDatas[11][7] = this.consume_precen( that.tableDatas[11][6] - that.tableDatas[11][4], that.tableDatas[11][6] ) @@ -1402,64 +1402,64 @@ export default { if (res1.length > 0) { let data1 = res1[0]; that.tableDatas[0][5] = data1.total_production; - that.tableDatas[0][9] = precen( + that.tableDatas[0][9] = this.precen( that.tableDatas[0][5], that.tableDatas[0][8] ); that.tableDatas[1][5] = data1.production_hour; - that.tableDatas[1][9] = precen( + that.tableDatas[1][9] = this.precen( that.tableDatas[1][5], that.tableDatas[1][8] ); that.tableDatas[2][5] = data1.run_hour; - that.tableDatas[2][9] = precen( + that.tableDatas[2][9] = this.precen( that.tableDatas[2][5], that.tableDatas[2][8] ); that.tableDatas[3][5] = data1.run_rate; - that.tableDatas[3][9] = precen( + that.tableDatas[3][9] = this.precen( that.tableDatas[3][5], that.tableDatas[3][8] ); that.tableDatas[4][5] = data1.elec_consume_unit; - that.tableDatas[4][9] = consume_precen( + that.tableDatas[4][9] = this.consume_precen( (that.tableDatas[4][8]-that.tableDatas[4][5]), that.tableDatas[4][8] ); that.tableDatas[5][5] = data1.celec_consume_unit; - that.tableDatas[5][9] = consume_precen( + that.tableDatas[5][9] = this.consume_precen( (that.tableDatas[5][8]-that.tableDatas[5][5]), that.tableDatas[5][8] ); that.tableDatas[6][5] = data1.coal_consume_unit; - that.tableDatas[6][9] = consume_precen( + that.tableDatas[6][9] = this.consume_precen( (that.tableDatas[6][8]-that.tableDatas[6][5]), that.tableDatas[6][8] ); that.tableDatas[7][5] = data1.cen_consume_unit; - that.tableDatas[7][9] = consume_precen( + that.tableDatas[7][9] = this.consume_precen( (that.tableDatas[7][8]-that.tableDatas[7][5]), that.tableDatas[7][8] ); that.tableDatas[8][5] = data1.elec_consume; - that.tableDatas[8][9] = consume_precen( + that.tableDatas[8][9] = this.consume_precen( (that.tableDatas[8][8]-that.tableDatas[8][5]), that.tableDatas[8][8] ); that.tableDatas[9][5] = data1.production_cost_unit; - that.tableDatas[9][9] = consume_precen( + that.tableDatas[9][9] = this.consume_precen( (that.tableDatas[9][8]-that.tableDatas[9][5]), that.tableDatas[9][8] ); that.tableDatas[10][5] = data1.ammonia_consume; - that.tableDatas[10][9] = consume_precen( + that.tableDatas[10][9] = this.consume_precen( that.tableDatas[10][8] - that.tableDatas[10][5], that.tableDatas[10][8] ); that.tableDatas[11][5] = (data1.ammonia_consume*1000/data1.total_production).toFixed(2); - that.tableDatas[11][9] = consume_precen( + that.tableDatas[11][9] = this.consume_precen( that.tableDatas[11][8] - that.tableDatas[11][5], that.tableDatas[11][8] ); diff --git a/src/views/enm_mill/report.vue b/src/views/enm_mill/report.vue index 3f491e56..2daad1c7 100644 --- a/src/views/enm_mill/report.vue +++ b/src/views/enm_mill/report.vue @@ -807,22 +807,7 @@ export default { }; }, mounted() { - function precen(a, b) { - if (b !== 0 && b !== null && a !== null) { - let precen = (a / b) * 100; - return precen.toFixed(2) + "%"; - } else { - return 0; - } - } - function consume_precen(a, b) { - if (b !== 0 && b !== null && a !== null) { - let precen = ((a / b)+1)* 100; - return precen.toFixed(2) + "%"; - } else { - return 0; - } - } + let that = this; var myDate = new Date(); let year = (that.year = myDate.getFullYear()); @@ -982,43 +967,43 @@ export default { if (res1.length > 0) { let data1 = res1[0]; that.tableDatas[0][5] = data1.total_production; - that.tableDatas[0][9] = precen( + that.tableDatas[0][9] = this.precen( that.tableDatas[0][5], that.tableDatas[0][8] ); that.tableDatas[1][5] = data1.production_hour; - that.tableDatas[1][9] = precen( + that.tableDatas[1][9] = this.precen( that.tableDatas[1][5], that.tableDatas[1][8] ); that.tableDatas[2][5] = data1.run_hour; - that.tableDatas[2][9] = precen( + that.tableDatas[2][9] = this.precen( that.tableDatas[2][5], that.tableDatas[2][8] ); that.tableDatas[3][5] = data1.run_rate; - that.tableDatas[3][9] = precen( + that.tableDatas[3][9] = this.precen( that.tableDatas[3][5], that.tableDatas[3][8] ); that.tableDatas[4][5] = data1.elec_consume_unit; - that.tableDatas[4][9] = consume_precen( + that.tableDatas[4][9] = this.consume_precen( that.tableDatas[4][8]-that.tableDatas[4][5], that.tableDatas[4][8] ); that.tableDatas[5][5] = data1.cen_consume_unit; - that.tableDatas[5][9] = consume_precen( + that.tableDatas[5][9] = this.consume_precen( that.tableDatas[5][8]-that.tableDatas[5][5], that.tableDatas[5][8] ); that.tableDatas[6][5] = data1.elec_consume; - that.tableDatas[6][9] = consume_precen( + that.tableDatas[6][9] = this.consume_precen( that.tableDatas[6][8]-that.tableDatas[6][5], that.tableDatas[6][8] ); that.tableDatas[7][5] = data1.production_cost_unit; - that.tableDatas[7][9] = consume_precen( + that.tableDatas[7][9] = this.consume_precen( that.tableDatas[7][8]-that.tableDatas[7][5], that.tableDatas[7][8] ); @@ -1036,43 +1021,43 @@ export default { if (res2.length > 0) { let data2 = res2[0]; that.tableDatas[0][4] = data2.total_production; - that.tableDatas[0][7] = precen( + that.tableDatas[0][7] = this.precen( that.tableDatas[0][4], that.tableDatas[0][6] ); that.tableDatas[1][4] = data2.production_hour; - that.tableDatas[1][7] = precen( + that.tableDatas[1][7] = this.precen( that.tableDatas[1][4], that.tableDatas[1][6] ); that.tableDatas[2][4] = data2.run_hour; - that.tableDatas[2][7] = precen( + that.tableDatas[2][7] = this.precen( that.tableDatas[2][4], that.tableDatas[2][6] ); that.tableDatas[3][4] = data2.run_rate; - that.tableDatas[3][7] = precen( + that.tableDatas[3][7] = this.precen( that.tableDatas[3][4], that.tableDatas[3][6] ); that.tableDatas[4][4] = data2.elec_consume_unit; - that.tableDatas[4][7] = consume_precen( + that.tableDatas[4][7] = this.consume_precen( that.tableDatas[4][6]-that.tableDatas[4][4], that.tableDatas[4][6] ); that.tableDatas[5][4] = data2.cen_consume_unit; - that.tableDatas[5][7] = consume_precen( + that.tableDatas[5][7] = this.consume_precen( that.tableDatas[5][6]-that.tableDatas[5][4], that.tableDatas[5][6] ); that.tableDatas[7][4] = data2.production_cost_unit; that.tableDatas[6][4] = data2.elec_consume; - that.tableDatas[6][7] = consume_precen( + that.tableDatas[6][7] = this.consume_precen( that.tableDatas[6][6]-that.tableDatas[6][4], that.tableDatas[6][6] ); - that.tableDatas[7][7] = consume_precen( + that.tableDatas[7][7] = this.consume_precen( that.tableDatas[7][6]-that.tableDatas[7][4], that.tableDatas[7][6] ); @@ -1085,6 +1070,22 @@ export default { }); }, methods: { + precen(a, b) { + if (b !== 0 && b !== null && a !== null) { + let precen = (a / b) * 100; + return precen.toFixed(2) + "%"; + } else { + return 0; + } + }, + consume_precen(a, b) { + if (b !== 0 && b !== null && a !== null) { + let precen = ((a / b)+1)* 100; + return precen.toFixed(2) + "%"; + } else { + return 0; + } + }, typeRadioChange() { this.searchDate = ""; }, @@ -1165,43 +1166,43 @@ export default { if (res2.length > 0) { let data2 = res2[0]; that.tableDatas[0][4] = data2.total_production; - that.tableDatas[0][7] = precen( + that.tableDatas[0][7] = this.precen( that.tableDatas[0][4], that.tableDatas[0][6] ); that.tableDatas[1][4] = data2.production_hour; - that.tableDatas[1][7] = precen( + that.tableDatas[1][7] = this.precen( that.tableDatas[1][4], that.tableDatas[1][6] ); that.tableDatas[2][4] = data2.run_hour; - that.tableDatas[2][7] = precen( + that.tableDatas[2][7] = this.precen( that.tableDatas[2][4], that.tableDatas[2][6] ); that.tableDatas[3][4] = data2.run_rate; - that.tableDatas[3][7] = precen( + that.tableDatas[3][7] = this.precen( that.tableDatas[3][4], that.tableDatas[3][6] ); that.tableDatas[4][4] = data2.elec_consume_unit; - that.tableDatas[4][7] = consume_precen( + that.tableDatas[4][7] = this.consume_precen( that.tableDatas[4][6]-that.tableDatas[4][4], that.tableDatas[4][6] ); that.tableDatas[5][4] = data2.cen_consume_unit; - that.tableDatas[5][7] = consume_precen( + that.tableDatas[5][7] = this.consume_precen( that.tableDatas[5][6]-that.tableDatas[5][4], that.tableDatas[5][6] ); that.tableDatas[7][4] = data2.production_cost_unit; that.tableDatas[6][4] = data2.elec_consume; - that.tableDatas[6][7] = consume_precen( + that.tableDatas[6][7] = this.consume_precen( that.tableDatas[6][6]-that.tableDatas[6][4], that.tableDatas[6][6] ); - that.tableDatas[7][7] = consume_precen( + that.tableDatas[7][7] = this.consume_precen( that.tableDatas[7][6]-that.tableDatas[7][4], that.tableDatas[7][6] ); @@ -1219,43 +1220,43 @@ export default { if (res1.length > 0) { let data1 = res1[0]; that.tableDatas[0][5] = data1.total_production; - that.tableDatas[0][9] = precen( + that.tableDatas[0][9] = this.precen( that.tableDatas[0][5], that.tableDatas[0][8] ); that.tableDatas[1][5] = data1.production_hour; - that.tableDatas[1][9] = precen( + that.tableDatas[1][9] = this.precen( that.tableDatas[1][5], that.tableDatas[1][8] ); that.tableDatas[2][5] = data1.run_hour; - that.tableDatas[2][9] = precen( + that.tableDatas[2][9] = this.precen( that.tableDatas[2][5], that.tableDatas[2][8] ); that.tableDatas[3][5] = data1.run_rate; - that.tableDatas[3][9] = precen( + that.tableDatas[3][9] = this.precen( that.tableDatas[3][5], that.tableDatas[3][8] ); that.tableDatas[4][5] = data1.elec_consume_unit; - that.tableDatas[4][9] = consume_precen( + that.tableDatas[4][9] = this.consume_precen( that.tableDatas[4][8]-that.tableDatas[4][5], that.tableDatas[4][8] ); that.tableDatas[5][5] = data1.cen_consume_unit; - that.tableDatas[5][9] = consume_precen( + that.tableDatas[5][9] = this.consume_precen( that.tableDatas[5][8]-that.tableDatas[5][5], that.tableDatas[5][8] ); that.tableDatas[6][5] = data1.elec_consume; - that.tableDatas[6][9] = consume_precen( + that.tableDatas[6][9] = this.consume_precen( that.tableDatas[6][8]-that.tableDatas[6][5], that.tableDatas[6][8] ); that.tableDatas[7][5] = data1.production_cost_unit; - that.tableDatas[7][9] = consume_precen( + that.tableDatas[7][9] = this.consume_precen( that.tableDatas[7][8]-that.tableDatas[7][5], that.tableDatas[7][8] ); diff --git a/src/views/enm_rm/report.vue b/src/views/enm_rm/report.vue index 1cdddfc0..f23b9b01 100644 --- a/src/views/enm_rm/report.vue +++ b/src/views/enm_rm/report.vue @@ -920,22 +920,6 @@ export default { }, mounted() { - function precen(a, b) { - if (b !== 0 && b !== null && a !== null) { - let precen = (a / b)* 100; - return precen.toFixed(2) + "%"; - } else { - return "/"; - } - } - function consume_precen(a, b) { - if (b !== 0 && b !== null && a !== null) { - let precen = ((a / b)+1)* 100; - return precen.toFixed(2) + "%"; - } else { - return "/"; - } - } let that = this; this.$nextTick(() => { var myDate = new Date(); @@ -1081,34 +1065,34 @@ export default { let data1 = res1[0]; that.tableDatas[0][5] = data1.total_production; - that.tableDatas[0][9] = precen( + that.tableDatas[0][9] = this.precen( that.tableDatas[0][5], that.tableDatas[0][8] ); that.tableDatas[1][5] = data1.production_hour; - that.tableDatas[1][9] = precen( + that.tableDatas[1][9] = this.precen( that.tableDatas[1][5], that.tableDatas[1][8] ); that.tableDatas[2][5] = data1.run_hour; - that.tableDatas[2][9] = precen( + that.tableDatas[2][9] = this.precen( that.tableDatas[2][5], that.tableDatas[2][8] ); that.tableDatas[3][5] = data1.run_rate; - that.tableDatas[3][9] = precen( + that.tableDatas[3][9] = this.precen( that.tableDatas[3][5], that.tableDatas[3][8] ); that.tableDatas[4][5] = data1.elec_consume_unit; - that.tableDatas[4][9] = consume_precen( + that.tableDatas[4][9] = this.consume_precen( (that.tableDatas[4][8]-that.tableDatas[4][5]), that.tableDatas[4][8] ); that.tableDatas[5][5] = data1.elec_consume; - that.tableDatas[5][9] = consume_precen( + that.tableDatas[5][9] = this.consume_precen( (that.tableDatas[5][8] - that.tableDatas[5][5]), that.tableDatas[5][8] ); @@ -1134,34 +1118,34 @@ export default { ) { that.wraning = true; } - that.tableDatas[0][7] = precen( + that.tableDatas[0][7] = this.precen( that.tableDatas[0][4], that.tableDatas[0][6] ); that.tableDatas[1][4] = data2.production_hour; - that.tableDatas[1][7] = precen( + that.tableDatas[1][7] = this.precen( that.tableDatas[1][4], that.tableDatas[1][6] ); that.tableDatas[2][4] = data2.run_hour; - that.tableDatas[2][7] = precen( + that.tableDatas[2][7] = this.precen( that.tableDatas[2][4], that.tableDatas[2][6] ); that.tableDatas[3][4] = data2.run_rate; - that.tableDatas[3][7] = precen( + that.tableDatas[3][7] = this.precen( that.tableDatas[3][4], that.tableDatas[3][6] ); that.tableDatas[4][4] = data2.elec_consume_unit; - that.tableDatas[4][7] = consume_precen( + that.tableDatas[4][7] = this.consume_precen( (that.tableDatas[4][6]-that.tableDatas[4][4]), that.tableDatas[4][6] ); that.tableDatas[5][4] = data2.elec_consume; - that.tableDatas[5][7] = consume_precen( + that.tableDatas[5][7] = this.consume_precen( (that.tableDatas[5][6] - that.tableDatas[5][4]), that.tableDatas[5][6] ); @@ -1176,6 +1160,22 @@ export default { }); }, methods: { + precen(a, b) { + if (b !== 0 && b !== null && a !== null) { + let precen = (a / b)* 100; + return precen.toFixed(2) + "%"; + } else { + return "/"; + } + }, + consume_precen(a, b) { + if (b !== 0 && b !== null && a !== null) { + let precen = ((a / b)+1)* 100; + return precen.toFixed(2) + "%"; + } else { + return "/"; + } + }, typeRadioChange() { this.searchDate = ""; }, @@ -1222,30 +1222,30 @@ export default { params4.type = "day_s"; params4.mgroup = this.query.mgroup; this.$API.enm.enstat.req(params4).then((res4) => { - if (res4.length > 0) { - let data4 = res4[0]; - that.tableDatas[0][2] = data4.total_production; - if (data4.total_production < 1) { - that.tableDatas[1][2] = 0; - that.tableDatas[2][2] = 0; - that.tableDatas[3][2] = 0; - - }else{ - that.tableDatas[1][2] = data4.elec_consume_unit; - that.tableDatas[2][2] = data4.elec_consume; - that.tableDatas[3][2] = data4.production_cost_unit;} - - if (data4.imaterial_data.length > 0) { - data4.imaterial_data.forEach((item) => { - if (item.material_name == "湿电石渣消耗") { - that.tableDatas[4][2] = item.amount_consume; - }else if(item.material_name == "湿电石渣进厂"){ - that.tableDatas[5][2] = item.amount_consume; - } - }); + if (res4.length > 0) { + let data4 = res4[0]; + that.tableDatas[0][2] = data4.total_production; + if (data4.total_production < 1) { + that.tableDatas[1][2] = 0; + that.tableDatas[2][2] = 0; + that.tableDatas[3][2] = 0; + + }else{ + that.tableDatas[1][2] = data4.elec_consume_unit; + that.tableDatas[2][2] = data4.elec_consume; + that.tableDatas[3][2] = data4.production_cost_unit;} + + if (data4.imaterial_data.length > 0) { + data4.imaterial_data.forEach((item) => { + if (item.material_name == "湿电石渣消耗") { + that.tableDatas[4][2] = item.amount_consume; + }else if(item.material_name == "湿电石渣进厂"){ + that.tableDatas[5][2] = item.amount_consume; } + }); } - }); + } + }); }, get_months(year, month){ let that = this; @@ -1256,44 +1256,44 @@ export default { params2.type = "month_s"; params2.mgroup = this.query.mgroup; this.$API.enm.enstat.req(params2).then((res2) => { - if (res2.length > 0) { - let data2 = res2[0]; - that.tableDatas[0][4] = data2.total_production; - that.tableDatas[0][7] = precen( - that.tableDatas[0][4], - that.tableDatas[0][6] - ); - that.tableDatas[1][4] = data2.elec_consume_unit; - that.tableDatas[1][7] = consume_precen( - that.tableDatas[1][4], - that.tableDatas[1][6] - ); - that.tableDatas[2][4] = data2.elec_consume; - that.tableDatas[3][4] = - data2.production_cost_unit; - that.tableDatas[3][7] = consume_precen( - that.tableDatas[3][3], - that.tableDatas[3][6] - ); - that.tableDatas[2][7] = consume_precen( - that.tableDatas[2][4], - that.tableDatas[2][6] - ); - if (data2.imaterial_data.length > 0) { - data2.imaterial_data.forEach((item) => { - if (item.material_name == "湿电石渣消耗") { - that.tableDatas[4][4] = (item.amount_consume).toFixed(2); - that.tableDatas[4][7] = precen( - that.tableDatas[4][4], - that.tableDatas[4][6] - ); - }else if(item.material_name == "湿电石渣进厂"){ - that.tableDatas[5][4] = (item.amount_consume).toFixed(2); - that.tableDatas[5][7] = precen( - that.tableDatas[5][4], - that.tableDatas[5][6] - ); - } + if (res2.length > 0) { + let data2 = res2[0]; + that.tableDatas[0][4] = data2.total_production; + that.tableDatas[0][7] = this.precen( + that.tableDatas[0][4], + that.tableDatas[0][6] + ); + that.tableDatas[1][4] = data2.elec_consume_unit; + that.tableDatas[1][7] = this.consume_precen( + that.tableDatas[1][4], + that.tableDatas[1][6] + ); + that.tableDatas[2][4] = data2.elec_consume; + that.tableDatas[3][4] = + data2.production_cost_unit; + that.tableDatas[3][7] = this.consume_precen( + that.tableDatas[3][3], + that.tableDatas[3][6] + ); + that.tableDatas[2][7] = this.consume_precen( + that.tableDatas[2][4], + that.tableDatas[2][6] + ); + if (data2.imaterial_data.length > 0) { + data2.imaterial_data.forEach((item) => { + if (item.material_name == "湿电石渣消耗") { + that.tableDatas[4][4] = (item.amount_consume).toFixed(2); + that.tableDatas[4][7] = this.precen( + that.tableDatas[4][4], + that.tableDatas[4][6] + ); + }else if(item.material_name == "湿电石渣进厂"){ + that.tableDatas[5][4] = (item.amount_consume).toFixed(2); + that.tableDatas[5][7] = this.precen( + that.tableDatas[5][4], + that.tableDatas[5][6] + ); + } }); } } @@ -1357,23 +1357,23 @@ export default { if (res1.length > 0) { let data1 = res1[0]; that.tableDatas[0][5] = data1.total_production; - that.tableDatas[0][9] = precen( + that.tableDatas[0][9] = this.precen( that.tableDatas[0][5], that.tableDatas[0][8] ); that.tableDatas[1][5] = data1.elec_consume_unit; - that.tableDatas[1][9] = consume_precen( + that.tableDatas[1][9] = this.consume_precen( that.tableDatas[1][8]-that.tableDatas[1][5], that.tableDatas[1][8] ); that.tableDatas[2][5] = data1.elec_consume; - that.tableDatas[2][9] = consume_precen( + that.tableDatas[2][9] = this.consume_precen( that.tableDatas[2][8]-that.tableDatas[2][5], that.tableDatas[2][8] ); that.tableDatas[3][5] = data1.production_cost_unit; - that.tableDatas[3][9] = consume_precen( + that.tableDatas[3][9] = this.consume_precen( that.tableDatas[3][8]-that.tableDatas[3][5], that.tableDatas[3][8] ); @@ -1381,13 +1381,13 @@ export default { data1.imaterial_data.forEach((item) => { if (item.material_name == "湿电石渣消耗") { that.tableDatas[4][5] = (item.amount_consume).toFixed(2); - that.tableDatas[4][9] = precen( + that.tableDatas[4][9] = this.precen( that.tableDatas[4][5], that.tableDatas[4][8] ); }else if(item.material_name == "湿电石渣进厂"){ that.tableDatas[5][5] = (item.amount_consume).toFixed(2); - that.tableDatas[5][9] = precen( + that.tableDatas[5][9] = this.precen( that.tableDatas[5][5], that.tableDatas[5][8] ); diff --git a/src/views/enm_rm_copy/report.vue b/src/views/enm_rm_copy/report.vue index ee4390c6..c1577493 100644 --- a/src/views/enm_rm_copy/report.vue +++ b/src/views/enm_rm_copy/report.vue @@ -966,22 +966,6 @@ export default { }, mounted() { - function precen(a, b) { - if (b !== 0 && b !== null && a !== null) { - let precen = (a / b)* 100; - return precen.toFixed(2) + "%"; - } else { - return "/"; - } - } - function consume_precen(a, b) { - if (b !== 0 && b !== null && a !== null) { - let precen = ((a / b)+1)* 100; - return precen.toFixed(2) + "%"; - } else { - return "/"; - } - } let that = this; this.$nextTick(() => { var myDate = new Date(); @@ -1131,40 +1115,40 @@ export default { let data1 = res1[0]; that.tableDatas[0][5] = data1.total_production; - that.tableDatas[0][9] = precen( + that.tableDatas[0][9] = this.precen( that.tableDatas[0][5], that.tableDatas[0][8] ); that.tableDatas[1][5] = data1.production_hour; - that.tableDatas[1][9] = precen( + that.tableDatas[1][9] = this.precen( that.tableDatas[1][5], that.tableDatas[1][8] ); that.tableDatas[2][5] = data1.run_hour; - that.tableDatas[2][9] = precen( + that.tableDatas[2][9] = this.precen( that.tableDatas[2][5], that.tableDatas[2][8] ); that.tableDatas[3][5] = data1.run_rate; - that.tableDatas[3][9] = precen( + that.tableDatas[3][9] = this.precen( that.tableDatas[3][5], that.tableDatas[3][8] ); that.tableDatas[4][5] = data1.elec_consume_unit; - that.tableDatas[4][9] = consume_precen( + that.tableDatas[4][9] = this.consume_precen( (that.tableDatas[4][8] - that.tableDatas[4][5]), that.tableDatas[4][8] ); that.tableDatas[5][5] = data1.elec_consume; - that.tableDatas[5][9] = consume_precen( + that.tableDatas[5][9] = this.consume_precen( (that.tableDatas[5][8] - that.tableDatas[5][5]), that.tableDatas[5][8] ); that.tableDatas[6][5] = data1.production_cost_unit; - that.tableDatas[6][9] = consume_precen( + that.tableDatas[6][9] = this.consume_precen( (that.tableDatas[6][8] - that.tableDatas[6][5]), that.tableDatas[6][8] ); @@ -1189,40 +1173,40 @@ export default { ) { that.wraning = true; } - that.tableDatas[0][7] = precen( + that.tableDatas[0][7] = this.precen( that.tableDatas[0][4], that.tableDatas[0][6] ); that.tableDatas[1][4] = data2.production_hour; - that.tableDatas[1][7] = precen( + that.tableDatas[1][7] = this.precen( that.tableDatas[1][4], that.tableDatas[1][6] ); that.tableDatas[2][4] = data2.run_hour; - that.tableDatas[2][7] = precen( + that.tableDatas[2][7] = this.precen( that.tableDatas[2][4], that.tableDatas[2][6] ); that.tableDatas[3][4] = data2.run_rate; - that.tableDatas[3][7] = precen( + that.tableDatas[3][7] = this.precen( that.tableDatas[3][4], that.tableDatas[3][6] ); that.tableDatas[4][4] = data2.elec_consume_unit; - that.tableDatas[4][7] = consume_precen( + that.tableDatas[4][7] = this.consume_precen( (that.tableDatas[4][6]-that.tableDatas[4][4]), that.tableDatas[4][6] ); that.tableDatas[5][4] = data2.elec_consume; - that.tableDatas[5][7] = consume_precen( + that.tableDatas[5][7] = this.consume_precen( (that.tableDatas[5][6]-that.tableDatas[5][4]), that.tableDatas[5][6] ); that.tableDatas[6][4] = data2.production_cost_unit; - that.tableDatas[6][7] = consume_precen( + that.tableDatas[6][7] = this.consume_precen( (that.tableDatas[6][6] - that.tableDatas[6][4]), that.tableDatas[6][6] ); @@ -1236,6 +1220,22 @@ export default { }); }, methods: { + precen(a, b) { + if (b !== 0 && b !== null && a !== null) { + let precen = (a / b)* 100; + return precen.toFixed(2) + "%"; + } else { + return "/"; + } + }, + consume_precen(a, b) { + if (b !== 0 && b !== null && a !== null) { + let precen = ((a / b)+1)* 100; + return precen.toFixed(2) + "%"; + } else { + return "/"; + } + }, typeRadioChange() { this.searchDate = ""; }, @@ -1318,40 +1318,40 @@ export default { ) { that.wraning = true; } - that.tableDatas[0][7] = precen( + that.tableDatas[0][7] = this.precen( that.tableDatas[0][4], that.tableDatas[0][6] ); that.tableDatas[1][4] = data2.production_hour; - that.tableDatas[1][7] = precen( + that.tableDatas[1][7] = this.precen( that.tableDatas[1][4], that.tableDatas[1][6] ); that.tableDatas[2][4] = data2.run_hour; - that.tableDatas[2][7] = precen( + that.tableDatas[2][7] = this.precen( that.tableDatas[2][4], that.tableDatas[2][6] ); that.tableDatas[3][4] = data2.run_rate; - that.tableDatas[3][7] = precen( + that.tableDatas[3][7] = this.precen( that.tableDatas[3][4], that.tableDatas[3][6] ); that.tableDatas[4][4] = data2.elec_consume_unit; - that.tableDatas[4][7] = consume_precen( + that.tableDatas[4][7] = this.consume_precen( (that.tableDatas[4][6]-that.tableDatas[4][4]), that.tableDatas[4][6] ); that.tableDatas[5][4] = data2.elec_consume; - that.tableDatas[5][7] = consume_precen( + that.tableDatas[5][7] = this.consume_precen( (that.tableDatas[5][6]-that.tableDatas[5][4]), that.tableDatas[5][6] ); that.tableDatas[6][4] = data2.production_cost_unit; - that.tableDatas[6][7] = consume_precen( + that.tableDatas[6][7] = this.consume_precen( (that.tableDatas[6][6] - that.tableDatas[6][4]), that.tableDatas[6][6] ); @@ -1426,40 +1426,40 @@ export default { let data1 = res1[0]; that.tableDatas[0][5] = data1.total_production; - that.tableDatas[0][9] = precen( + that.tableDatas[0][9] = this.precen( that.tableDatas[0][5], that.tableDatas[0][8] ); that.tableDatas[1][5] = data1.production_hour; - that.tableDatas[1][9] = precen( + that.tableDatas[1][9] = this.precen( that.tableDatas[1][5], that.tableDatas[1][8] ); that.tableDatas[2][5] = data1.run_hour; - that.tableDatas[2][9] = precen( + that.tableDatas[2][9] = this.precen( that.tableDatas[2][5], that.tableDatas[2][8] ); that.tableDatas[3][5] = data1.run_rate; - that.tableDatas[3][9] = precen( + that.tableDatas[3][9] = this.precen( that.tableDatas[3][5], that.tableDatas[3][8] ); that.tableDatas[4][5] = data1.elec_consume_unit; - that.tableDatas[4][9] = consume_precen( + that.tableDatas[4][9] = this.consume_precen( (that.tableDatas[4][8] - that.tableDatas[4][5]), that.tableDatas[4][8] ); that.tableDatas[5][5] = data1.elec_consume; - that.tableDatas[5][9] = consume_precen( + that.tableDatas[5][9] = this.consume_precen( (that.tableDatas[5][8] - that.tableDatas[5][5]), that.tableDatas[5][8] ); that.tableDatas[6][5] = data1.production_cost_unit; - that.tableDatas[6][9] = precen( + that.tableDatas[6][9] = this.precen( (that.tableDatas[6][8] - that.tableDatas[6][5]), that.tableDatas[6][8] ); diff --git a/src/views/enm_slag/report.vue b/src/views/enm_slag/report.vue index 3a7910b6..80dbb5b2 100644 --- a/src/views/enm_slag/report.vue +++ b/src/views/enm_slag/report.vue @@ -875,22 +875,6 @@ export default { }; }, mounted() { - function precen(a, b) { - if (b !== 0 && b !== null && a !== null) { - let precen = (a / b)* 100; - return precen.toFixed(2) + "%"; - } else { - return "/"; - } - } - function consume_precen(a, b) { - if (b !== 0 && b !== null && a !== null) { - let precen = ((a / b)+1)* 100; - return precen.toFixed(2) + "%"; - } else { - return "/"; - } - } let that = this; var myDate = new Date(); let year = (that.year = myDate.getFullYear()); @@ -1032,23 +1016,23 @@ export default { if (res1.length > 0) { let data1 = res1[0]; that.tableDatas[0][5] = data1.total_production; - that.tableDatas[0][9] = precen( + that.tableDatas[0][9] = this.precen( that.tableDatas[0][5], that.tableDatas[0][8] ); that.tableDatas[1][5] = data1.elec_consume_unit; - that.tableDatas[1][9] = consume_precen( + that.tableDatas[1][9] = this.consume_precen( that.tableDatas[1][8]-that.tableDatas[1][5], that.tableDatas[1][8] ); that.tableDatas[2][5] = data1.elec_consume; - that.tableDatas[2][9] = consume_precen( + that.tableDatas[2][9] = this.consume_precen( that.tableDatas[2][8]-that.tableDatas[2][5], that.tableDatas[2][8] ); that.tableDatas[3][5] = data1.production_cost_unit; - that.tableDatas[3][9] = consume_precen( + that.tableDatas[3][9] = this.consume_precen( that.tableDatas[3][8]-that.tableDatas[3][5], that.tableDatas[3][8] ); @@ -1056,13 +1040,13 @@ export default { data1.imaterial_data.forEach((item) => { if (item.material_name == "湿电石渣消耗") { that.tableDatas[4][5] = (item.amount_consume).toFixed(2); - that.tableDatas[4][9] = precen( + that.tableDatas[4][9] = this.precen( that.tableDatas[4][5], that.tableDatas[4][8] ); }else if(item.material_name == "湿电石渣进厂"){ that.tableDatas[5][5] = (item.amount_consume).toFixed(2); - that.tableDatas[5][9] = precen( + that.tableDatas[5][9] = this.precen( that.tableDatas[5][5], that.tableDatas[5][8] ); @@ -1082,23 +1066,23 @@ export default { if (res2.length > 0) { let data2 = res2[0]; that.tableDatas[0][4] = data2.total_production; - that.tableDatas[0][7] = precen( + that.tableDatas[0][7] = this.precen( that.tableDatas[0][4], that.tableDatas[0][6] ); that.tableDatas[1][4] = data2.elec_consume_unit; - that.tableDatas[1][7] = consume_precen( + that.tableDatas[1][7] = this.consume_precen( that.tableDatas[1][4], that.tableDatas[1][6] ); that.tableDatas[2][4] = data2.elec_consume; that.tableDatas[3][4] = data2.production_cost_unit; - that.tableDatas[3][7] = consume_precen( + that.tableDatas[3][7] = this.consume_precen( that.tableDatas[3][6]-that.tableDatas[3][4], that.tableDatas[3][6] ); - that.tableDatas[2][7] = consume_precen( + that.tableDatas[2][7] = this.consume_precen( that.tableDatas[2][4], that.tableDatas[2][6] ); @@ -1106,13 +1090,13 @@ export default { data2.imaterial_data.forEach((item) => { if (item.material_name == "湿电石渣消耗") { that.tableDatas[4][4] = (item.amount_consume).toFixed(2); - that.tableDatas[4][7] = precen( + that.tableDatas[4][7] = this.precen( that.tableDatas[4][4], that.tableDatas[4][6] ); }else if(item.material_name == "湿电石渣进厂"){ that.tableDatas[5][4] = (item.amount_consume).toFixed(2); - that.tableDatas[5][7] = precen( + that.tableDatas[5][7] = this.precen( that.tableDatas[5][4], that.tableDatas[5][6] ); @@ -1128,6 +1112,22 @@ export default { }); }, methods: { + precen(a, b) { + if (b !== 0 && b !== null && a !== null) { + let precen = (a / b)* 100; + return precen.toFixed(2) + "%"; + } else { + return "/"; + } + }, + consume_precen(a, b) { + if (b !== 0 && b !== null && a !== null) { + let precen = ((a / b)+1)* 100; + return precen.toFixed(2) + "%"; + } else { + return "/"; + } + }, typeRadioChange() { this.searchDate = ""; }, @@ -1177,54 +1177,58 @@ export default { get_months(year, month){ let that = this; let params2 = {}; - params2.page = 0; - params2.year_s = year; - params2.month_s = month; - params2.type = "month_s"; - params2.mgroup = this.query.mgroup; - this.$API.enm.enstat.req(params2).then((res2) => { - if (res2.length > 0) { - let data2 = res2[0]; - that.tableDatas[0][4] = data2.total_production; - that.tableDatas[0][7] = precen( - that.tableDatas[0][4], - that.tableDatas[0][6] - ); - that.tableDatas[1][4] = data2.elec_consume_unit; - that.tableDatas[1][7] = consume_precen( - that.tableDatas[1][4], - that.tableDatas[1][6] - ); - that.tableDatas[2][4] = data2.elec_consume; - that.tableDatas[3][4] = - data2.production_cost_unit; - that.tableDatas[3][7] = consume_precen( - that.tableDatas[3][3], - that.tableDatas[3][6] - ); - that.tableDatas[2][7] = consume_precen( - that.tableDatas[2][4], - that.tableDatas[2][6] - ); - if (data2.imaterial_data.length > 0) { - data2.imaterial_data.forEach((item) => { - if (item.material_name == "湿电石渣消耗") { - that.tableDatas[4][4] = (item.amount_consume).toFixed(2); - that.tableDatas[4][7] = precen( - that.tableDatas[4][4], - that.tableDatas[4][6] - ); - }else if(item.material_name == "湿电石渣进厂"){ - that.tableDatas[5][4] = (item.amount_consume).toFixed(2); - that.tableDatas[5][7] = precen( - that.tableDatas[5][4], - that.tableDatas[5][6] - ); - } - }); - } - } - }); + params2.page = 0; + params2.year_s = year; + params2.month_s = month; + params2.type = "month_s"; + params2.mgroup = this.query.mgroup; + this.$API.enm.enstat.req(params2).then((res2) => { + if (res2.length > 0) { + let data2 = res2[0]; + console.log('---data2---',data2) + that.tableDatas[0][4] = data2.total_production; + that.tableDatas[0][7] = this.precen( + that.tableDatas[0][4], + that.tableDatas[0][6] + ); + that.tableDatas[1][4] = data2.elec_consume_unit; + that.tableDatas[1][7] = this.consume_precen( + that.tableDatas[1][4], + that.tableDatas[1][6] + ); + that.tableDatas[2][4] = data2.elec_consume; + that.tableDatas[3][4] = + data2.production_cost_unit; + that.tableDatas[3][7] = this.consume_precen( + that.tableDatas[3][3], + that.tableDatas[3][6] + ); + that.tableDatas[2][7] = this.consume_precen( + that.tableDatas[2][4], + that.tableDatas[2][6] + ); + console.log('---data2---',data2) + if (data2.imaterial_data.length > 0) { + data2.imaterial_data.forEach((item) => { + if (item.material_name == "湿电石渣消耗") { + that.tableDatas[4][4] = (item.amount_consume).toFixed(2); + console.log('---4,4-----',item.amount_consume) + that.tableDatas[4][7] = this.precen( + that.tableDatas[4][4], + that.tableDatas[4][6] + ); + }else if(item.material_name == "湿电石渣进厂"){ + that.tableDatas[5][4] = (item.amount_consume).toFixed(2); + console.log('---5,4-----',item.amount_consume) + that.tableDatas[5][7] = this.precen( + that.tableDatas[5][4], + that.tableDatas[5][6] + ); + } + }); + } + } + }); }, get_month_year_goal(year, month){ let that = this; @@ -1284,23 +1288,23 @@ export default { if (res1.length > 0) { let data1 = res1[0]; that.tableDatas[0][5] = data1.total_production; - that.tableDatas[0][9] = precen( + that.tableDatas[0][9] = this.precen( that.tableDatas[0][5], that.tableDatas[0][8] ); that.tableDatas[1][5] = data1.elec_consume_unit; - that.tableDatas[1][9] = consume_precen( + that.tableDatas[1][9] = this.consume_precen( that.tableDatas[1][8]-that.tableDatas[1][5], that.tableDatas[1][8] ); that.tableDatas[2][5] = data1.elec_consume; - that.tableDatas[2][9] = consume_precen( + that.tableDatas[2][9] = this.consume_precen( that.tableDatas[2][8]-that.tableDatas[2][5], that.tableDatas[2][8] ); that.tableDatas[3][5] = data1.production_cost_unit; - that.tableDatas[3][9] = consume_precen( + that.tableDatas[3][9] = this.consume_precen( that.tableDatas[3][8]-that.tableDatas[3][5], that.tableDatas[3][8] ); @@ -1308,13 +1312,13 @@ export default { data1.imaterial_data.forEach((item) => { if (item.material_name == "湿电石渣消耗") { that.tableDatas[4][5] = (item.amount_consume).toFixed(2); - that.tableDatas[4][9] = precen( + that.tableDatas[4][9] = this.precen( that.tableDatas[4][5], that.tableDatas[4][8] ); }else if(item.material_name == "湿电石渣进厂"){ that.tableDatas[5][5] = (item.amount_consume).toFixed(2); - that.tableDatas[5][9] = precen( + that.tableDatas[5][9] = this.precen( that.tableDatas[5][5], that.tableDatas[5][8] ); From d346ee159821d8584b73644fc7592e0ed9ce012e Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 2 Dec 2025 16:15:43 +0800 Subject: [PATCH 08/10] =?UTF-8?q?fix:=E7=8E=BB=E7=BA=A4=E4=BA=A4=E6=8E=A5?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/handover_form.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue index a39a5a1b..efc6e4fa 100644 --- a/src/views/wpm_bx/handover_form.vue +++ b/src/views/wpm_bx/handover_form.vue @@ -613,7 +613,7 @@ export default { that.change_batch = true; } that.form.handoverb = data?data:[]; - if(data.length>0){ + if(data&&data!==''&&data.length>0){ that.totalCount = 0; data.forEach((item,index)=>{ that.totalCount += Number(item.count); From 84562cfb37a88796794eeedbd3e9246318a101d9 Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 2 Dec 2025 16:16:01 +0800 Subject: [PATCH 09/10] =?UTF-8?q?fix:=E8=A1=A8=E6=A0=BC=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlogbw_check_table.vue | 63 +++++++++++++------------ 1 file changed, 34 insertions(+), 29 deletions(-) diff --git a/src/views/wpm_bx/mlogbw_check_table.vue b/src/views/wpm_bx/mlogbw_check_table.vue index 37a8cc28..22157a3d 100644 --- a/src/views/wpm_bx/mlogbw_check_table.vue +++ b/src/views/wpm_bx/mlogbw_check_table.vue @@ -204,7 +204,7 @@ - + @@ -216,11 +216,13 @@ - + - +