From b9c0cee25748ea2d5621a8ca56ceb855a9ce3700 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 17 四月 2026 16:08:01 +0800
Subject: [PATCH] fix: 修改生产模块
---
src/views/productionManagement/workOrderManagement/index.vue | 34 ++++++++++++++++++++++++++++++++--
1 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/src/views/productionManagement/workOrderManagement/index.vue b/src/views/productionManagement/workOrderManagement/index.vue
index 6def04c..48f8839 100644
--- a/src/views/productionManagement/workOrderManagement/index.vue
+++ b/src/views/productionManagement/workOrderManagement/index.vue
@@ -12,6 +12,15 @@
prefix-icon="Search" />
</div>
<div class="search-item">
+ <span class="search_title">鐢熶骇璁㈠崟鍙凤細</span>
+ <el-input v-model="searchForm.productOrderNpsNo"
+ style="width: 240px"
+ placeholder="璇疯緭鍏�"
+ @change="handleQuery"
+ clearable
+ prefix-icon="Search" />
+ </div>
+ <div class="search-item">
<el-button type="primary"
@click="handleQuery">鎼滅储</el-button>
</div>
@@ -163,6 +172,12 @@
</span>
</template>
</el-dialog>
+
+ <MaterialDialog
+ v-model="materialDialogVisible"
+ :row-data="currentMaterialOrderRow"
+ @refresh="getList"
+ />
<FilesDia ref="workOrderFilesRef" />
</div>
@@ -181,6 +196,7 @@
import QRCode from "qrcode";
import { getCurrentInstance, reactive, toRefs } from "vue";
import FilesDia from "./components/filesDia.vue";
+ import MaterialDialog from "./components/MaterialDialog.vue";
const { proxy } = getCurrentInstance();
const tableColumn = ref([
@@ -255,7 +271,7 @@
},
{
label: "鎿嶄綔",
- width: "200",
+ width: "260",
align: "center",
dataType: "action",
fixed: "right",
@@ -270,6 +286,12 @@
name: "闄勪欢",
clickFun: row => {
openWorkOrderFiles(row);
+ },
+ },
+ {
+ name: "鐗╂枡",
+ clickFun: row => {
+ openMaterialDialog(row);
},
},
{
@@ -396,6 +418,8 @@
};
const currentReportRowData = ref(null);
+ const materialDialogVisible = ref(false);
+ const currentMaterialOrderRow = ref(null);
const page = reactive({
current: 1,
size: 100,
@@ -405,6 +429,7 @@
const data = reactive({
searchForm: {
workOrderNo: "",
+ productOrderNpsNo: "",
},
});
const { searchForm } = toRefs(data);
@@ -545,6 +570,11 @@
});
reportDialogVisible.value = true;
+ };
+
+ const openMaterialDialog = row => {
+ currentMaterialOrderRow.value = row;
+ materialDialogVisible.value = true;
};
const handleReport = () => {
@@ -786,4 +816,4 @@
height: 140px !important;
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3