From b1cbc2ecd0b22014f54d0f7128bba9741b45814f Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 07 五月 2024 16:25:14 +0800
Subject: [PATCH] #
---
pages/phyz/orderOut/orderList.vue | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/pages/phyz/orderOut/orderList.vue b/pages/phyz/orderOut/orderList.vue
index 6315f0d..4ccecd6 100644
--- a/pages/phyz/orderOut/orderList.vue
+++ b/pages/phyz/orderOut/orderList.vue
@@ -6,6 +6,7 @@
<view>
<view class="detl-threeCode">{{orderDetl.threeCode}}</view>
<view class="detl-locNo">{{orderDetl.locNo}}</view>
+ <view class="detl-locNo">璐ф灦鐮侊細{{orderDetl.suppCode}}</view>
</view>
<!-- 涓� -->
<view style="display: flex;">
@@ -13,6 +14,7 @@
<view>涓诲崟鍙凤細{{orderDetl.orderNo}}</view>
<view>缂栧彿锛歿{orderDetl.matnr}}</view>
<view>鍚嶇О锛歿{orderDetl.maktx}}</view>
+ <view>搴撲綅鐘舵�侊細{{orderDetl.locSts$}}</view>
<view>搴撳瓨鏁伴噺锛歿{orderDetl.anfme}}</view>
</view>
<view class="out-btn" @click="pakoutPrive(orderDetl)">
@@ -78,9 +80,9 @@
console.log(res);
if (res.code === 200) {
for (let k of res.data) {
- if (k.anfme > k.qty && k.qty == 0) {
+ if (k.locSts == "F") {
k['color'] = 'order-sts-start'
- } else if (k.anfme > k.qty && k.qty != 0) {
+ } else if (k.locSts != "F") {
k['color'] = 'order-sts-working'
} else {
k['color'] = 'order-sts-end'
@@ -100,6 +102,10 @@
pakoutPrive(item) {
let _this = this
console.log(item);
+ if (item.locSts != 'F') {
+ uni.showToast({ title: '褰撳墠搴撲綅涓嶆槸鍦ㄥ簱鐘舵�侊紒', icon: "error", position: 'top' })
+ return
+ }
uni.navigateTo({
url: "./orderCheck",
success: function(res) {
--
Gitblit v1.9.1