From 2b5bf2b63f6b8718a396f16f02c682f635744425 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期五, 18 十月 2024 10:56:17 +0800
Subject: [PATCH] 再次拣料-销售单号空格过滤
---
manifest.json | 2 +-
pages/phyz/stationManage/pickAgain.vue | 10 ++++++----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/manifest.json b/manifest.json
index 5cec808..eca31c6 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,7 +2,7 @@
"name" : "涓壃WMS",
"appid" : "__UNI__DA5854D",
"description" : "",
- "versionName" : "20240927B",
+ "versionName" : "20241018A",
"versionCode" : 134,
"transformPx" : false,
/* 5+App鐗规湁鐩稿叧 */
diff --git a/pages/phyz/stationManage/pickAgain.vue b/pages/phyz/stationManage/pickAgain.vue
index 22a4c30..73c71ca 100644
--- a/pages/phyz/stationManage/pickAgain.vue
+++ b/pages/phyz/stationManage/pickAgain.vue
@@ -65,7 +65,7 @@
const eventChannel = this.getOpenerEventChannel();
// 鐩戝惉acceptDataFromOpenerPage浜嬩欢锛岃幏鍙栦笂涓�椤甸潰閫氳繃eventChannel浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹�
eventChannel.on('item', function(data) {
- console.log(data);
+ // console.log(data);
_this.pickList = data.wrkDetls
_this.wrkNo = data.wrkDetls[0].wrkNo
_this.locNo = data.item.sourceLocNo
@@ -74,7 +74,6 @@
},
methods: {
getLocDetl(locNo) {
-
let _this = this
uni.request({
url: `${_this.baseUrl}/agv/locDetl/list/auth/v2`,
@@ -87,7 +86,7 @@
method: 'GET',
success(res) {
res = res.data
- console.log(res);
+ // console.log(res);
if (res.code === 200) {
_this.chosed(_this.pickList,res.data.records)
return
@@ -127,13 +126,16 @@
},
// 宸查�夋嫞鏂欏垪琛�
chosed(wrkDetls,locDetls) {
+ console.log(wrkDetls,locDetls);
let isfl = false, enbleList = []
for (let locDetl of locDetls) {
locDetl['color'] = 'order-sts-start'
locDetl['pickedAnfme'] = 0
locDetl['count'] = 0
for (let wrkDetl of wrkDetls) {
- if (wrkDetl.threeCode == locDetl.threeCode && wrkDetl.matnr == locDetl.matnr) {
+ console.log(wrkDetl);
+ if (wrkDetl.threeCode.replace(/\s/g, "") == locDetl.threeCode.replace(/\s/g, "") && wrkDetl.matnr == locDetl.matnr) {
+ console.log(wrkDetl);
locDetl['pickedAnfme'] = wrkDetl.anfme
if (locDetl.stock == -1) {
locDetl.stock = 0
--
Gitblit v1.9.1