From ee5a7a295e346562a780c322ba507d582ecb9ffa Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期一, 05 八月 2024 10:52:55 +0800
Subject: [PATCH] 无修改

---
 src/components/do/b1-inspect-order-plan/Inspection.vue |   20 ++++++++++++++++++++
 1 files changed, 20 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..c252753 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':
@@ -3048,6 +3066,8 @@
         }
       },
       changeEquip(val, n) {
+        console.log(3333,val,n)
+        this.$set(n.v,'v',val)
         this.tableList[0].arr.forEach((item,index)=>{
           item.forEach((m,i)=>{
             if(this.param[m.i]){

--
Gitblit v1.9.3