部门换接口
This commit is contained in:
@@ -25,6 +25,14 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="重置方式" prop="resetMethod" :rules="[{ required: true, message: '不能为空', trigger: 'blur' }]">
|
||||
<el-radio-group v-model="dataForm.resetMethod">
|
||||
<el-radio :label="0">自动</el-radio>
|
||||
<el-radio :label="1">手动</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="检测内容" prop="inspectionDetIdList"
|
||||
:rules="[{ required: true, message: '不能为空', trigger: 'change' }]">
|
||||
@@ -109,6 +117,7 @@ export default {
|
||||
sectionId: null,
|
||||
productionLineId: null,
|
||||
inspectionDetIdList:[],
|
||||
resetMethod: 0
|
||||
},
|
||||
disabled:false,
|
||||
formLoading: true,
|
||||
@@ -143,7 +152,7 @@ export default {
|
||||
methods: {
|
||||
init(obj) {
|
||||
// console.log(productionLineId);
|
||||
console.log(obj)
|
||||
console.log('你好打印', obj)
|
||||
this.getProductionLineList()
|
||||
this.getQualityInspectionDetList()
|
||||
this.visible = true
|
||||
@@ -162,6 +171,7 @@ export default {
|
||||
console.log(res);
|
||||
this.dataForm.inspectionDetIdList = res.data
|
||||
this.dataForm.productionLineId = obj.productionLineId
|
||||
this.dataForm.resetMethod = obj.resetMethod
|
||||
this.getWorksectionList(obj.productionLineId)
|
||||
this.dataForm.sectionId = obj.sectionId
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user