-
+
diff --git a/src/views/quality/base/qualityScrapLog/index.vue b/src/views/quality/base/qualityScrapLog/index.vue
index d1be26a5..4ba3dce6 100644
--- a/src/views/quality/base/qualityScrapLog/index.vue
+++ b/src/views/quality/base/qualityScrapLog/index.vue
@@ -30,32 +30,41 @@ import {
} from '@/api/base/qualityScrapLog';
const tableProps = [
- {
- prop: 'createTime',
- label: '添加时间',
- filter: parseTime
+ // {
+ // prop: 'createTime',
+ // label: '添加时间',
+ // filter: parseTime
+ // },
+ {
+ prop: 'logTime',
+ label: '报废时间',
+ filter: parseTime
+ },
+ {
+ prop: 'lineName',
+ label: '产线名称'
+ },
+ {
+ prop: 'sectionName',
+ label: '工段'
},
{
prop: 'workOrderName',
- label: '工单'
+ label: '工单名称'
},
{
- prop: 'teamName',
- label: '班组'
+ prop: 'num',
+ label: '数量'
},
{
prop: 'detContent',
label: '报废原因'
},
- {
- prop: 'logTime',
- label: '报废时间',
- filter: parseTime
- },
- {
- prop: 'num',
- label: '数量'
- },
+ {
+ prop: 'source',
+ label: '来源',
+ filter: (val) => val == 1 ? '平板端' : '网页端'
+ },
];
export default {
diff --git a/src/views/quality/monitoring/statisticalData/index.vue b/src/views/quality/monitoring/statisticalData/index.vue
index be6ec9c3..3c493efc 100644
--- a/src/views/quality/monitoring/statisticalData/index.vue
+++ b/src/views/quality/monitoring/statisticalData/index.vue
@@ -286,6 +286,7 @@ export default {
// this.searchBarFormConfig[0].defaultSelect = [];
// }
this.getList()
+ this.getDict()
},
methods: {
/** 获取搜索栏的产线列表 */
@@ -320,7 +321,7 @@ export default {
// },
getList() {
this.getDataList()
- this.getDict()
+ // this.getDict()
},
/** 查询列表 */
async getDataList() {
@@ -330,7 +331,7 @@ export default {
const {
data: { data, otherList, otherMap, nameData },
} = await getStatisticalDataPage(this.queryParams)
- console.log(this.queryParams);
+ // console.log(this.queryParams);
this.dynamicProps = this.filterNameData(nameData)
this.list = this.filterData(data);
},
@@ -373,7 +374,7 @@ export default {
this.getList()
}
- console.log(val);
+ // console.log(val);
}
/** 搜索按钮操作 */
// handleQuery() {