Commit f531b8bc by LJM

加上时间段

parent ea367ce7
...@@ -90,6 +90,30 @@ ...@@ -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 { @keyframes spin {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
......
...@@ -119,6 +119,11 @@ ...@@ -119,6 +119,11 @@
"style": { "style": {
"navigationBarTitleText": "进口物流清单" "navigationBarTitleText": "进口物流清单"
} }
}, {
"path": "pages/pda/selectDate",
"style": {
"navigationBarTitleText": "扫描管理"
}
}], }],
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
......
...@@ -218,9 +218,13 @@ export default { ...@@ -218,9 +218,13 @@ export default {
url: '/pages/goods/rePackageList' url: '/pages/goods/rePackageList'
}); });
} else if (item.name == '深圳扫码收货') { } else if (item.name == '深圳扫码收货') {
this.scanChange(2); uni.navigateTo({
url: '/pages/pda/selectDate?type=1'
});
} else if (item.name == '深圳扫码出库') { } else if (item.name == '深圳扫码出库') {
this.scanChange(3); uni.navigateTo({
url: '/pages/pda/selectDate?type=2'
});
} else if (item.name == '进口物流清单') { } else if (item.name == '进口物流清单') {
uni.navigateTo({ uni.navigateTo({
url: '/pages/pda/logisticsList' url: '/pages/pda/logisticsList'
......
...@@ -37,11 +37,15 @@ export default { ...@@ -37,11 +37,15 @@ export default {
selectedIndexs: [], selectedIndexs: [],
erp_order_sn: '', erp_order_sn: '',
list: [], list: [],
filterList: [] filterList: [],
startTime: '',
endTime: ''
}; };
}, },
onLoad(options) { onLoad(options) {
this.erp_order_sn = options.number; this.erp_order_sn = options.number;
this.startTime = options.startTime;
this.endTime = options.endTime;
this.getData(); this.getData();
}, },
onShow() { onShow() {
...@@ -96,7 +100,7 @@ export default { ...@@ -96,7 +100,7 @@ export default {
return false; 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) { if (res.err_code === 0) {
uni.showToast({ uni.showToast({
title: '提交成功', title: '提交成功',
......
...@@ -45,6 +45,7 @@ export default { ...@@ -45,6 +45,7 @@ export default {
type: 0 type: 0
}; };
}, },
onLoad(options) {},
onShow() { onShow() {
this.getData(); this.getData();
}, },
......
...@@ -37,11 +37,15 @@ export default { ...@@ -37,11 +37,15 @@ export default {
selectedIndexs: [], selectedIndexs: [],
erp_order_sn: '', erp_order_sn: '',
list: [], list: [],
filterList: [] filterList: [],
startTime: '',
endTime: ''
}; };
}, },
onLoad(options) { onLoad(options) {
this.erp_order_sn = options.number; this.erp_order_sn = options.number;
this.startTime = options.startTime;
this.endTime = options.endTime;
this.getData(); this.getData();
}, },
onShow() { onShow() {
...@@ -71,7 +75,7 @@ export default { ...@@ -71,7 +75,7 @@ export default {
}); });
}, },
getData() { 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) { if (res.err_code === 0) {
this.list.push({ this.list.push({
car_sort: res.data.car_sort, 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