From 0de302f651e3184f9999b9798359064dc39a0600 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期五, 30 五月 2025 14:27:43 +0800
Subject: [PATCH] 出库异常时,提示优化
---
pages/phyz/processOrder/orderCheck.vue | 23 +++++++++++++++++------
1 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/pages/phyz/processOrder/orderCheck.vue b/pages/phyz/processOrder/orderCheck.vue
index 02c7f8e..750ddda 100644
--- a/pages/phyz/processOrder/orderCheck.vue
+++ b/pages/phyz/processOrder/orderCheck.vue
@@ -17,12 +17,13 @@
</view>
</view>
- <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 24px;">鍑哄簱绔欙細
+ <view class="detl-threeCode" style="display: flex;padding: 0 0 32rpx 0;font-size: 20px;">鍑哄簱绔欙細
<!-- @click="toggleDropdown(item)" -->
<view class="dropdown" >
<!-- <view style="height: 100%;width: 100%; position: fixed;background-color: rgba(0,0,0,.4);left:0;top:0" v-if = "item.isOpen"></view> -->
- <input @input="staInput(item.agvStaNo,item.agvStaNos,index)" type="text" style="width: 270rpx;font-size: 20px;" v-model="item.agvStaNo" placeholder="璇烽�夋嫨鍑哄簱绔�" placeholder-style="color: #fff">
- <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons>
+ <input @input="staInput(item.agvStaNo,item.agvStaNos,index)" type="text" style="width: 270rpx;font-size: 16px;" v-model="item.agvStaNo" placeholder="璇烽�夋嫨鍑哄簱绔�" placeholder-style="color: #fff">
+ <view style="font-size: 10px;">鍙敮鎸佹壂鐮�</view>
+ <!-- <uni-icons :type="item.isOpen ? 'top' : 'bottom'" color="#fff" style="margin-left: 10rpx;"></uni-icons> -->
<!-- <scroll-view scroll-y="ture" class="dropdown-content" v-if="item.isOpen">
<view class="dropdown-item" v-for="option in options" @click="selected(option,item)">{{option}}</view>
</scroll-view> -->
@@ -122,9 +123,19 @@
if (k == item) flag = true
}
if(!flag) {
- setTimeout(() => {
- this.dataList[index].agvStaNo = ''
- }, 100);
+ var lev0 = this.dataList[index].locNo.substring(this.dataList[index].locNo.length-2);
+ var lev00 = item.substring(item.length-2);
+ if(lev0 != lev00){
+ uni.showToast({ title: '鎵弿鐨勭珯鐐瑰拰搴撲綅涓嶅湪鍚屼竴妤煎眰锛岃妫�鏌ユ暟鎹�', icon: "error", position: 'top' })
+ setTimeout(() => {
+ this.dataList[index].agvStaNo = ''
+ }, 100);
+ }else{
+ uni.showToast({ title: '褰撳墠绔欑偣鏃犳硶浣跨敤锛屽凡澶嶄綅', icon: "error", position: 'top' })
+ setTimeout(() => {
+ this.dataList[index].agvStaNo = ''
+ }, 100);
+ }
}
},
// 璁㈠崟鏄庣粏
--
Gitblit v1.9.1