From 4a10d94aafc8821b31a5b1f7ef5fa11f2d4536fc Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期四, 16 四月 2026 10:08:51 +0800
Subject: [PATCH] 工序名称改为部件,工序类型下拉框机加工,刮板冷芯制作、管路组对、罐体连接及调试,测试打压,其他
---
src/views/productionManagement/productionProcess/index.vue | 27 ++++++++++++++++-----------
1 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/src/views/productionManagement/productionProcess/index.vue b/src/views/productionManagement/productionProcess/index.vue
index 4f3f3ef..5d95b19 100644
--- a/src/views/productionManagement/productionProcess/index.vue
+++ b/src/views/productionManagement/productionProcess/index.vue
@@ -3,7 +3,7 @@
<div class="search_form">
<el-form :model="searchForm"
:inline="true">
- <el-form-item label="宸ュ簭鍚嶇О:">
+ <el-form-item label="閮ㄤ欢:">
<el-input v-model="searchForm.name"
placeholder="璇疯緭鍏�"
clearable
@@ -11,7 +11,7 @@
style="width: 200px;"
@change="handleQuery" />
</el-form-item>
- <el-form-item label="宸ュ簭缂栧彿:">
+ <el-form-item label="閮ㄤ欢缂栧彿:">
<el-input v-model="searchForm.no"
placeholder="璇疯緭鍏�"
clearable
@@ -29,14 +29,14 @@
<div style="text-align: right"
class="mb10">
<el-button type="primary"
- @click="showNewModal">鏂板宸ュ簭</el-button>
+ @click="showNewModal">鏂板閮ㄤ欢</el-button>
<el-button type="info"
plain
@click="handleImport">瀵煎叆</el-button>
<el-button type="danger"
@click="handleDelete"
:disabled="selectedRows.length === 0"
- plain>鍒犻櫎宸ュ簭</el-button>
+ plain>鍒犻櫎閮ㄤ欢</el-button>
</div>
<PIMTable rowKey="id"
:column="tableColumn"
@@ -57,7 +57,7 @@
@completed="getList" />
<ImportDialog ref="importDialogRef"
v-model="importDialogVisible"
- title="瀵煎叆宸ュ簭"
+ title="瀵煎叆閮ㄤ欢"
:action="importAction"
:headers="importHeaders"
:auto-upload="false"
@@ -91,12 +91,16 @@
const { searchForm } = toRefs(data);
const tableColumn = ref([
{
- label: "宸ュ簭缂栧彿",
+ label: "閮ㄤ欢缂栧彿",
prop: "no",
},
{
- label: "宸ュ簭鍚嶇О",
+ label: "閮ㄤ欢",
prop: "name",
+ },
+ {
+ label: "閮ㄤ欢绫诲瀷",
+ prop: "typeText",
},
{
label: "宸ヨ祫瀹氶",
@@ -175,6 +179,7 @@
tableLoading.value = false;
tableData.value = res.data.records.map(item => ({
...item,
+ typeText: item.type !== undefined && item.type !== null ? (item.type === 0 ? "璁℃椂" : "璁′欢") : "",
}));
page.total = res.data.total;
})
@@ -204,7 +209,7 @@
if (no.length > 2) {
proxy.$modal
.confirm(
- '鏄惁纭鍒犻櫎宸ュ簭缂栧彿涓�"' +
+ '鏄惁纭鍒犻櫎閮ㄤ欢缂栧彿涓�"' +
no[0] +
"銆�" +
no[1] +
@@ -222,7 +227,7 @@
.catch(() => {});
} else {
proxy.$modal
- .confirm('鏄惁纭鍒犻櫎宸ュ簭缂栧彿涓�"' + no + '"鐨勬暟鎹」锛�')
+ .confirm('鏄惁纭鍒犻櫎閮ㄤ欢缂栧彿涓�"' + no + '"鐨勬暟鎹」锛�')
.then(function () {
return del(ids);
})
@@ -282,7 +287,7 @@
const url = window.URL.createObjectURL(blob);
const link = document.createElement("a");
link.href = url;
- link.download = "宸ュ簭瀵煎叆妯℃澘.xlsx";
+ link.download = "閮ㄤ欢瀵煎叆妯℃澘.xlsx";
link.click();
window.URL.revokeObjectURL(url);
proxy.$modal.msgSuccess("妯℃澘涓嬭浇鎴愬姛");
@@ -299,7 +304,7 @@
// type: "warning",
// })
// .then(() => {
- // proxy.download("/salesLedger/scheduling/exportTwo", {}, "宸ュ簭鎺掍骇.xlsx");
+ // proxy.download("/salesLedger/scheduling/exportTwo", {}, "閮ㄤ欢鎺掍骇.xlsx");
// })
// .catch(() => {
// proxy.$modal.msg("宸插彇娑�");
--
Gitblit v1.9.3