From 4bfdb8f5d74e9b55360ed45db27f7f428b9d0b6b Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 07 五月 2024 19:07:17 +0800
Subject: [PATCH] #
---
pages/phyz/order/orderList2.vue | 21 +++------------------
1 files changed, 3 insertions(+), 18 deletions(-)
diff --git a/pages/phyz/order/orderList2.vue b/pages/phyz/order/orderList2.vue
index cca8fda..98c8c3c 100644
--- a/pages/phyz/order/orderList2.vue
+++ b/pages/phyz/order/orderList2.vue
@@ -12,6 +12,7 @@
</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>
@@ -81,7 +82,7 @@
header: {'token': uni.getStorageSync('token')},
data: {
curr: 1,
- limit: 1000,
+ limit: 9999,
order_id: id
},
method: 'GET',
@@ -91,7 +92,6 @@
if (res.code === 200) {
res.data.records
_this.dataList = res.data.records
-
_this.oldDataList = [..._this.dataList]
}
}
@@ -105,25 +105,10 @@
}
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
--
Gitblit v1.9.1