|
|
@ -208,16 +208,16 @@ |
|
|
<el-form-item :label="'方法名称'"> |
|
|
<el-form-item :label="'方法名称'"> |
|
|
<el-input v-model="methodData.methodName" clearable style="width: 120px"></el-input> |
|
|
<el-input v-model="methodData.methodName" clearable style="width: 120px"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="'检验类型'"> |
|
|
|
|
|
<el-select v-model="methodData.inspectionTypeNo" style="width: 100px"> |
|
|
|
|
|
<el-option |
|
|
|
|
|
v-for = "i in options" |
|
|
|
|
|
:key = "i.inspectionTypeNo" |
|
|
|
|
|
:label = "i.inspectionTypeName" |
|
|
|
|
|
:value = "i.inspectionTypeNo"> |
|
|
|
|
|
</el-option> |
|
|
|
|
|
</el-select> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
<!-- <el-form-item :label="'检验类型'">--> |
|
|
|
|
|
<!-- <el-select v-model="methodData.inspectionTypeNo" style="width: 100px">--> |
|
|
|
|
|
<!-- <el-option--> |
|
|
|
|
|
<!-- v-for = "i in options"--> |
|
|
|
|
|
<!-- :key = "i.inspectionTypeNo"--> |
|
|
|
|
|
<!-- :label = "i.inspectionTypeName"--> |
|
|
|
|
|
<!-- :value = "i.inspectionTypeNo">--> |
|
|
|
|
|
<!-- </el-option>--> |
|
|
|
|
|
<!-- </el-select>--> |
|
|
|
|
|
<!-- </el-form-item>--> |
|
|
<el-form-item :label="' '"> |
|
|
<el-form-item :label="' '"> |
|
|
<el-button type="primary" @click="queryMethodList">查询</el-button> |
|
|
<el-button type="primary" @click="queryMethodList">查询</el-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
@ -1040,6 +1040,7 @@ |
|
|
// 获取检验方法列表 |
|
|
// 获取检验方法列表 |
|
|
queryMethodList () { |
|
|
queryMethodList () { |
|
|
this.methodData.bu = this.modalData.bu |
|
|
this.methodData.bu = this.modalData.bu |
|
|
|
|
|
this.methodData.inspectionTypeNo = this.modalData.inspectionTypeNo |
|
|
queryMethodList(this.methodData).then(({data}) => { |
|
|
queryMethodList(this.methodData).then(({data}) => { |
|
|
if (data && data.code === 0) { |
|
|
if (data && data.code === 0) { |
|
|
this.methodList = data.rows |
|
|
this.methodList = data.rows |
|
|
|