From 798610ea27080fbc416997ad573cb1f1f1ab1ae2 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期二, 30 七月 2024 11:08:52 +0800 Subject: [PATCH] 修改温度循环bug --- src/components/do/b1-inspect-order-plan/Inspection.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue index a9c309d..2423696 100644 --- a/src/components/do/b1-inspect-order-plan/Inspection.vue +++ b/src/components/do/b1-inspect-order-plan/Inspection.vue @@ -531,7 +531,7 @@ prop="value0" label="澶栫" align="center" - width="80" :key="(new Date())+'1'"> + width="80" :key="(new Date().getTime())+'1234567'"> <template slot="header"> {{ '澶栫'+(index+1) }} </template> @@ -543,7 +543,7 @@ prop="value1" label="鍐呯" align="center" - width="80" :key="(new Date())+'2'"> + width="80" :key="(new Date().getTime())+'23333333'"> <template slot="header"> {{ '鍐呯'+(index+1) }} </template> @@ -554,7 +554,7 @@ <el-table-column prop="comValue" align="center" - min-width="150" :key="(new Date())+'3'"> + min-width="150" :key="(new Date().getTime())+'364654654'"> <template slot="header"> {{ '琛板噺绯绘暟'+item }} </template> @@ -567,7 +567,7 @@ label="琛板噺宸�" align="center" v-if="wareForm.inspectionItemSubclass!='20(甯告俯)'" - min-width="90" :key="(new Date())+'4'"> + min-width="90" :key="(new Date().getTime())+'434634634634'"> <template slot="header"> {{ '琛板噺宸�'+(index+1) }} </template> @@ -579,7 +579,7 @@ prop="insResult" label="缁撹" align="center" - min-width="70" v-if="wareForm.inspectionItemSubclass!='20(甯告俯)'" :key="(new Date())+'5'"> + min-width="70" v-if="wareForm.inspectionItemSubclass!='20(甯告俯)'" :key="(new Date().getTime())+'53457689809808-'"> <template slot="header"> {{ '缁撹'+(index+1) }} </template> @@ -1391,9 +1391,11 @@ let arr1 = [] this.wareLength = []; for(let i=0;i<arr.length;i++){ - arr1.push([]) this.wareLength.push(arr[i][0].inspectionItemClass) } + for(let i=0;i<arr[0].length;i++){ + arr1.push([]) + } arr.forEach((item,index)=>{ item.forEach((m,i)=>{ try { -- Gitblit v1.9.3