From a0bee2b2dc61a4c4ca860fcbb34f7848b30fef99 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 26 十一月 2025 17:18:20 +0800
Subject: [PATCH] 1.湟水峡-生产派单逻辑修改联调
---
src/views/productionManagement/productionDispatching/index.vue | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/views/productionManagement/productionDispatching/index.vue b/src/views/productionManagement/productionDispatching/index.vue
index b7052c7..a97c407 100644
--- a/src/views/productionManagement/productionDispatching/index.vue
+++ b/src/views/productionManagement/productionDispatching/index.vue
@@ -50,7 +50,6 @@
<script setup>
import {onMounted, ref} from "vue";
import FormDia from "@/views/productionManagement/productionDispatching/components/formDia.vue";
-import dayjs from "dayjs";
import {schedulingListPage} from "@/api/productionManagement/productionOrder.js";
import { ElMessageBox } from "element-plus";
@@ -80,7 +79,7 @@
},
{
label: "褰曞叆鏃ユ湡",
- prop: "entryDate",
+ prop: "registerDate",
},
{
label: "鏁伴噺",
@@ -135,11 +134,11 @@
schedulingListPage(params).then((res) => {
tableLoading.value = false;
// 澶勭悊姣忔潯鏁版嵁锛屽鍔爌endingQuantity瀛楁
- tableData.value = res.data.records.map(item => ({
+ tableData.value = res.data.data.records.map(item => ({
...item,
pendingQuantity: (Number(item.quantity) || 0) - (Number(item.schedulingNum) || 0)
}));
- page.total = res.data.total;
+ page.total = res.data.data.total;
}).catch(() => {
tableLoading.value = false;
})
@@ -172,7 +171,7 @@
type: "warning",
})
.then(() => {
- proxy.download("/salesLedger/scheduling/exportOne", {}, "鐢熶骇娲惧伐.xlsx");
+ proxy.download("/productionOrder/exportOne", {}, "鐢熶骇娲惧伐.xlsx");
})
.catch(() => {
proxy.$modal.msg("宸插彇娑�");
--
Gitblit v1.9.3