物料问题修改

master
zhangdi 2 weeks ago
parent b1df61fb5b
commit 852b22be1f
  1. 49
      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() {

Loading…
Cancel
Save