feat: update mes management reports
This commit is contained in:
@@ -24,6 +24,17 @@
|
||||
<el-option label="来料检验" value="2" />
|
||||
<el-option label="退库检验" value="3" />
|
||||
</el-select>
|
||||
<span class="show-text">放行:</span>
|
||||
<el-select
|
||||
v-model="releaseStatus"
|
||||
clearable
|
||||
placeholder="请选择"
|
||||
style="width: 100px; margin-right: 10px"
|
||||
>
|
||||
<el-option label="全部" value="" />
|
||||
<el-option label="是" value="1" />
|
||||
<el-option label="否" value="0" />
|
||||
</el-select>
|
||||
<span class="show-text">质检日期起:</span>
|
||||
<el-date-picker
|
||||
v-model="startDate"
|
||||
@@ -72,6 +83,7 @@
|
||||
<el-table-column align="center" prop="检验数量" label="检验数量" width="120" />
|
||||
<el-table-column align="center" prop="合格数" label="合格数" width="120" />
|
||||
<el-table-column align="center" prop="不合格数" label="不合格数" width="120" />
|
||||
<el-table-column align="center" prop="放行数量" label="放行数量" width="120" />
|
||||
<el-table-column align="center" prop="检测人" label="检测人" width="100" />
|
||||
<el-table-column align="center" label="检测时间" width="160">
|
||||
<template slot-scope="scope">
|
||||
@@ -114,6 +126,7 @@ export default {
|
||||
contractNo:'',
|
||||
productCode:'',
|
||||
productName:'',
|
||||
releaseStatus:'',
|
||||
|
||||
|
||||
// 表格数据
|
||||
@@ -169,6 +182,7 @@ export default {
|
||||
param.push(["合同号", this.normalizeQueryValue(this.contractNo) ]);
|
||||
param.push(["零件编码", this.normalizeQueryValue(this.productCode) ]);
|
||||
param.push(["零件名称", this.normalizeQueryValue(this.productName) ]);
|
||||
param.push(["放行", this.normalizeReleaseStatusValue(this.releaseStatus) ]);
|
||||
|
||||
this.exporting = true
|
||||
const Data = this.CreateData('2001', '质量管理_质检明细_导出', param)
|
||||
@@ -249,6 +263,7 @@ export default {
|
||||
param.push(['PageSize', this.pageSize])
|
||||
param.push(['PageCount', '1111', 'int', '1'])
|
||||
param.push(['ItemCount', '1111', 'int', '1'])
|
||||
param.push(["放行", this.normalizeReleaseStatusValue(this.releaseStatus) ]);
|
||||
|
||||
var Data = this.CreateData('11', '质量管理_质检明细_查询', param)
|
||||
this.ExecDatabase(Data).then(response => {
|
||||
@@ -267,6 +282,10 @@ export default {
|
||||
return value === null || value === undefined || value === '' ? '0' : value
|
||||
},
|
||||
|
||||
normalizeReleaseStatusValue(value) {
|
||||
return value === null || value === undefined || value === '' ? null : value
|
||||
},
|
||||
|
||||
|
||||
getCurrentUser() {
|
||||
return this.$store.state.user.name
|
||||
|
||||
Reference in New Issue
Block a user