From 18a49440d07a717035cbc72fa4adae4e1ff05557 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期四, 08 五月 2025 17:19:02 +0800 Subject: [PATCH] 检验项添加抽样类型绑定 --- src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue b/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue index bb55b02..a236a5b 100644 --- a/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue +++ b/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue @@ -175,6 +175,15 @@ </el-form-item> </el-col> </el-row> + <el-row> + <el-col :span="12"> + <el-form-item label="鎶芥绫诲瀷缁戝畾锛�" prop="spotCheckType"> + <el-select v-model="editForm.spotCheckType" clearable placeholder="璇烽�夋嫨" size="small" style="width: 100%"> + <el-option v-for="item in dict.type.spot_check_type" :key="item.value" :label="item.label" :value="item.value"></el-option> + </el-select> + </el-form-item> + </el-col> + </el-row> <!-- <el-col :span="12">--> <!-- <el-form-item label="瀛楀吀绫诲瀷锛�" prop="dic">--> <!-- <el-select v-model="editForm.dic" clearable placeholder="璇烽�夋嫨" size="small" style="width: 100%">--> @@ -207,7 +216,7 @@ name: "EditForm", // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: {}, - dicts: ['sys_sub_lab', 'inspection_item_type', 'sys_unit', 'inspection_value_type', 'inspection_bsm'], + dicts: ['sys_sub_lab', 'inspection_item_type', 'sys_unit', 'inspection_value_type', 'inspection_bsm', 'spot_check_type'], data() { // 杩欓噷瀛樻斁鏁版嵁 return { @@ -237,7 +246,8 @@ inspectionItemClassEn: '', // 妫�楠岄」鍒嗙被EN method: '', // 璇曢獙鏂规硶 radiusList: [], // 鏉′欢 - rates: '', // 鏉′欢 + rates: '', // 鏀惰垂鏍囧噯(鍏�/娆�) + spotCheckType: '', // 鎶芥绫诲瀷缁戝畾 deviceId: [], // 璁惧 }, sampleList: [], // 妫�楠屽璞′笅鎷夋 @@ -313,7 +323,8 @@ inspectionItemClassEn: '', // 妫�楠岄」鍒嗙被EN method: '', // 璇曢獙鏂规硶 radiusList: [], // 鏉′欢 - rates: '', // 鏉′欢 + rates: '', // 鏀惰垂鏍囧噯(鍏�/娆�) + spotCheckType: '', // 鎶芥绫诲瀷缁戝畾 } this.resetForm('editForm') } else { -- Gitblit v1.9.3