|  |  | 
 |  |  |                order_no: '', | 
 |  |  |                brand: '' | 
 |  |  |             }, | 
 |  |  |             wrkingData: [] | 
 |  |  |          } | 
 |  |  |       }, | 
 |  |  |       onReachBottom() { | 
 |  |  | 
 |  |  |       }, | 
 |  |  |       methods: { | 
 |  |  |          getOrderDetlList(threeCode,limit) { | 
 |  |  |             // this.get(threeCode,limit) | 
 |  |  |             this.wrkingData = [] | 
 |  |  |             this.get() | 
 |  |  |             uni.showLoading({}) | 
 |  |  |             let _this = this | 
 |  |  |             _this.mask = true | 
 |  |  | 
 |  |  |                         } | 
 |  |  |                      } | 
 |  |  |                      let list = res.data.records | 
 |  |  |                      for (let item of list) { | 
 |  |  |                         for (let k of _this.wrkingData) { | 
 |  |  |                            if (k.matnr == item.matnr && k.orderNo == item.orderNo && k.threeCode == item.threeCode) { | 
 |  |  |                               item['workNum'] = k.anfme | 
 |  |  |                            } | 
 |  |  |                         } | 
 |  |  |                      } | 
 |  |  |                      _this.dataList =  _this.dataList.concat(list); | 
 |  |  |                      _this.data.curr = _this.data.curr + 1 | 
 |  |  |                      _this.total = res.data.total | 
 |  |  | 
 |  |  |                } | 
 |  |  |             }) | 
 |  |  |          }, | 
 |  |  |          get(threeCode,limit) { | 
 |  |  |          get() { | 
 |  |  |             let _this = this | 
 |  |  |             _this.mask = true | 
 |  |  |             _this.data.three_code = threeCode | 
 |  |  |             _this.data.limit = 10 | 
 |  |  |             for   (var i = 0; i < 30; i++) { | 
 |  |  |                console.log(1); | 
 |  |  |                uni.request({ | 
 |  |  |                   url: `${_this.baseUrl}/orderDetl/pakout/list/authV3`, | 
 |  |  |                   header: {'token': uni.getStorageSync('token')}, | 
 |  |  |                   data: _this.data, | 
 |  |  |                   method: 'GET', | 
 |  |  |                   success(res) { | 
 |  |  | 							 | 
 |  |  |             let data = {limit:9999,curr: 1} | 
 |  |  |             uni.request({ | 
 |  |  |                url: `${_this.baseUrl}/agv/wrkDetl/list/auth`, | 
 |  |  |                header: {'token': uni.getStorageSync('token')}, | 
 |  |  |                data: data, | 
 |  |  |                method: 'GET', | 
 |  |  |                success(res) { | 
 |  |  |                   var res = res.data | 
 |  |  |                   if (res.code === 200) { | 
 |  |  |                      const result = res.data.records.reduce((acc, curr) => { | 
 |  |  |                          const key = `${curr.matnr}-${curr.orderNo}-${curr.threeCode}`; | 
 |  |  |                          if (acc[key]) { | 
 |  |  |                              acc[key].anfme += curr.anfme; | 
 |  |  |                          } else { | 
 |  |  |                              acc[key] = { ...curr }; | 
 |  |  |                          } | 
 |  |  |                          return acc; | 
 |  |  |                      }, {}); | 
 |  |  |                      const newArray = Object.values(result); | 
 |  |  |                      _this.wrkingData = newArray | 
 |  |  |                   } | 
 |  |  |                }) | 
 |  |  |             } | 
 |  |  |                } | 
 |  |  |             }) | 
 |  |  |          }, | 
 |  |  |          searchValueInput1() { | 
 |  |  |             this.dataList = [] |