diff --git a/src/views/report/ingredientReport/day.vue b/src/views/report/ingredientReport/day.vue
index 399495e6..8bb92432 100644
--- a/src/views/report/ingredientReport/day.vue
+++ b/src/views/report/ingredientReport/day.vue
@@ -1,7 +1,7 @@
@@ -24,19 +24,20 @@
-->
-
-
-
+
+
+
+
+
-
-
-
-
-
-
+
@@ -41,6 +41,7 @@ import {
} from '@/api/report/qcReport';
import tableHeightMixin from '@/mixins/lb/tableHeightMixin';
import FileSaver from 'file-saver'
+import { parseTime } from '../../../core/mixins/code-filter';
// import { getList, } from "@/api/base/qualityScrapType";
const tableProps = [
// {
@@ -70,7 +71,7 @@ const tableProps = [
},
{
prop: 'thickness',
- label: '厚度'
+ label: '厚度mm'
},
{
prop: 'glassCode',
@@ -79,7 +80,9 @@ const tableProps = [
{
prop: 'stackingType',
label: '堆垛方式',
- filter: (val) => val == 1 ? '集装架' : '堵头箱',
+ // filter: (val) =>
+ // val != null ? ['集装架', '堵头箱'][val] : '',
+ // filter: ((val) => { val == 1 ? '集装架' : '堵头箱' }),
},
{
prop: 'pieces',
@@ -95,16 +98,16 @@ const tableProps = [
},
{
prop: 'dusting',
- label: '堆垛情况',
+ label: '喷粉情况',
},
{
prop: 'palletNumber',
- label: '堆垛时间',
- },
- {
- prop: 'endTime',
label: '集装架号',
},
+ {
+ prop: 'remark',
+ label: '备注',
+ }
]
}
];
@@ -318,7 +321,23 @@ export default {
// // console.log();
// // }
// })
- this.tableData = response.data
+ this.tableData = response.data.map((ele) => {
+ return {
+ lineName: ele.lineName,
+ className: ele.className,
+ groupName: ele.groupName,
+ size: ele.size,
+ thickness: ele.thickness,
+ glassCode: ele.glassCode,
+ stackingType: ele.stackingType == 1 ? '集装架' : '堵头箱',
+ pieces: ele.pieces,
+ originCode: ele.originCode,
+ endTime: parseTime(ele.endTime),
+ dusting: ele.dusting,
+ palletNumber: ele.palletNumber,
+ remark:ele.remark
+ }
+ })
// let obj = {}
// response.data.reduce((prev, curr) => {
// console.log(prev, curr)
@@ -405,12 +424,12 @@ export default {
},
};
-