|
|
@ -155,6 +155,8 @@ export default {
|
|
|
|
title: '',
|
|
|
|
title: '',
|
|
|
|
// 是否显示弹出层
|
|
|
|
// 是否显示弹出层
|
|
|
|
open: false,
|
|
|
|
open: false,
|
|
|
|
|
|
|
|
// 类型 1-箱体 2-门体
|
|
|
|
|
|
|
|
type: null,
|
|
|
|
// 查询参数
|
|
|
|
// 查询参数
|
|
|
|
queryParams: {
|
|
|
|
queryParams: {
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
@ -234,13 +236,16 @@ export default {
|
|
|
|
findProductLineList({ productLineType: 1 }).then(response => {
|
|
|
|
findProductLineList({ productLineType: 1 }).then(response => {
|
|
|
|
this.productLineList = response.data
|
|
|
|
this.productLineList = response.data
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.type = this.$route.query.type;
|
|
|
|
|
|
|
|
|
|
|
|
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
|
|
|
|
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
|
|
|
|
this.daterangeBeginTime[0] = nowDate + ' 00:00:00'
|
|
|
|
this.daterangeBeginTime[0] = nowDate + ' 00:00:00'
|
|
|
|
this.daterangeBeginTime[1] = nowDate + ' 23:59:59'
|
|
|
|
this.daterangeBeginTime[1] = nowDate + ' 23:59:59'
|
|
|
|
this.getList()
|
|
|
|
this.getList()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
/** 查询箱体发泡注料记录报表列表 */
|
|
|
|
/** 查询门体、箱体发泡注料记录报表列表 */
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
if (null != this.daterangeBeginTime && '' != this.daterangeBeginTime) {
|
|
|
|
if (null != this.daterangeBeginTime && '' != this.daterangeBeginTime) {
|
|
|
|
this.queryParams.beginBeginTime = this.daterangeBeginTime[0]
|
|
|
|
this.queryParams.beginBeginTime = this.daterangeBeginTime[0]
|
|
|
@ -249,6 +254,19 @@ export default {
|
|
|
|
this.queryParams.beginBeginTime = null
|
|
|
|
this.queryParams.beginBeginTime = null
|
|
|
|
this.queryParams.endBeginTime = null
|
|
|
|
this.queryParams.endBeginTime = null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//查询门体 2
|
|
|
|
|
|
|
|
if (this.type === '2'){
|
|
|
|
|
|
|
|
this.queryParams.stationNumber = '1020'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//查询箱体 1
|
|
|
|
|
|
|
|
if (this.type === '1' && this.queryParams.productLineCode === 'CX_02'){
|
|
|
|
|
|
|
|
this.queryParams.stationNumber = '1005'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//查询箱体 1
|
|
|
|
|
|
|
|
if (this.type === '1' && this.queryParams.productLineCode === 'CX_01'){
|
|
|
|
|
|
|
|
this.queryParams.stationNumber = '1105'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.loading = true
|
|
|
|
this.loading = true
|
|
|
|
listLastShotRecord(this.queryParams).then(response => {
|
|
|
|
listLastShotRecord(this.queryParams).then(response => {
|
|
|
|
this.lastShotRecordList = response.rows
|
|
|
|
this.lastShotRecordList = response.rows
|
|
|
|