|
|
@ -1,6 +1,16 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="app-container">
|
|
|
|
<div class="app-container">
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
|
|
|
|
|
<el-form-item label="产线" prop="PRODUCT_LINE_CODE">
|
|
|
|
|
|
|
|
<el-select v-model="queryParams.PRODUCT_LINE_CODE" placeholder="请选择产线" clearable>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="item in productLineList"
|
|
|
|
|
|
|
|
:key="item.productLineCode"
|
|
|
|
|
|
|
|
:label="item.productLineName"
|
|
|
|
|
|
|
|
:value="item.productLineCode"
|
|
|
|
|
|
|
|
></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="箱体码" prop="perfusionBoxcode">
|
|
|
|
<el-form-item label="箱体码" prop="perfusionBoxcode">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="queryParams.perfusionBoxcode"
|
|
|
|
v-model="queryParams.perfusionBoxcode"
|
|
|
@ -81,6 +91,7 @@
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="产量" align="center" prop="yield" v-if="columns[15].visible"/>
|
|
|
|
<el-table-column label="产量" align="center" prop="yield" v-if="columns[15].visible"/>
|
|
|
|
<el-table-column label="灌注完成状态字" align="center" prop="finishStatus" v-if="columns[16].visible" width="120"/>
|
|
|
|
<el-table-column label="灌注完成状态字" align="center" prop="finishStatus" v-if="columns[16].visible" width="120"/>
|
|
|
|
|
|
|
|
<el-table-column label="产线" align="center" prop="PRODUCT_LINE_CODE" v-if="columns[17].visible" width="120"/>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
|
|
<pagination
|
|
|
|
<pagination
|
|
|
@ -101,6 +112,7 @@ import {
|
|
|
|
getPerfusionRecord
|
|
|
|
getPerfusionRecord
|
|
|
|
} from '@/api/report/perfusionRecord'
|
|
|
|
} from '@/api/report/perfusionRecord'
|
|
|
|
import { parseTime } from '@//utils/ruoyi'
|
|
|
|
import { parseTime } from '@//utils/ruoyi'
|
|
|
|
|
|
|
|
import { findProductLineList } from '@//api/base/productLine'
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: 'PerfusionRecord',
|
|
|
|
name: 'PerfusionRecord',
|
|
|
@ -145,6 +157,7 @@ export default {
|
|
|
|
updatedBy: null,
|
|
|
|
updatedBy: null,
|
|
|
|
updatedTime: null,
|
|
|
|
updatedTime: null,
|
|
|
|
perfusionResult: null,
|
|
|
|
perfusionResult: null,
|
|
|
|
|
|
|
|
PRODUCT_LINE_CODE: 'CX_02',
|
|
|
|
yield: null,
|
|
|
|
yield: null,
|
|
|
|
finishStatus: null
|
|
|
|
finishStatus: null
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -169,11 +182,17 @@ export default {
|
|
|
|
{ key: 13, label: `更新时间`, visible: true },
|
|
|
|
{ key: 13, label: `更新时间`, visible: true },
|
|
|
|
{ key: 14, label: `灌注结果`, visible: true },
|
|
|
|
{ key: 14, label: `灌注结果`, visible: true },
|
|
|
|
{ key: 15, label: `产量`, visible: true },
|
|
|
|
{ key: 15, label: `产量`, visible: true },
|
|
|
|
{ key: 16, label: `灌注完成状态字`, visible: false }
|
|
|
|
{ key: 16, label: `灌注完成状态字`, visible: false },
|
|
|
|
]
|
|
|
|
{ key: 17, label: `产线`, visible: false },
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
// 产线选项
|
|
|
|
|
|
|
|
productLineList: [],
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
|
|
|
|
findProductLineList({ productLineType: 1 }).then(response => {
|
|
|
|
|
|
|
|
this.productLineList = response.data
|
|
|
|
|
|
|
|
})
|
|
|
|
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
|
|
|
|
const nowDate = parseTime(new Date(), '{y}-{m}-{d}')
|
|
|
|
this.daterangeCreatedTime[0] = nowDate + ' 00:00:00'
|
|
|
|
this.daterangeCreatedTime[0] = nowDate + ' 00:00:00'
|
|
|
|
this.daterangeCreatedTime[1] = nowDate + ' 23:59:59'
|
|
|
|
this.daterangeCreatedTime[1] = nowDate + ' 23:59:59'
|
|
|
|