Commit f531b8bc by LJM

加上时间段

parent ea367ce7
......@@ -90,6 +90,30 @@
}
}
}
.seldate-box {
padding: 20rpx;
}
.scan {
position: fixed;
top: 35%;
left: 0;
right: 0;
width: 240rpx;
height: 240rpx;
background: #197adb;
box-shadow: 0px 9rpx 10rpx 0px rgba(0, 0, 0, 0.11);
border-radius: 50%;
margin: 0 auto;
.iconfont {
font-size: 56rpx;
color: #ffffff;
margin-bottom: 14rpx;
}
.tt {
font-size: 32rpx;
color: #ffffff;
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
......
......@@ -119,6 +119,11 @@
"style": {
"navigationBarTitleText": "进口物流清单"
}
}, {
"path": "pages/pda/selectDate",
"style": {
"navigationBarTitleText": "扫描管理"
}
}],
"globalStyle": {
"navigationBarTextStyle": "black",
......
......@@ -218,9 +218,13 @@ export default {
url: '/pages/goods/rePackageList'
});
} else if (item.name == '深圳扫码收货') {
this.scanChange(2);
uni.navigateTo({
url: '/pages/pda/selectDate?type=1'
});
} else if (item.name == '深圳扫码出库') {
this.scanChange(3);
uni.navigateTo({
url: '/pages/pda/selectDate?type=2'
});
} else if (item.name == '进口物流清单') {
uni.navigateTo({
url: '/pages/pda/logisticsList'
......
......@@ -37,11 +37,15 @@ export default {
selectedIndexs: [],
erp_order_sn: '',
list: [],
filterList: []
filterList: [],
startTime: '',
endTime: ''
};
},
onLoad(options) {
this.erp_order_sn = options.number;
this.startTime = options.startTime;
this.endTime = options.endTime;
this.getData();
},
onShow() {
......@@ -96,7 +100,7 @@ export default {
return false;
}
this.request(API.szScanIn, 'POST', { list: this.filterList, is_submit: 1, erp_order_sn: this.erp_order_sn }, true).then(res => {
this.request(API.szScanIn, 'POST', { list: this.filterList, is_submit: 1, erp_order_sn: this.erp_order_sn, startTime: this.startTime, endTime: this.endTime }, true).then(res => {
if (res.err_code === 0) {
uni.showToast({
title: '提交成功',
......
......@@ -45,6 +45,7 @@ export default {
type: 0
};
},
onLoad(options) {},
onShow() {
this.getData();
},
......
......@@ -37,11 +37,15 @@ export default {
selectedIndexs: [],
erp_order_sn: '',
list: [],
filterList: []
filterList: [],
startTime: '',
endTime: ''
};
},
onLoad(options) {
this.erp_order_sn = options.number;
this.startTime = options.startTime;
this.endTime = options.endTime;
this.getData();
},
onShow() {
......@@ -71,7 +75,7 @@ export default {
});
},
getData() {
this.request(API.szScanIn, 'POST', { erp_order_sn: this.erp_order_sn, is_submit: 0 }, true).then(res => {
this.request(API.szScanIn, 'POST', { erp_order_sn: this.erp_order_sn, is_submit: 0, startTime: this.startTime, endTime: this.endTime }, true).then(res => {
if (res.err_code === 0) {
this.list.push({
car_sort: res.data.car_sort,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment