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/comOrder/checkOut.vue | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/pages/phyz/comOrder/checkOut.vue b/pages/phyz/comOrder/checkOut.vue index 980d50d..8977455 100644 --- a/pages/phyz/comOrder/checkOut.vue +++ b/pages/phyz/comOrder/checkOut.vue @@ -123,10 +123,19 @@ if (k == item) flag = true } if(!flag) { - uni.showToast({ title: '褰撳墠绔欑偣瀛樺湪宸ヤ綔妗f棤娉曚娇鐢紝宸插浣�', icon: "error", position: 'top' }) - 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