zhang
6 天以前 0de302f651e3184f9999b9798359064dc39a0600
出库异常时,提示优化
5个文件已修改
75 ■■■■ 已修改文件
manifest.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/phyz/comOrder/checkOut.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/phyz/orderOut/orderCheck.vue 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/phyz/orderOut/orderCheck_2.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/phyz/processOrder/orderCheck.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json
@@ -2,7 +2,7 @@
    "name" : "中扬WMS",
    "appid" : "__UNI__DA5854D",
    "description" : "",
    "versionName" : "20250324A",
    "versionName" : "20250530A",
    "versionCode" : 146,
    "transformPx" : false,
    /* 5+App特有相关 */
pages/phyz/comOrder/checkOut.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);
                    }
                }
            },
            // 订单明细
pages/phyz/orderOut/orderCheck.vue
@@ -125,14 +125,24 @@
            staInput(item,items,index) {
                var flag = false
                for (let k of items) {
                    if (k == item) flag = true
                    if (k == item) {
                        flag = true
                    }
                }
                console.log(item);
                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);
                    }
                }
            },
            // 订单明细
pages/phyz/orderOut/orderCheck_2.vue
@@ -129,10 +129,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);
                    }
                }
            },
            // 订单明细
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);
                    }
                }
            },
            // 订单明细