From 1e40a94e41a811a30b49150b5feabe9b7797948a Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 14 五月 2024 08:23:06 +0800
Subject: [PATCH] #

---
 pages/phyz/order/orderList2.vue |   24 +++++-------------------
 1 files changed, 5 insertions(+), 19 deletions(-)

diff --git a/pages/phyz/order/orderList2.vue b/pages/phyz/order/orderList2.vue
index 1af0b77..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
@@ -170,7 +155,8 @@
 				let _this = this
 				let combList = []
 				for (let k of _this.dataList) {
-					k['csocode'] = k.threeCode
+					k['csocode'] = k.threeCode 
+					k['isoseq'] = k.deadTime
 					if (k.checked) {
 						combList.push(k)
 					}

--
Gitblit v1.9.1