From e9ae77e42ca35e30de229663a72ca899aaf9046e Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期五, 30 五月 2025 14:28:54 +0800 Subject: [PATCH] 123 --- pages/phyz/processOrder/orderCheck.vue | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/pages/phyz/processOrder/orderCheck.vue b/pages/phyz/processOrder/orderCheck.vue index 3addaff..750ddda 100644 --- a/pages/phyz/processOrder/orderCheck.vue +++ b/pages/phyz/processOrder/orderCheck.vue @@ -123,10 +123,19 @@ if (k == item) flag = true } if(!flag) { - uni.showToast({ title: '褰撳墠绔欑偣鏃犳硶浣跨敤锛屽凡澶嶄綅', 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