seimin 1 year ago
parent
commit
1707c60361

+ 1 - 0
pages/quiltWashing/quiltWashingSendHandover/quiltWashingSendHandover.vue

@@ -98,6 +98,7 @@
98
           hosId: this.hosId,
98
           hosId: this.hosId,
99
           bussList,
99
           bussList,
100
           isBackStart: true,
100
           isBackStart: true,
101
+          index: this.dataList[0].children[0].clothesWashingDTO.index,
101
           batchId: this.dataList[0].children[0].clothesWashingDTO.batchId,
102
           batchId: this.dataList[0].children[0].clothesWashingDTO.batchId,
102
         }).then((res) => {
103
         }).then((res) => {
103
           uni.hideLoading();
104
           uni.hideLoading();

+ 7 - 1
pages/quiltWashing/quiltWashingSendsendHandover/quiltWashingSendsendHandover.vue

@@ -33,7 +33,7 @@
33
           </view>
33
           </view>
34
         </view>
34
         </view>
35
         <scroll-view scroll-y="true" class="Scanning_cont_list_scroll" v-if="dataList[parentIndex]">
35
         <scroll-view scroll-y="true" class="Scanning_cont_list_scroll" v-if="dataList[parentIndex]">
36
-          <view class="Scanning_cont_list_item" v-for="(item, j) in dataList[parentIndex].children" :key="item.id" :class="{red: item.clothesWashingDTO.exception == 1}">
36
+          <view class="Scanning_cont_list_item" @click="clickRow(item)" v-for="(item, j) in dataList[parentIndex].children" :key="item.id" :class="{red: item.clothesWashingDTO.exception == 1}">
37
             <view class="name">
37
             <view class="name">
38
               {{item.name}}
38
               {{item.name}}
39
             </view>
39
             </view>
@@ -85,6 +85,11 @@
85
       };
85
       };
86
     },
86
     },
87
     methods: {
87
     methods: {
88
+      clickRow(data){
89
+        uni.navigateTo({
90
+          url: `../quiltWashingException/quiltWashingException?clothesTypeId=${data.id}&clothesTypeName=${data.name}&batchId=${data.clothesWashingDTO.batchId}&relatedDept=${data.clothesWashingDTO.relatedDept}`,
91
+        });
92
+      },
88
       //确定
93
       //确定
89
       ok1() {
94
       ok1() {
90
         this.models1.disjunctor = false;
95
         this.models1.disjunctor = false;
@@ -101,6 +106,7 @@
101
           hosId: this.hosId,
106
           hosId: this.hosId,
102
           orderId: 0,
107
           orderId: 0,
103
           // bussList,
108
           // bussList,
109
+          index: this.dataList[0].children[0].clothesWashingDTO.index,
104
           batchId: this.dataList[0].children[0].clothesWashingDTO.batchId,
110
           batchId: this.dataList[0].children[0].clothesWashingDTO.batchId,
105
         }).then((res) => {
111
         }).then((res) => {
106
           uni.hideLoading();
112
           uni.hideLoading();