diff --git a/pages/AvgOrderPkg/index.vue b/pages/AvgOrderPkg/index.vue index a9c30b7..7638c2a 100644 --- a/pages/AvgOrderPkg/index.vue +++ b/pages/AvgOrderPkg/index.vue @@ -354,10 +354,14 @@ // console.log(obj); this.$u.api.pickBy.pickAGV(obj).then(res=>{ - obj={} - this.dataList=[] - this.$u.toast(res.msg); - this.dataForm.containerCode='' + if (res.code == 200) { + obj={} + this.dataList=[] + this.$u.toast(res.msg); + this.dataForm.containerCode='' + }else{ + this.$u.toast(res.msg); + } }) }, // 下一个界面 diff --git a/pages/inventory/index.vue b/pages/inventory/index.vue index 7698dbd..2cf50c8 100644 --- a/pages/inventory/index.vue +++ b/pages/inventory/index.vue @@ -81,7 +81,7 @@ - + @@ -157,18 +157,16 @@ // this.dataList=res.rows // // console.log(res); // }) - this.$u.api.getLockstockBatch({ pageSize: 999, pageNum: 1 }).then((response) => { - // console.log(response); - this.lockstockBatch=response.data.map((item,index)=>{ - return { - label:item, - value:item, - } - }) - // console.log(response.data); - // this.lockstockBatch = response.data + // this.$u.api.getLockstockBatch({ pageSize: 999, pageNum: 1 }).then((response) => { + // // console.log(response); + // this.lockstockBatch=response.data.map((item,index)=>{ + // return { + // label:item, + // value:item, + // } + // }) - }) + // }) }, //上拉刷新(当数据距离底部100时触发,距离在pages.json配置) // onReachBottom() { @@ -191,7 +189,6 @@ }, filters: { formatType(value) { - console.log(value); switch (Number(value)) { case 0: return "type1"; @@ -248,14 +245,12 @@ // }, 500) }, onNavigationBarButtonTap(e){ - console.log(e); }, //删除单个 delBtn(index){ // console.log(JSON.stringify(this.pickUpObj)); this.dataList.splice(index,1) this.pickUpObj.moldBarcodeList.splice(index,1) - console.log(JSON.stringify(this.pickUpObj)); }, loadList() { diff --git a/pages/receive/index.vue b/pages/receive/index.vue index 04d8e63..6178b9a 100644 --- a/pages/receive/index.vue +++ b/pages/receive/index.vue @@ -184,6 +184,14 @@ import { nextTick } from "vue"; this.k = 0 } }, + //前往验货 + onNavigationBarButtonTap(e){ + console.log(e); + this.$u.route({ + url: 'pages/checkAccept/index', + type: 'navigateTo', + }) + }, //选择打对勾 handleData(item,index){ let _ = this; diff --git a/pages/receive/receiveHomeWorks/receiveHomeWork.vue b/pages/receive/receiveHomeWorks/receiveHomeWork.vue index 2cfeeb7..f35a87f 100644 --- a/pages/receive/receiveHomeWorks/receiveHomeWork.vue +++ b/pages/receive/receiveHomeWorks/receiveHomeWork.vue @@ -195,6 +195,13 @@ }); }, + onNavigationBarButtonTap(e){ + console.log(e); + this.$u.route({ + url: 'pages/checkAccept/index', + type: 'navigateTo', + }) + }, loadPackage() { this.$u.api.recevie.queryBasPackageByGoodId({ goodId: this.goodId @@ -290,10 +297,7 @@ url: 'pages/receive/index', type: 'navigateTo' }) - },1000) - - setTimeout() - + },500) } else { this.$u.toast(res.msg); } diff --git a/pages/release/index.vue b/pages/release/index.vue index 4cfb6c0..19d509e 100644 --- a/pages/release/index.vue +++ b/pages/release/index.vue @@ -6,7 +6,7 @@ - @@ -160,7 +160,7 @@ methods: { pickUp(){ this.$u.api.release.releasePoint({pointNo:this.dataForm.pointNo}).then(res=>{ - this.$u.toast(res.msg); + this.$u.toast(res.msg); this.dataForm.pointNo = '' }) },