| | |
| | | <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=" |
| | |
| | | <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=" |
| | |
| | | getStandardTemplate, |
| | | selectStandardProductByMethodId, |
| | | selectStandardProductEnumByMethodId, |
| | | productListSubmit, |
| | | } from "@/api/standard/standardLibrary"; |
| | | import bindSupplierDensityDialogAsk from "./components/bindSupplierDensityDialogAsk.vue"; |
| | | import BatchCopy from "./components/BatchCopy.vue"; |
| | |
| | | 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() { |
| | |
| | | }), |
| | | }).then((res) => { |
| | | this.$message.success("已保存"); |
| | | this.refreshList() |
| | | }); |
| | | }, |
| | | upStandardProductListOfTell(value, index) { |
| | |
| | | }), |
| | | }).then((res) => { |
| | | this.$message.success("已保存"); |
| | | this.refreshList() |
| | | }); |
| | | }, |
| | | // 标准库选择实验方法的回调 |
| | |
| | | }), |
| | | }).then((res) => { |
| | | this.$message.success("已保存"); |
| | | this.refreshList() |
| | | }); |
| | | }, |
| | | // 标准库选择条件的回调 |
| | |
| | | }), |
| | | }).then((res) => { |
| | | this.$message.success("已保存"); |
| | | this.refreshList() |
| | | }); |
| | | }, |
| | | upStandardProductListOfPrice(value, index) { |
| | |
| | | }), |
| | | }).then((res) => { |
| | | this.$message.success("已保存"); |
| | | this.refreshList() |
| | | }); |
| | | }, |
| | | upStandardProductListOfManHour(value, index) { |
| | |
| | | }), |
| | | }).then((res) => { |
| | | this.$message.success("已保存"); |
| | | this.refreshList() |
| | | }); |
| | | }, |
| | | upStandardProductListOfTemplate(value, index) { |
| | |
| | | }), |
| | | }).then((res) => { |
| | | this.$message.success("已保存"); |
| | | this.refreshList() |
| | | }); |
| | | }, |
| | | handleSelectionChange(val) { |
| | |
| | | }), |
| | | }).then((res) => { |
| | | this.$message.success('已保存') |
| | | this.refreshList() |
| | | }); |
| | | }, |
| | | filterHandler(value) { |
| | |
| | | return true; |
| | | } |
| | | }).then(({ value }) => { |
| | | productListSubmit({ |
| | | remark: value |
| | | }).then(res => { |
| | | this.selectsStandardMethodByFLSSM(); |
| | | }) |
| | | // this.$message({ |
| | | // type: 'success', |
| | | // message: '你的邮箱是: ' + value |