From 9b974573568c9119c56c3eb4ffad823078596472 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期日, 04 八月 2024 17:17:10 +0800 Subject: [PATCH] 检验任务的交接权限修改 --- src/components/do/b1-inspect-order-plan/Inspection.vue | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue index 9608259..bc4d4a0 100644 --- a/src/components/do/b1-inspect-order-plan/Inspection.vue +++ b/src/components/do/b1-inspect-order-plan/Inspection.vue @@ -1358,6 +1358,7 @@ this.$message.error('璇烽�夋嫨闇�瑕侀噰闆嗙殑鏁版嵁') return } + this.getDataIndex.sort((a, b) => a - b); for (let i=0;i<this.getData.length;i++){ for(let j=0;j<this.getData[i].child.length;j++){ let arr = [] @@ -1512,6 +1513,23 @@ ] obj.value0 = insValue[0].v obj.value1 = insValue[1].v + }else if(insValue&&insValue.length==1){ + this.param[obj.id].insValue = [ + { + i:obj.id, + v:{ + v:insValue[0].v + } + }, + { + i:obj.id, + v:{ + v:'' + } + } + ] + obj.value0 = insValue[0].v + obj.value1 = '' } break; case 'comValue': -- Gitblit v1.9.3