|
|
|
@ -232,6 +232,32 @@
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col>
|
|
|
|
|
<el-form-item label="抽样方案" prop="samplingPlan">
|
|
|
|
|
<el-select v-model="form.samplingPlan" placeholder="请选择抽样方案" style="width:100%">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.sampling_plan"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col>
|
|
|
|
|
<el-form-item label="缺陷类别" prop="defectCategory">
|
|
|
|
|
<el-select v-model="form.defectCategory" placeholder="请选择缺陷类别" style="width:100%">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.defect_category"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
@ -263,7 +289,7 @@ import {getProjectList} from "@/api/quality/project";
|
|
|
|
|
import SelectProject from "./selectProject.vue";
|
|
|
|
|
export default {
|
|
|
|
|
name: "CheckTypeProject",
|
|
|
|
|
dicts: ["qc_rule_prop",'unit'],
|
|
|
|
|
dicts: ["qc_rule_prop",'unit',"sampling_plan","defect_category"],
|
|
|
|
|
components: {MaterialGroupAdd,SelectProject},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|