From f15747ff8d49d6bf8f11b087f4e6fa8d349413bc Mon Sep 17 00:00:00 2001
From: taozi <1362265981@qq.com>
Date: Thu, 8 Jan 2026 14:03:16 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E5=87=BA=E5=BA=93=E5=8B=BE?=
=?UTF-8?q?=E9=80=89=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/approvalProcessDialog.vue | 9 +++-
src/views/firstOrder/components/outDialog.vue | 16 +++---
.../firstOrder/components/recordDialog.vue | 6 +--
src/views/firstOrder/inbound.vue | 4 ++
src/views/materials/index.vue | 4 ++
.../secondOrder/components/categoryDialog.vue | 52 ++++++-------------
.../secondOrder/components/outDialog.vue | 20 +------
7 files changed, 45 insertions(+), 66 deletions(-)
diff --git a/src/views/firstOrder/components/approvalProcessDialog.vue b/src/views/firstOrder/components/approvalProcessDialog.vue
index 002be0f..6555a49 100644
--- a/src/views/firstOrder/components/approvalProcessDialog.vue
+++ b/src/views/firstOrder/components/approvalProcessDialog.vue
@@ -89,9 +89,16 @@ export default {
}
.teps-con {
- margin: 0 auto 0
+ margin: 0 auto 0;
+ :deep(.el-step) {
+ margin-bottom: 10px;
+ &:last-child {
+ margin-bottom: 0;
+ }
+ }
}
+
// :deep(.el-dialog__body) {
// height: 300px;
// }
diff --git a/src/views/firstOrder/components/outDialog.vue b/src/views/firstOrder/components/outDialog.vue
index 849305d..fa85953 100644
--- a/src/views/firstOrder/components/outDialog.vue
+++ b/src/views/firstOrder/components/outDialog.vue
@@ -594,20 +594,22 @@ export default {
},
getStatistics() {
getStatistics(this.sizeForm.inTableData).then((res) => {
- this.statisticsList = res.data.result;
+ this.statisticsList = res.data.result
this.statisticsList = this.statisticsList.map((stat) => {
const detail = this.sizeForm.inTableData.find(
(item) => item.materialCode === stat.materialCode
- );
- console.log("detail", detail, stat);
+ )
+ console.log("detail", detail, stat)
return {
...stat,
theOutboundQuantity: detail.theOutboundQuantity, //本次出库数量
unitPrice: detail.unitPrice,
totalQuantity: stat.num - detail.theOutboundQuantity,
- };
- });
- });
+ department: detail.department, // 部门ID
+ departmentName: detail.departmentName || this.getDepartmentName(detail.department),
+ }
+ })
+ })
},
changeDepartment(){
this.getStatistics()
@@ -618,7 +620,7 @@ export default {
selectionChange(row) {
this.batchSelectionVisible = false;
this.sizeForm.inTableData = row;
- this.getStatistics();
+ this.getStatistics();
},
confirm(allSelectedList) {
this.consumableVisible = false;
diff --git a/src/views/firstOrder/components/recordDialog.vue b/src/views/firstOrder/components/recordDialog.vue
index bb83b87..e7e2346 100644
--- a/src/views/firstOrder/components/recordDialog.vue
+++ b/src/views/firstOrder/components/recordDialog.vue
@@ -5,13 +5,12 @@
:visible.sync="openShow"
width="50%"
@close="closeDialog"
- :style="{ height: '600px' }"
>