From bdf8b6f075953cadd136af929f89b1d558670023 Mon Sep 17 00:00:00 2001
From: zhangdi <1104545947@qq.com>
Date: Fri, 17 Apr 2026 11:31:36 +0800
Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=B5=81=E9=85=8D=E9=80=81=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/returnDialog.vue | 71 +++++++++++++------
.../logisticsDistribution.vue | 16 ++---
2 files changed, 59 insertions(+), 28 deletions(-)
diff --git a/src/views/logisticsManagement/components/returnDialog.vue b/src/views/logisticsManagement/components/returnDialog.vue
index 3dddd0e..01b2789 100644
--- a/src/views/logisticsManagement/components/returnDialog.vue
+++ b/src/views/logisticsManagement/components/returnDialog.vue
@@ -5,6 +5,8 @@
送料
叫料
+
+ 回库
@@ -15,7 +17,13 @@
placeholder="请扫描箱条码"
/>
-
+
-
+
-
- 暂无可配送物料
+ 暂无可配送物料
-
+
-
-
+
+
+
+
+ 输送线终点
+
@@ -145,6 +164,15 @@ export default {
if (this.form.bindType == 'unbind') {
this.getStationRegionList();
}
+ if (this.form.bindType == 'intoStock') {
+ // this.form.endLocationId = ''
+ // 获取输送线终点 作业中心id
+ const selected = this.workCenterOptions.find(item => item.wcName == '输送线终点');
+ console.log(989898989, Object.keys(selected).length > 0);
+ if (Object.keys(selected).length > 0) {
+ this.form.endLocationId = selected.id;
+ }
+ }
},
regionDataStartChange(val) {
const selected = this.regionDataStart.find(
@@ -162,7 +190,9 @@ export default {
getStationRegionList().then(res => {
this.regionDataStart = res.data.data;
// 查找“蓝色周转盒放置区”
- const targetRegion = this.regionDataStart.find(item => item.stationRegion == '蓝色周转盒放置区');
+ const targetRegion = this.regionDataStart.find(
+ item => item.stationRegion == '蓝色周转盒放置区'
+ );
if (targetRegion) {
// 默认选中该区域
@@ -216,8 +246,9 @@ export default {
else if (this.form.bindType === 'unbind') {
params.startStationCode = this.form.regionCode;
params.endStationCode = this.form.endStationCode;
+ } else if (this.form.bindType === 'intoStock') {
+ params.startStationCode = this.form.stationCode;
}
- console.log(9898989898989, params);
boxBinding(params)
.then(res => {
diff --git a/src/views/logisticsManagement/logisticsDistribution.vue b/src/views/logisticsManagement/logisticsDistribution.vue
index 818a8c7..1b2a7f4 100644
--- a/src/views/logisticsManagement/logisticsDistribution.vue
+++ b/src/views/logisticsManagement/logisticsDistribution.vue
@@ -148,14 +148,14 @@ export default {
hide: true,
searchOrder: 20,
},
- {
- label: '起点-作业中心',
- prop: 'startWcName',
- search: false,
- sortable: true,
- span: 12,
- width: 120,
- },
+ // {
+ // label: '起点-作业中心',
+ // prop: 'startWcName',
+ // search: false,
+ // sortable: true,
+ // span: 12,
+ // width: 120,
+ // },
{
label: '起点-区域',
prop: 'startStationRegion',