From a85e691f3f140120fcc58f152bc85b4376921a55 Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 13 Jun 2025 15:41:05 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E7=8E=BB=E7=BA=A4=E8=84=B1?= =?UTF-8?q?=E6=A8=A1=E6=B5=8B=E9=87=8F=E5=92=8C=E9=80=80=E7=81=AB=E5=B7=A5?= =?UTF-8?q?=E6=AE=B5=E7=9A=84=E7=89=A9=E6=96=99=E6=89=93=E5=8D=B0=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E8=A6=81=E5=B8=A6=E5=87=BA=E6=9D=BF=E6=AE=B5=E5=8F=B7?= =?UTF-8?q?,=E5=B9=B6=E5=B1=95=E7=A4=BA=E6=AF=8F=E4=B8=AA=E6=9D=BF?= =?UTF-8?q?=E6=AE=B5=E7=9A=84=E5=88=87=E5=88=86=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/inmIn.vue | 20 ++++++++++++-------- src/views/wpm_bx/inmOut.vue | 20 ++++++++++++-------- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/src/views/wpm_bx/inmIn.vue b/src/views/wpm_bx/inmIn.vue index 02d96aad..3a552291 100644 --- a/src/views/wpm_bx/inmIn.vue +++ b/src/views/wpm_bx/inmIn.vue @@ -471,18 +471,22 @@ export default { let numbers = ['','','','','','','']; this.$API.wpm.wpr.list.req(that.wprParams).then((res) => { let leng = res.length; + let slice_count = null;//获取这批板段一个板段能切几片? + for(let key in res){ + if(res[key].name=='切片数'){ + slice_count = res[key].value; + } + } if(leng>0){ - let nums = leng/4; + let nums = leng/3; for(let i=0;i { let leng = res.length; + let slice_count = null;//获取这批板段一个板段能切几片? + for(let key in res){ + if(res[key].name=='切片数'){ + slice_count = res[key].value; + } + } if(leng>0){ - let nums = leng/4; + let nums = leng/3; for(let i=0;i