|
|
|
@ -37,11 +37,11 @@
|
|
|
|
|
|
|
|
|
|
<view class="header_row"> |
|
|
|
|
<view> |
|
|
|
|
订单在托数:{{details.detauser.orderlNum || '暂无数据'}} |
|
|
|
|
订单在托数:{{details.detauser.orderlNum }} |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view> |
|
|
|
|
订单总数:{{details.detauser.orderTotalNum || '暂无数据'}} |
|
|
|
|
订单总数:{{details.detauser.orderTotalNum }} |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
@ -153,7 +153,7 @@
|
|
|
|
|
// 组件配置 |
|
|
|
|
const option = reactive({ |
|
|
|
|
// 标题 |
|
|
|
|
title: '提货批次', |
|
|
|
|
title: '码板打托', |
|
|
|
|
// 下拉刷新回调函数 |
|
|
|
|
async pullDownRefreshInitPage() { |
|
|
|
|
// 重置被选中数据 |
|
|
|
@ -227,7 +227,7 @@
|
|
|
|
|
details.pageInfo = JSON.parse(op.pageInfo) |
|
|
|
|
|
|
|
|
|
// #ifdef APP |
|
|
|
|
utils.ttsspke('请扫描或输入托盘码') |
|
|
|
|
utils.ttsspke('请扫描或输入包条码') |
|
|
|
|
// #endif |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
@ -262,12 +262,18 @@
|
|
|
|
|
|
|
|
|
|
const { code, data } = res |
|
|
|
|
|
|
|
|
|
console.log('data :>> ', data); |
|
|
|
|
|
|
|
|
|
console.log('111 :>> ', 111); |
|
|
|
|
if (code !== 200) return |
|
|
|
|
|
|
|
|
|
if (res.data.isHasData == 1) { |
|
|
|
|
// details.datelist = res.data.data.list |
|
|
|
|
details.detauser = res.data.data |
|
|
|
|
details.detauser = data.data |
|
|
|
|
details.pageInfo.trayName = data.data.trayName |
|
|
|
|
details.pageInfo.pageName = data.data.trayTypeName |
|
|
|
|
|
|
|
|
|
console.log('details.pageInfo :>> ', details.pageInfo); |
|
|
|
|
|
|
|
|
|
for (let item of details.detauser.packageList) { |
|
|
|
|
item.scanNum = item.scanNum || 0 |
|
|
|
|