|
|
|
|
@ -57,7 +57,7 @@ |
|
|
|
|
<view class="stats-item"> |
|
|
|
|
<text class="stats-label">配送终点</text> |
|
|
|
|
<text class="stats-value" |
|
|
|
|
>{{ boxInfo.wcName }}-{{ boxInfo.stationRegion }}</text |
|
|
|
|
>{{ boxInfo.wcName }}{{ boxInfo.stationRegion?'-'+boxInfo.stationRegion:''}}</text |
|
|
|
|
> |
|
|
|
|
</view> |
|
|
|
|
<!-- <view class="stats-item"> |
|
|
|
|
@ -121,7 +121,7 @@ |
|
|
|
|
<text class="delete-icon">✕</text> |
|
|
|
|
</view> --> |
|
|
|
|
<view class="order-header"> |
|
|
|
|
<text class="order-no">{{ order.woOrder }}订单号</text> |
|
|
|
|
<text class="order-no">{{ order.woOrder }}流程卡号</text> |
|
|
|
|
<text class="order-no">{{ order.cardNo }}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="order-footer"> |
|
|
|
|
@ -269,7 +269,7 @@ export default { |
|
|
|
|
// 加载已有数据,如果没有则为空箱 |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: `物料箱 ${code} 已就绪`, |
|
|
|
|
icon: "success", |
|
|
|
|
icon: "none", |
|
|
|
|
}); |
|
|
|
|
this.boxCode = ""; |
|
|
|
|
this.boxInputFocus = false; |
|
|
|
|
@ -337,7 +337,7 @@ export default { |
|
|
|
|
if (currentWeight > 50000) { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: `请注意箱子已超重!!!!!`, |
|
|
|
|
icon: "warring", |
|
|
|
|
icon: "none", |
|
|
|
|
}); |
|
|
|
|
// 超重时移除刚添加的数据 |
|
|
|
|
this.boxInfo.yieldOrderList.pop(); |
|
|
|
|
@ -353,7 +353,7 @@ export default { |
|
|
|
|
.then((bindRes) => { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: `流程卡 ${code} 装箱绑定成功`, |
|
|
|
|
icon: "success", |
|
|
|
|
icon: "none", |
|
|
|
|
}); |
|
|
|
|
// 刷新箱内明细 |
|
|
|
|
this.refreshBoxInfo(); |
|
|
|
|
@ -396,7 +396,7 @@ export default { |
|
|
|
|
.then((unbindRes) => { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: `流程卡 ${code} 解绑成功`, |
|
|
|
|
icon: "success", |
|
|
|
|
icon: "none", |
|
|
|
|
}); |
|
|
|
|
// 从列表中移除 |
|
|
|
|
this.boxInfo.yieldOrderList.splice(orderIndex, 1); |
|
|
|
|
@ -406,7 +406,7 @@ export default { |
|
|
|
|
.catch((unbindErr) => { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: unbindErr || "解绑失败", |
|
|
|
|
icon: "error", |
|
|
|
|
icon: "none", |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
@ -460,7 +460,7 @@ export default { |
|
|
|
|
.then((res) => { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: `装箱成功`, |
|
|
|
|
icon: "success", |
|
|
|
|
icon: "none", |
|
|
|
|
}); |
|
|
|
|
this.cardCode = ""; |
|
|
|
|
this.boxInfo.yieldOrderList = []; |
|
|
|
|
|