|
|
@ -61,16 +61,16 @@
|
|
|
|
></el-option>
|
|
|
|
></el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<!-- <el-form-item label="是否降级品" prop="isDowngrade">-->
|
|
|
|
<!-- <el-form-item label="是否降级品" prop="isDowngrade">-->
|
|
|
|
<!-- <el-select v-model="queryParams.isDowngrade" placeholder="请选择是否降级品" clearable>-->
|
|
|
|
<!-- <el-select v-model="queryParams.isDowngrade" placeholder="请选择是否降级品" clearable>-->
|
|
|
|
<!-- <el-option-->
|
|
|
|
<!-- <el-option-->
|
|
|
|
<!-- v-for="item in isDowngradeList"-->
|
|
|
|
<!-- v-for="item in isDowngradeList"-->
|
|
|
|
<!-- :key="item.key"-->
|
|
|
|
<!-- :key="item.key"-->
|
|
|
|
<!-- :label="item.label"-->
|
|
|
|
<!-- :label="item.label"-->
|
|
|
|
<!-- :value="item.key"-->
|
|
|
|
<!-- :value="item.key"-->
|
|
|
|
<!-- ></el-option>-->
|
|
|
|
<!-- ></el-option>-->
|
|
|
|
<!-- </el-select>-->
|
|
|
|
<!-- </el-select>-->
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
<el-form-item label="起止时间">
|
|
|
|
<el-form-item label="起止时间">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
v-model="daterangeBeginTime"
|
|
|
|
v-model="daterangeBeginTime"
|
|
|
@ -99,7 +99,10 @@
|
|
|
|
>导出
|
|
|
|
>导出
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
|
|
|
|
<div style="float: right">
|
|
|
|
|
|
|
|
<span style="font-weight: 700; padding-right: 20px">{{ this.customData }}</span>
|
|
|
|
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="reportList" @selection-change="handleSelectionChange">
|
|
|
|
<el-table v-loading="loading" :data="reportList" @selection-change="handleSelectionChange">
|
|
|
@ -199,6 +202,7 @@ import {
|
|
|
|
} from '@/api/report/reportAPI'
|
|
|
|
} from '@/api/report/reportAPI'
|
|
|
|
import { findProductLineList } from '@//api/base/productLine'
|
|
|
|
import { findProductLineList } from '@//api/base/productLine'
|
|
|
|
import { parseTime } from '@//utils/ruoyi'
|
|
|
|
import { parseTime } from '@//utils/ruoyi'
|
|
|
|
|
|
|
|
import { getCustomData } from '@//api/base/customData'
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: 'ProductTraceabilityReport',
|
|
|
|
name: 'ProductTraceabilityReport',
|
|
|
@ -262,13 +266,19 @@ export default {
|
|
|
|
// 产线选项
|
|
|
|
// 产线选项
|
|
|
|
productLineList: [],
|
|
|
|
productLineList: [],
|
|
|
|
// 工位选项
|
|
|
|
// 工位选项
|
|
|
|
findStationList: []
|
|
|
|
findStationList: [],
|
|
|
|
|
|
|
|
//自定义数据
|
|
|
|
|
|
|
|
customData: null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
findProductLineList({ productLineType: 1 }).then(response => {
|
|
|
|
findProductLineList({ productLineType: 1 }).then(response => {
|
|
|
|
this.productLineList = response.data
|
|
|
|
this.productLineList = response.data
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
//获取自定义数据
|
|
|
|
|
|
|
|
getCustomData(382).then(response => {
|
|
|
|
|
|
|
|
this.customData = response.data.customData
|
|
|
|
|
|
|
|
})
|
|
|
|
// findProductLineList({productLineType: 2}).then(response => {
|
|
|
|
// findProductLineList({productLineType: 2}).then(response => {
|
|
|
|
// this.findStationList = response.data;
|
|
|
|
// this.findStationList = response.data;
|
|
|
|
// });
|
|
|
|
// });
|
|
|
|