From a8809c3d35b66f4becc87ac8ac67503aa83c7359 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期二, 06 一月 2026 18:04:36 +0800
Subject: [PATCH] 1.生产工单做流转单2.生产订单工艺路线做排序删除3.生产工单加报工
---
src/views/productionManagement/productionReporting/Input.vue | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/src/views/productionManagement/productionReporting/Input.vue b/src/views/productionManagement/productionReporting/Input.vue
index 144e5bd..7959848 100644
--- a/src/views/productionManagement/productionReporting/Input.vue
+++ b/src/views/productionManagement/productionReporting/Input.vue
@@ -24,10 +24,15 @@
<script setup>
import {ref, computed, onMounted} from "vue";
+import { productionProductInputListPage } from "@/api/productionManagement/productionProductInput";
const props = defineProps({
visible: {
type: Boolean,
+ required: true,
+ },
+ productionProductMainId: {
+ type: Number,
required: true,
},
});
@@ -55,7 +60,7 @@
},
{
label: '浜у搧鍨嬪彿',
- prop: 'productModelName',
+ prop: 'model',
},
{
label: '鎶曞叆鏁伴噺',
@@ -79,6 +84,16 @@
};
const fetchData = () => {
+ tableLoading.value = true;
+ const params = { productMainId: props.productionProductMainId, ...page };
+
+ productionProductInputListPage(params).then(res => {
+ tableLoading.value = false;
+ data.value = res.data.records;
+ page.total = res.data.total;
+ }).catch(err => {
+ tableLoading.value = false;
+ })
};
defineExpose({
--
Gitblit v1.9.3