From 82f959cbd727e94a2273b73402a04d35f06d008a Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 02 四月 2025 16:41:15 +0800
Subject: [PATCH] 可靠性计划产品
---
src/views/standard/standardLibrary/index.vue | 41 ++++++++++++++++++++++++++++++++++++++++-
1 files changed, 40 insertions(+), 1 deletions(-)
diff --git a/src/views/standard/standardLibrary/index.vue b/src/views/standard/standardLibrary/index.vue
index f7f807f..427b2be 100644
--- a/src/views/standard/standardLibrary/index.vue
+++ b/src/views/standard/standardLibrary/index.vue
@@ -92,7 +92,14 @@
<el-table-column label="妫�楠岄」" min-width="140" prop="inspectionItem" show-overflow-tooltip></el-table-column>
<el-table-column label="妫�楠岄」瀛愰」" min-width="140" prop="inspectionItemSubclass"
show-overflow-tooltip></el-table-column>
- <el-table-column label="瀛愬疄楠屽" prop="sonLaboratory" show-overflow-tooltip width="130"></el-table-column>
+ <!-- checkStatusList -->
+ <el-table-column label="瀹℃牳鐘舵��" min-width="140" prop="checkStatus">
+ <template slot-scope="scope">
+ <el-tag :type="checkStatusList.find(m => m.value == scope.row.checkStatus).type"
+ v-if="checkStatusList.find(m => m.value == scope.row.checkStatus)" size="small">{{
+ checkStatusList.find(m => m.value == scope.row.checkStatus).label }}</el-tag>
+ </template>
+ </el-table-column>
<el-table-column label="瑕佹眰鍊�" min-width="200px" prop="ask">
<template slot-scope="scope">
<el-input v-if="
@@ -112,6 +119,7 @@
<span v-else>{{ scope.row.ask }}</span>
</template>
</el-table-column>
+ <el-table-column label="瀛愬疄楠屽" prop="sonLaboratory" show-overflow-tooltip width="130"></el-table-column>
<el-table-column label="璇曢獙鏂规硶" prop="method" width="200">
<template slot-scope="scope">
<el-select v-if="
@@ -295,6 +303,7 @@
getStandardTemplate,
selectStandardProductByMethodId,
selectStandardProductEnumByMethodId,
+ productListSubmit,
} from "@/api/standard/standardLibrary";
import bindSupplierDensityDialogAsk from "./components/bindSupplierDensityDialogAsk.vue";
import BatchCopy from "./components/BatchCopy.vue";
@@ -374,6 +383,23 @@
batchCopyDia: false,
VUE_APP_BASE_API: process.env.VUE_APP_BASE_API,
moreSelects: [],
+ checkStatusList: [
+ {
+ value: 0,
+ label: '鏈彁浜�',
+ type: 'danger'
+ },
+ {
+ value: 1,
+ label: '瀹℃牳涓�',
+ type: 'warning'
+ },
+ {
+ value: 2,
+ label: '宸叉洿鏂�',
+ type: 'success'
+ },
+ ]
};
},
mounted() {
@@ -723,6 +749,7 @@
}),
}).then((res) => {
this.$message.success("宸蹭繚瀛�");
+ this.refreshList()
});
},
upStandardProductListOfTell(value, index) {
@@ -733,6 +760,7 @@
}),
}).then((res) => {
this.$message.success("宸蹭繚瀛�");
+ this.refreshList()
});
},
// 鏍囧噯搴撻�夋嫨瀹為獙鏂规硶鐨勫洖璋�
@@ -744,6 +772,7 @@
}),
}).then((res) => {
this.$message.success("宸蹭繚瀛�");
+ this.refreshList()
});
},
// 鏍囧噯搴撻�夋嫨鏉′欢鐨勫洖璋�
@@ -755,6 +784,7 @@
}),
}).then((res) => {
this.$message.success("宸蹭繚瀛�");
+ this.refreshList()
});
},
upStandardProductListOfPrice(value, index) {
@@ -765,6 +795,7 @@
}),
}).then((res) => {
this.$message.success("宸蹭繚瀛�");
+ this.refreshList()
});
},
upStandardProductListOfManHour(value, index) {
@@ -775,6 +806,7 @@
}),
}).then((res) => {
this.$message.success("宸蹭繚瀛�");
+ this.refreshList()
});
},
upStandardProductListOfTemplate(value, index) {
@@ -785,6 +817,7 @@
}),
}).then((res) => {
this.$message.success("宸蹭繚瀛�");
+ this.refreshList()
});
},
handleSelectionChange(val) {
@@ -865,6 +898,7 @@
}),
}).then((res) => {
this.$message.success('宸蹭繚瀛�')
+ this.refreshList()
});
},
filterHandler(value) {
@@ -1180,6 +1214,11 @@
return true;
}
}).then(({ value }) => {
+ productListSubmit({
+ remark: value
+ }).then(res => {
+ this.selectsStandardMethodByFLSSM();
+ })
// this.$message({
// type: 'success',
// message: '浣犵殑閭鏄�: ' + value
--
Gitblit v1.9.3