From 852b22be1f4bf805cdb5c2c3aadd085dce2099ce Mon Sep 17 00:00:00 2001 From: zhangdi <1104545947@qq.com> Date: Mon, 30 Mar 2026 15:53:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/logistics/delivery.vue | 49 ------------------------------------ 1 file changed, 49 deletions(-) diff --git a/pages/logistics/delivery.vue b/pages/logistics/delivery.vue index e0d34f2..6f5330f 100644 --- a/pages/logistics/delivery.vue +++ b/pages/logistics/delivery.vue @@ -323,9 +323,6 @@ export default { this.endArea = ""; this.endAreaIndex = 0; - console.log("选中的作业中心:", selectedWorkCenter); - console.log("stationRegionList:", selectedWorkCenter.stationRegionList); - // 从作业中心获取 stationRegionList 作为区域列表 if ( selectedWorkCenter.stationRegionList && @@ -369,30 +366,6 @@ export default { this.endArea = this.endAreas[index].name; this.endAreaIndex = index; }, - - // 获取作业中心列表 - getWorkCenterList() { - // this.$u.api.getWorkCenter().then((res) => { - // this.workCenters = res.data.map((c) => ({ - // id: c.id, - // name: c.wcName, - // })); - // }); - }, - - // 获取终点区域列表(根据作业中心 ID) - getEndAreaList(workCenterId) { - if (!workCenterId) { - this.endAreas = []; - return; - } - // this.$u.api.getEndArea({ workCenterId }).then((res) => { - // this.endAreas = res.data.map((area) => ({ - // id: area.id, - // name: area.areaName, - // })); - // }); - }, handleModeChange(mode) { this.scanMode = mode; this.hasData = false; @@ -437,7 +410,6 @@ export default { this.$u.api .boxbarcodeDetails({ boxBarcode: this.boxData.boxBarcode }) .then((res) => { - console.log(9999, res.data); this.yieldOrderList = res.data.yieldOrderList; }); }, @@ -450,28 +422,7 @@ export default { this.boxData = res.data; this.boxInputFocus = false; this.startInputFocus = true; - // this.endCenter = ""; - // this.boxCode = ""; }); - // const data = this.mockBoxes[code]; - // if (data) { - // this.boxData = data; - // this.endCenter = data.targetWorkCenter; - // uni.showToast({ - // title: `已识别物料箱 ${code}`, - // icon: "success", - // }); - // this.boxInputFocus = false; - // this.startInputFocus = true; - // } else { - // uni.showToast({ - // title: "未查询到该物料箱信息", - // icon: "none", - // }); - // this.boxData = null; - // this.endCenter = ""; - // this.boxCode = ""; - // } }, handleStartConfirm() {