From 46377e1fcc12d3c860b52acf6d5592553d8dd57e Mon Sep 17 00:00:00 2001
From: zhangdi <1104545947@qq.com>
Date: Thu, 23 Apr 2026 16:44:15 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E5=B7=A5=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/flowManagement/addDialog.vue | 19 ++++++------
.../components/wordReporting.vue | 30 ++++++++++---------
2 files changed, 26 insertions(+), 23 deletions(-)
diff --git a/src/views/flowManagement/addDialog.vue b/src/views/flowManagement/addDialog.vue
index 3c49b9f2..25f9921b 100644
--- a/src/views/flowManagement/addDialog.vue
+++ b/src/views/flowManagement/addDialog.vue
@@ -550,9 +550,10 @@ export default {
},
mounted() {
this.openShow = this.visible;
+ this.getDeplLists();
// this.getRoleUserList();
this.getDictionary();
- this.getDeplList();
+
if (this.title === '详情' || this.title === '修改') {
this.getDetails();
this.getExecuteResultList();
@@ -610,15 +611,15 @@ export default {
// }
},
// 获取部门列表
- getDeplList() {
+ getDeplLists() {
getDeplList().then(res => {
- // console.log(res.data.data, 'res');
- if (res.data.data.children.length > 0) {
- this.deplList = res.data.data.children;
- } else {
- this.deplList = [];
- }
- // this.deplList = res.data.data;
+ let data = res.data.data
+ data.forEach(item => {
+ if (item.deptName == '热表分厂') {
+ console.log(item.children, 'item.deptName');
+ this.deplList = item.children||[];
+ }
+ });
});
},
// 获取人员
diff --git a/src/views/productionManagement/workReportingManagement/components/wordReporting.vue b/src/views/productionManagement/workReportingManagement/components/wordReporting.vue
index 98c411b7..65d06b1a 100644
--- a/src/views/productionManagement/workReportingManagement/components/wordReporting.vue
+++ b/src/views/productionManagement/workReportingManagement/components/wordReporting.vue
@@ -57,7 +57,7 @@
placeholder="请搜索选择"
api-url="/blade-desk/BA/TeamSet/list?descs=TS_CODE"
echo-api="/blade-desk/BA/TeamSet/list?descs=TS_CODE"
- echoParamsKey="ids"
+ echoParamsKey="id"
echo-method="get"
api-method="get"
list-key="records"
@@ -100,16 +100,18 @@
保存
-->
-
-
+
+
+
- 旧班组:{{ data[0].prWorkOrder.makeTeam.tsName }}
-
+ 转班后,车间订单需排产后再生产!
+ 4
+