From 3e2bb7814a26f5027ac8e749a34a4e788f99bff0 Mon Sep 17 00:00:00 2001
From: "Mr.sun" <2290907227@qq.com>
Date: Wed, 3 Apr 2024 17:42:34 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8B=A3=E8=B4=A7=E5=87=BA=E5=BA=93=20?=
=?UTF-8?q?=E5=AE=8C=E6=88=90=E6=B8=85=E7=A9=BA=E5=88=97=E8=A1=A8=20?=
=?UTF-8?q?=E5=85=A5=E5=BA=93=E6=94=B6=E8=B4=A7=E6=B7=BB=E5=8A=A0=E6=8C=89?=
=?UTF-8?q?=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/AvgOrderPkg/index.vue | 12 ++++++---
pages/inventory/index.vue | 25 ++++++++-----------
pages/receive/index.vue | 8 ++++++
.../receiveHomeWorks/receiveHomeWork.vue | 12 ++++++---
pages/release/index.vue | 4 +--
5 files changed, 36 insertions(+), 25 deletions(-)
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 = ''
})
},