Browse Source

增加查询条件,修改bug

java8
赵宏斌 3 months ago
parent
commit
7917ed1e59
  1. 2
      src/views/modules/qc/qcItem3.vue
  2. 24
      src/views/modules/qc/qcTemplate2.vue
  3. 28
      src/views/modules/qc/qcTemplate3.vue

2
src/views/modules/qc/qcItem3.vue

@ -1419,7 +1419,7 @@
methodNo: 'IPQC-0001', methodNo: 'IPQC-0001',
methodName: '', methodName: '',
updateBy: '', updateBy: '',
inspectionTypeNo: 'PF',
inspectionTypeNo: '***',
itemSamplingQuantity: '', itemSamplingQuantity: '',
samplingProgrammeNo: '', samplingProgrammeNo: '',
samplingProgrammeDesc: '', samplingProgrammeDesc: '',

24
src/views/modules/qc/qcTemplate2.vue

@ -18,6 +18,16 @@
<el-form-item :label="'模板名称'"> <el-form-item :label="'模板名称'">
<el-input v-model="searchData.templateName" clearable style="width: 200px"></el-input> <el-input v-model="searchData.templateName" clearable style="width: 200px"></el-input>
</el-form-item> </el-form-item>
<el-form-item :label="'使用工序'">
<el-select v-model="searchData.operation" placeholder="请选择" style="width: 221px" filterable clearable>
<el-option
v-for = "i in operationList"
:key = "i.operationNo"
:label = "i.operationDesc"
:value = "i.operationDesc">
</el-option>
</el-select>
</el-form-item>
<!-- <el-form-item label="检验类型">--> <!-- <el-form-item label="检验类型">-->
<!-- <el-select v-model="searchData.inspectionTypeNo" placeholder="请选择" style="width: 100px">--> <!-- <el-select v-model="searchData.inspectionTypeNo" placeholder="请选择" style="width: 100px">-->
<!-- <el-option label="全部" value=""></el-option>--> <!-- <el-option label="全部" value=""></el-option>-->
@ -189,7 +199,7 @@
<!-- </el-form>--> <!-- </el-form>-->
<el-form :inline="true" label-position="top" style="margin-left: 7px;margin-top: -5px;"> <el-form :inline="true" label-position="top" style="margin-left: 7px;margin-top: -5px;">
<el-form-item label="版本号"> <el-form-item label="版本号">
<el-input v-model="modalData.templateVersion" :disabled="modalDisableFlag" style="width: 221px"></el-input>
<el-input v-model="modalData.templateVersion" style="width: 221px"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="检验模板备注"> <el-form-item label="检验模板备注">
<el-input v-model="modalData.templateRemark" style="width: 221px"></el-input> <el-input v-model="modalData.templateRemark" style="width: 221px"></el-input>
@ -1104,6 +1114,10 @@
this.favoriteIsOk() this.favoriteIsOk()
// //
this.inspectionTypeSearch() this.inspectionTypeSearch()
//
this.queryTemplateSortList()
//
this.getSpecialOperationList()
// //
this.getTableUserColumn(this.$route.meta.menuId+'table',1) this.getTableUserColumn(this.$route.meta.menuId+'table',1)
if (!this.authSearch) { if (!this.authSearch) {
@ -1408,10 +1422,6 @@
ac: '', ac: '',
re: '' re: ''
} }
//
this.queryTemplateSortList()
//
this.getSpecialOperationList()
this.modalDisableFlag = false this.modalDisableFlag = false
this.modalFlag = true this.modalFlag = true
}, },
@ -1463,7 +1473,9 @@
ac: row.ac, ac: row.ac,
re: row.re, re: row.re,
defaultSamplingQuantity: row.defaultSamplingQuantity, defaultSamplingQuantity: row.defaultSamplingQuantity,
defaultSamplingProportion: row.defaultSamplingProportion
defaultSamplingProportion: row.defaultSamplingProportion,
templateSort : row.templateSort,
operation : row.operation
} }
this.modalDisableFlag = true this.modalDisableFlag = true
this.modalFlag = true this.modalFlag = true

28
src/views/modules/qc/qcTemplate3.vue

@ -18,6 +18,16 @@
<el-form-item :label="'模板名称'"> <el-form-item :label="'模板名称'">
<el-input v-model="searchData.templateName" clearable style="width: 200px"></el-input> <el-input v-model="searchData.templateName" clearable style="width: 200px"></el-input>
</el-form-item> </el-form-item>
<el-form-item :label="'使用工序'">
<el-select v-model="searchData.operation" placeholder="请选择" style="width: 221px" filterable clearable>
<el-option
v-for = "i in operationList"
:key = "i.operationNo"
:label = "i.operationDesc"
:value = "i.operationDesc">
</el-option>
</el-select>
</el-form-item>
<!-- <el-form-item label="检验类型">--> <!-- <el-form-item label="检验类型">-->
<!-- <el-select v-model="searchData.inspectionTypeNo" placeholder="请选择" style="width: 100px">--> <!-- <el-select v-model="searchData.inspectionTypeNo" placeholder="请选择" style="width: 100px">-->
<!-- <el-option label="全部" value=""></el-option>--> <!-- <el-option label="全部" value=""></el-option>-->
@ -190,7 +200,7 @@
<!-- </el-form>--> <!-- </el-form>-->
<el-form :inline="true" label-position="top" style="margin-left: 7px;margin-top: -5px;"> <el-form :inline="true" label-position="top" style="margin-left: 7px;margin-top: -5px;">
<el-form-item label="版本号"> <el-form-item label="版本号">
<el-input v-model="modalData.templateVersion" :disabled="modalDisableFlag" style="width: 221px"></el-input>
<el-input v-model="modalData.templateVersion" style="width: 221px"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="检验模板备注"> <el-form-item label="检验模板备注">
<el-input v-model="modalData.templateRemark" style="width: 221px"></el-input> <el-input v-model="modalData.templateRemark" style="width: 221px"></el-input>
@ -1106,6 +1116,10 @@
this.favoriteIsOk() this.favoriteIsOk()
// //
this.inspectionTypeSearch() this.inspectionTypeSearch()
//
this.queryTemplateSortList()
//
this.getSpecialOperationList()
// //
this.getTableUserColumn(this.$route.meta.menuId+'table',1) this.getTableUserColumn(this.$route.meta.menuId+'table',1)
if (!this.authSearch) { if (!this.authSearch) {
@ -1254,9 +1268,9 @@
* 查询检验项目 * 查询检验项目
*/ */
getItem () { getItem () {
getItemList(this.detailData).then(({data}) => {
getItem(this.detailData).then(({data}) => {
if (data.code === 0) { if (data.code === 0) {
this.itemList1 = data.row1
this.itemList1 = data.rows
} }
}) })
}, },
@ -1410,10 +1424,6 @@
ac: '', ac: '',
re: '' re: ''
} }
//
this.queryTemplateSortList()
//
this.getSpecialOperationList()
this.modalDisableFlag = false this.modalDisableFlag = false
this.modalFlag = true this.modalFlag = true
}, },
@ -1465,7 +1475,9 @@
ac: row.ac, ac: row.ac,
re: row.re, re: row.re,
defaultSamplingQuantity: row.defaultSamplingQuantity, defaultSamplingQuantity: row.defaultSamplingQuantity,
defaultSamplingProportion: row.defaultSamplingProportion
defaultSamplingProportion: row.defaultSamplingProportion,
templateSort : row.templateSort,
operation : row.operation
} }
this.modalDisableFlag = true this.modalDisableFlag = true
this.modalFlag = true this.modalFlag = true

Loading…
Cancel
Save