|  |  | 
 |  |  |       </view> | 
 |  |  |       <view class="list" v-for="(item,i) in dataList"> | 
 |  |  |          <view class="list-left"> | 
 |  |  |             <view>单号:{{item.orderNo}}</view> | 
 |  |  |             <view>编号:{{item.matnr}}</view> | 
 |  |  |             <view>名称:{{item.maktx}}</view> | 
 |  |  |             <view>规格:{{item.specs}}</view> | 
 |  |  | 
 |  |  |                header: {'token': uni.getStorageSync('token')}, | 
 |  |  |                data: { | 
 |  |  |                   curr: 1, | 
 |  |  |                   limit: 1000, | 
 |  |  |                   limit: 9999, | 
 |  |  |                   order_id: id | 
 |  |  |                }, | 
 |  |  |                method: 'GET', | 
 |  |  | 
 |  |  |                   if (res.code === 200) { | 
 |  |  |                      res.data.records | 
 |  |  |                      _this.dataList = res.data.records | 
 |  |  | 							 | 
 |  |  |                      _this.oldDataList = [..._this.dataList] | 
 |  |  |                   }  | 
 |  |  |                } | 
 |  |  | 
 |  |  |             } | 
 |  |  |             this.newDataList = [] | 
 |  |  |             for (let k in this.dataList) { | 
 |  |  |                if (!this.dataList[k].matnr.includes(this.matnr)) { | 
 |  |  |                if (!this.dataList[k].orderNo.includes(this.matnr)) { | 
 |  |  |                   count++; | 
 |  |  |                } else { | 
 |  |  |                   this.newDataList.push(this.dataList[k]) | 
 |  |  |                } | 
 |  |  |             } | 
 |  |  |             if (this.matnr != '') { | 
 |  |  |                for (let j in this.dataList) { | 
 |  |  |                   if (!this.dataList[j].maktx.includes(this.matnr)) { | 
 |  |  |                   } else { | 
 |  |  |                      for (let i in this.newDataList) { | 
 |  |  |                         if (this.newDataList[i].matnr ==  this.dataList[j].matnr) { | 
 |  |  |                            sign++ | 
 |  |  |                         } | 
 |  |  |                      } | 
 |  |  |                      if (sign == 0) { | 
 |  |  |                         this.newDataList.push(this.dataList[j]) | 
 |  |  |                      } | 
 |  |  |                   } | 
 |  |  |                } | 
 |  |  |             } | 
 |  |  |             this.dataList = this.newDataList |