From 69558478328e8f5996831a265c89565b92d391da Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 22 四月 2025 11:02:00 +0800
Subject: [PATCH] 修改检验任务数采
---
src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue | 39 +++++++++++++++++++++++++++++++--------
1 files changed, 31 insertions(+), 8 deletions(-)
diff --git a/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue b/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue
index c9cd538..5e9a4f5 100644
--- a/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue
+++ b/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue
@@ -30,8 +30,9 @@
<el-col :span="12">
<el-form-item label="妫�楠屽璞★細" prop="sample">
<el-cascader v-model="editForm.sample" :options="itemParameterData.cascaderField.sample.tree"
- :props="{ value: 'name', label: 'name', checkStrictly: true, multiple: true }" :show-all-levels="false"
- clearable filterable placeholder="璇烽�夋嫨" size="small" style="width: 100%;"></el-cascader>
+ :props="{ value: 'labelName', label: 'name', checkStrictly: true, multiple: true }"
+ :show-all-levels="false" clearable filterable placeholder="璇烽�夋嫨" size="small"
+ style="width: 100%;"></el-cascader>
</el-form-item>
</el-col>
<el-col :span="12">
@@ -148,7 +149,7 @@
</el-col>
</el-row>
<el-row>
- <el-col :span="12">
+ <!-- <el-col :span="12">
<el-form-item label="璇曢獙鏂规硶锛�" prop="method">
<el-select v-model="editForm.method" clearable multiple placeholder="璇烽�夋嫨" size="small"
style="width: 100%">
@@ -156,8 +157,8 @@
:value="item.label"></el-option>
</el-select>
</el-form-item>
- </el-col>
- <!-- <el-col :span="12">
+ </el-col> -->
+ <el-col :span="12">
<el-form-item label="璇曢獙鏉′欢锛�" prop="radiusList">
<el-select v-model="editForm.radiusList" allow-create default-first-option filterable multiple
placeholder="璇烽�夋嫨" size="small" style="width: 100%">
@@ -165,12 +166,29 @@
:value="item.value"></el-option>
</el-select>
</el-form-item>
- </el-col> -->
- </el-row>
- <el-row>
+ </el-col>
+ <el-col :span="12">
+ <el-form-item label="棰戞锛�" prop="frequency">
+ <el-input v-model="editForm.frequency" clearable size="small"></el-input>
+ </el-form-item>
+ </el-col>
+ <el-col :span="12">
+ <el-form-item label="鏀惰垂鏍囧噯鍒嗙粍" prop="ratesGroup">
+ <el-input v-model="editForm.ratesGroup" clearable size="small"></el-input>
+ </el-form-item>
+ </el-col>
<el-col :span="12">
<el-form-item label="鏀惰垂鏍囧噯(鍏�/娆�)锛�" prop="rates">
<el-input v-model="editForm.rates" clearable size="small"></el-input>
+ </el-form-item>
+ </el-col>
+ <el-col :span="12">
+ <el-form-item label="鏄惁濮旀墭瑕佹眰锛�" prop="rates">
+ <el-select v-model="editForm.delegateRequestFlag" clearable placeholder="璇烽�夋嫨" size="small"
+ style="width: 100%">
+ <el-option v-for="item in dict.type.inspection_bsm" :key="item.value" :label="item.label"
+ :value="item.value"></el-option>
+ </el-select>
</el-form-item>
</el-col>
</el-row>
@@ -236,6 +254,9 @@
method: '', // 璇曢獙鏂规硶
radiusList: [], // 鏉′欢
rates: '', // 鏉′欢
+ delegateRequestFlag: null,//鏄惁濮旀墭瑕佹眰
+ frequency: null,
+ ratesGroup: null,
},
sampleList: [], // 妫�楠屽璞′笅鎷夋
laboratoryList: [], // 鍦烘墍涓嬫媺妗�
@@ -309,6 +330,7 @@
method: '', // 璇曢獙鏂规硶
radiusList: [], // 鏉′欢
rates: '', // 鏉′欢
+ delegateRequestFlag: null,//鏄惁濮旀墭瑕佹眰
}
this.resetForm('editForm')
} else {
@@ -389,6 +411,7 @@
val.children.forEach(a => {
a.label = a.name
a.value = a.id
+ a.labelName = a.name
this.cascaderFieldData(a)
})
}
--
Gitblit v1.9.3