|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
<template> |
|
|
|
|
<basic-container> |
|
|
|
|
<!-- @on-load="onLoad" --> |
|
|
|
|
<!-- @on-load="onLoad" --> |
|
|
|
|
<avue-crud |
|
|
|
|
:option="option" |
|
|
|
|
:table-loading="loading" |
|
|
|
|
@ -16,7 +16,6 @@ |
|
|
|
|
@current-change="currentChange" |
|
|
|
|
@size-change="sizeChange" |
|
|
|
|
@refresh-change="refreshChange" |
|
|
|
|
|
|
|
|
|
> |
|
|
|
|
<template #menu-left> </template> |
|
|
|
|
<template #menu-right> </template> |
|
|
|
|
@ -149,6 +148,14 @@ export default { |
|
|
|
|
searchOrder: 13, |
|
|
|
|
hide: true, |
|
|
|
|
type: 'select', |
|
|
|
|
dicUrl: '/blade-scheduling/qualityGrade/selectList', |
|
|
|
|
props: { |
|
|
|
|
label: 'qualityGrade', |
|
|
|
|
value: 'id', |
|
|
|
|
}, |
|
|
|
|
change: (val, row) => { |
|
|
|
|
this.onChangeData(val.item, 'productIdentId'); |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '工序', |
|
|
|
|
@ -240,6 +247,14 @@ export default { |
|
|
|
|
searchOrder: 15, |
|
|
|
|
hide: true, |
|
|
|
|
type: 'select', |
|
|
|
|
dicUrl: '/blade-scheduling/certificateType/selectList', |
|
|
|
|
props: { |
|
|
|
|
label: 'name', |
|
|
|
|
value: 'id', |
|
|
|
|
}, |
|
|
|
|
change: val => { |
|
|
|
|
this.onChangeData(val.item, 'certificateId'); |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '作业中心', |
|
|
|
|
@ -342,6 +357,12 @@ export default { |
|
|
|
|
if (val && type == 'processId') { |
|
|
|
|
this.query.processName = val.name; |
|
|
|
|
} |
|
|
|
|
if (val && type == 'certificateId') { |
|
|
|
|
this.query.certificateName = val.name; |
|
|
|
|
} |
|
|
|
|
if (val && type == 'productIdentId') { |
|
|
|
|
this.query.productIdent = val.qualityGrade; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
formatDate(date) { |
|
|
|
|
const year = date.getFullYear(); |
|
|
|
|
@ -447,31 +468,35 @@ export default { |
|
|
|
|
query_.startTime = null; |
|
|
|
|
query_.endTime = null; |
|
|
|
|
} |
|
|
|
|
if(!!this.query.partCode){ |
|
|
|
|
if (!!this.query.partCode) { |
|
|
|
|
query_.partCode = this.query.partCode; |
|
|
|
|
} |
|
|
|
|
if(!!this.query.woCode){ |
|
|
|
|
if (!!this.query.woCode) { |
|
|
|
|
query_.woCode = this.query.woCode; |
|
|
|
|
} |
|
|
|
|
if(!!this.query.craftName){ |
|
|
|
|
if (!!this.query.craftName) { |
|
|
|
|
query_.craftName = this.query.craftName; |
|
|
|
|
} |
|
|
|
|
if(!!this.query.processName){ |
|
|
|
|
if (!!this.query.processName) { |
|
|
|
|
query_.processName = this.query.processName; |
|
|
|
|
} |
|
|
|
|
if(!!this.query.certificateName){ |
|
|
|
|
if (!!this.query.certificateName) { |
|
|
|
|
query_.certificateName = this.query.certificateName; |
|
|
|
|
} |
|
|
|
|
if (!!this.query.productIdent) { |
|
|
|
|
query_.productIdent = this.query.productIdent; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!!this.query.certificateName) { |
|
|
|
|
query_.certificateName = this.query.certificateName; |
|
|
|
|
} |
|
|
|
|
if(!!this.query.productIdent){ |
|
|
|
|
// |
|
|
|
|
if (!!this.query.productIdent) { |
|
|
|
|
query_.productIdent = this.query.productIdent; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.loading = true; |
|
|
|
|
getQualificationExecuteAnalysis( |
|
|
|
|
page.currentPage, |
|
|
|
|
page.pageSize, |
|
|
|
|
query_ |
|
|
|
|
).then(res => { |
|
|
|
|
getQualificationExecuteAnalysis(page.currentPage, page.pageSize, query_).then(res => { |
|
|
|
|
this.data = res.data.data.records; |
|
|
|
|
this.loading = false; |
|
|
|
|
this.page.total = res.data.data.total; |
|
|
|
|
|