diff --git a/pages/logistics/delivery.vue b/pages/logistics/delivery.vue index 6f5330f..d97d63f 100644 --- a/pages/logistics/delivery.vue +++ b/pages/logistics/delivery.vue @@ -205,10 +205,6 @@ export default { boxInputFocus: true, startInputFocus: false, mockBoxes: {}, - mockStarts: { - ST001: { stationCode: "ST001", stationName: "镀前总仓区" }, - ST002: { stationCode: "ST002", stationName: "A区暂存点" }, - }, workCenters: [], yieldOrderList: [], //订单明细 scanMode: "bind", @@ -265,8 +261,6 @@ export default { .then((res) => { uni.hideLoading(); - console.log("起点区域列表:", res.data); - this.startAreas = res.data.map((area) => ({ id: area.stationRegion, name: area.stationRegion, @@ -275,7 +269,6 @@ export default { }) .catch((err) => { uni.hideLoading(); - console.error("获取区域列表失败:", err); uni.showToast({ title: "加载区域列表失败", icon: "none", @@ -356,7 +349,6 @@ export default { } } else { this.endAreas = []; - console.log("stationRegionList 为空或不存在"); } }, @@ -463,7 +455,7 @@ export default { .then((res) => { uni.showToast({ title: `成功配送至 ${this.endCenter}!`, - icon: "success", + icon: "none", }); uni.hideLoading(); diff --git a/pages/logistics/packaging.vue b/pages/logistics/packaging.vue index aa0705c..7ec7df7 100644 --- a/pages/logistics/packaging.vue +++ b/pages/logistics/packaging.vue @@ -57,7 +57,7 @@ 配送终点 {{ boxInfo.wcName }}-{{ boxInfo.stationRegion }}{{ boxInfo.wcName }}{{ boxInfo.stationRegion?'-'+boxInfo.stationRegion:''}} - {{ order.woOrder }}订单号 + {{ order.woOrder }}流程卡号 {{ order.cardNo }} @@ -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 = [];