|
|
@@ -39,9 +39,9 @@
|
|
|
:key="index"
|
|
|
v-if="item.taskTypeName === '挤压成型'"
|
|
|
>
|
|
|
- <el-col :span="24" class="bg top"
|
|
|
- ><div class="title">{{ index + 1 }}0 挤压成型</div></el-col
|
|
|
- >
|
|
|
+ <el-col :span="24" class="bg top">
|
|
|
+ <div class="title">{{ index + 1 }}0 挤压成型</div>
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :span="10" class="bg top">备注:</el-col> -->
|
|
|
<template v-for="(itm, idx) in item.list || []">
|
|
|
<el-col
|
|
|
@@ -65,9 +65,9 @@
|
|
|
:key="index"
|
|
|
v-else-if="item.taskTypeName === '自然干燥'"
|
|
|
>
|
|
|
- <el-col :span="24" class="bg top"
|
|
|
- ><div class="title">{{ index + 1 }}0 自然干燥</div></el-col
|
|
|
- >
|
|
|
+ <el-col :span="24" class="bg top">
|
|
|
+ <div class="title">{{ index + 1 }}0 自然干燥</div>
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :span="10" class="bg top">备注:</el-col> -->
|
|
|
<template v-for="(itm, idx) in item.list || []">
|
|
|
<el-col
|
|
|
@@ -90,9 +90,9 @@
|
|
|
:key="index"
|
|
|
v-else-if="item.taskTypeName === '升温干燥'"
|
|
|
>
|
|
|
- <el-col :span="24" class="bg top"
|
|
|
- ><div class="title">{{ index + 1 }}0 升温干燥</div></el-col
|
|
|
- >
|
|
|
+ <el-col :span="24" class="bg top">
|
|
|
+ <div class="title">{{ index + 1 }}0 升温干燥</div>
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :span="10" class="bg top">备注:</el-col> -->
|
|
|
|
|
|
<template v-for="(itm, idx) in item.list || []">
|
|
|
@@ -116,9 +116,9 @@
|
|
|
:key="index"
|
|
|
v-else-if="item.taskTypeName.includes('定长')"
|
|
|
>
|
|
|
- <el-col :span="24" class="bg top"
|
|
|
- ><div class="title">{{ index + 1 }}0 半加定长</div></el-col
|
|
|
- >
|
|
|
+ <el-col :span="24" class="bg top">
|
|
|
+ <div class="title">{{ index + 1 }}0 半加定长</div>
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :span="10" class="bg top">备注:</el-col> -->
|
|
|
<template v-for="(itm, idx) in item.list || []">
|
|
|
<el-col
|
|
|
@@ -141,9 +141,9 @@
|
|
|
:key="index"
|
|
|
v-else-if="item.taskTypeName === '备炉'"
|
|
|
>
|
|
|
- <el-col :span="24" class="bg top"
|
|
|
- ><div class="title">{{ index + 1 }}0 备炉</div></el-col
|
|
|
- >
|
|
|
+ <el-col :span="24" class="bg top">
|
|
|
+ <div class="title">{{ index + 1 }}0 备炉</div>
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :span="10" class="bg top">备注:</el-col> -->
|
|
|
<template v-for="(itm, idx) in item.list || []">
|
|
|
<el-col
|
|
|
@@ -166,9 +166,9 @@
|
|
|
:key="index"
|
|
|
v-else-if="item.taskTypeName === '烧结'"
|
|
|
>
|
|
|
- <el-col :span="24" class="bg top"
|
|
|
- ><div class="title">{{ index + 1 }}0 烧结</div></el-col
|
|
|
- >
|
|
|
+ <el-col :span="24" class="bg top">
|
|
|
+ <div class="title">{{ index + 1 }}0 烧结</div>
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :span="10" class="bg top">备注:</el-col> -->
|
|
|
<template v-for="(itm, idx) in item.list || []">
|
|
|
<el-col
|
|
|
@@ -191,9 +191,9 @@
|
|
|
:key="index"
|
|
|
v-else-if="item.taskTypeName === '质检'"
|
|
|
>
|
|
|
- <el-col :span="24" class="bg top"
|
|
|
- ><div class="title">{{ index + 1 }}0 质检</div></el-col
|
|
|
- >
|
|
|
+ <el-col :span="24" class="bg top">
|
|
|
+ <div class="title">{{ index + 1 }}0 质检</div>
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :span="10" class="bg top">备注:</el-col> -->
|
|
|
<template v-for="(itm, idx) in item.list || []">
|
|
|
<el-col
|
|
|
@@ -216,9 +216,9 @@
|
|
|
:key="index"
|
|
|
v-else-if="item.taskTypeName === '包装'"
|
|
|
>
|
|
|
- <el-col :span="24" class="bg top"
|
|
|
- ><div class="title">{{ index + 1 }}0 包装</div></el-col
|
|
|
- >
|
|
|
+ <el-col :span="24" class="bg top">
|
|
|
+ <div class="title">{{ index + 1 }}0 包装</div>
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :span="10" class="bg top">备注:</el-col> -->
|
|
|
<template v-for="(itm, idx) in item.list || []">
|
|
|
<el-col
|
|
|
@@ -246,14 +246,11 @@
|
|
|
>物料编号:{{ material.code }}
|
|
|
</el-col>
|
|
|
<el-col :span="4" class="border-dashed-right border-dashed-bottom"
|
|
|
- >数量:{{ material.number }}
|
|
|
+ >物料数量:{{ material.number }}
|
|
|
</el-col>
|
|
|
- <el-col :span="4" class="border-dashed-right border-dashed-bottom"
|
|
|
+ <el-col :span="8" class="border-dashed-right border-dashed-bottom"
|
|
|
>批次号:{{ material.batchNo }}
|
|
|
</el-col>
|
|
|
- <el-col :span="4" class="border-dashed-right border-dashed-bottom"
|
|
|
- >数量:{{ material.number }}
|
|
|
- </el-col>
|
|
|
</el-col>
|
|
|
</template>
|
|
|
<el-col :span="24" v-if="!(item.list && item.list.length)">
|
|
|
@@ -265,9 +262,9 @@
|
|
|
class="processes-data"
|
|
|
v-else-if="item.taskTypeName.includes('库')"
|
|
|
>
|
|
|
- <el-col :span="24" class="bg top"
|
|
|
- ><div class="title">{{ index + 1 }}0 入库</div></el-col
|
|
|
- >
|
|
|
+ <el-col :span="24" class="bg top">
|
|
|
+ <div class="title">{{ index + 1 }}0 入库</div>
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :span="10" class="bg top">备注:</el-col> -->
|
|
|
<template v-for="(itm, idx) in item.list || []">
|
|
|
<el-col
|
|
|
@@ -286,16 +283,16 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="processes-data" :key="index" v-else>
|
|
|
- <el-col :span="24" class="bg top"
|
|
|
- ><div class="title"
|
|
|
+ <el-col :span="24" class="bg top">
|
|
|
+ <div class="title"
|
|
|
>{{ index + 1 }}0
|
|
|
{{
|
|
|
item.taskTypeName === '深加工'
|
|
|
? '深加工(精磨)'
|
|
|
: item.taskTypeName
|
|
|
}}</div
|
|
|
- ></el-col
|
|
|
- >
|
|
|
+ >
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :span="10" class="bg top">备注:</el-col> -->
|
|
|
<template v-for="(itm, idx) in item.list || []">
|
|
|
<el-col
|
|
|
@@ -346,7 +343,7 @@
|
|
|
default: ''
|
|
|
}
|
|
|
},
|
|
|
- data () {
|
|
|
+ data() {
|
|
|
return {
|
|
|
visible: false,
|
|
|
typeList: {
|
|
|
@@ -367,7 +364,7 @@
|
|
|
key: 'brandNo',
|
|
|
span: 8,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
return itm.workReportCategoryList[0]?.brandNum;
|
|
|
}
|
|
|
},
|
|
|
@@ -376,7 +373,7 @@
|
|
|
key: 'xxx',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
return itm.workReportCategoryList[0]?.batchNo;
|
|
|
}
|
|
|
},
|
|
|
@@ -385,7 +382,7 @@
|
|
|
key: 'feedingWeight',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
return itm.workReportCategoryList[0]?.number;
|
|
|
}
|
|
|
},
|
|
|
@@ -394,8 +391,8 @@
|
|
|
key: 'standardNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
- return itm.productInfo?.standardNum;
|
|
|
+ formatter(itm) {
|
|
|
+ return itm.productInfo?.standardNum + '';
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -403,8 +400,8 @@
|
|
|
key: 'noStandardNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
- return itm.productInfo?.noStandardNum;
|
|
|
+ formatter(itm) {
|
|
|
+ return itm.productInfo?.noStandardNum || '0';
|
|
|
}
|
|
|
},
|
|
|
|
|
|
@@ -413,7 +410,7 @@
|
|
|
key: 'deviceCode',
|
|
|
span: 8,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 4
|
|
|
);
|
|
|
@@ -425,7 +422,7 @@
|
|
|
key: 'xxx',
|
|
|
span: 8,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 5
|
|
|
);
|
|
|
@@ -437,7 +434,7 @@
|
|
|
key: 'xxx',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 8
|
|
|
);
|
|
|
@@ -449,7 +446,7 @@
|
|
|
key: 'boatNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 8
|
|
|
);
|
|
|
@@ -462,7 +459,7 @@
|
|
|
key: 'stampingTimes',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 5
|
|
|
);
|
|
|
@@ -500,7 +497,7 @@
|
|
|
key: 'dryingDuration',
|
|
|
span: 8,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
return itm.workReportArea?.extraField?.dryTime;
|
|
|
}
|
|
|
},
|
|
|
@@ -509,8 +506,8 @@
|
|
|
key: 'standardNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
- return itm.productInfo?.standardNum;
|
|
|
+ formatter(itm) {
|
|
|
+ return itm.productInfo?.standardNum + '';
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -518,8 +515,8 @@
|
|
|
key: 'noStandardNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
- return itm.productInfo?.noStandardNum;
|
|
|
+ formatter(itm) {
|
|
|
+ return itm.productInfo?.noStandardNum || '0';
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -527,7 +524,7 @@
|
|
|
key: 'areaCode',
|
|
|
span: 8,
|
|
|
class: 'border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
return itm.workReportArea?.code;
|
|
|
}
|
|
|
},
|
|
|
@@ -537,7 +534,7 @@
|
|
|
key: 'xxx',
|
|
|
span: 8,
|
|
|
class: 'border-dashed-right ',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 8
|
|
|
);
|
|
|
@@ -570,7 +567,7 @@
|
|
|
key: 'temperatureRamp',
|
|
|
span: 8,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 4
|
|
|
);
|
|
|
@@ -588,8 +585,8 @@
|
|
|
key: 'standardNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
- return itm.productInfo?.standardNum;
|
|
|
+ formatter(itm) {
|
|
|
+ return itm.productInfo?.standardNum + '';
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -597,16 +594,16 @@
|
|
|
key: 'noStandardNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
- return itm.productInfo?.noStandardNum;
|
|
|
+ formatter(itm) {
|
|
|
+ return itm.productInfo?.noStandardNum || '0';
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
label: '设备号',
|
|
|
key: 'deviceCode',
|
|
|
- span: 4,
|
|
|
+ span: 8,
|
|
|
class: ' border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 4
|
|
|
);
|
|
|
@@ -619,7 +616,7 @@
|
|
|
key: 'xxx',
|
|
|
span: 8,
|
|
|
class: 'border-dashed-right',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 8
|
|
|
);
|
|
|
@@ -641,7 +638,7 @@
|
|
|
{
|
|
|
label: '备注',
|
|
|
key: 'remark',
|
|
|
- span: 4,
|
|
|
+ span: 8,
|
|
|
class: 'border-dashed-right'
|
|
|
}
|
|
|
],
|
|
|
@@ -658,8 +655,8 @@
|
|
|
key: 'standardNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
- return itm.productInfo?.standardNum;
|
|
|
+ formatter(itm) {
|
|
|
+ return itm.productInfo?.standardNum + '';
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -667,8 +664,8 @@
|
|
|
key: 'noStandardNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
- return itm.productInfo?.noStandardNum;
|
|
|
+ formatter(itm) {
|
|
|
+ return itm.productInfo?.noStandardNum || '0';
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -676,7 +673,7 @@
|
|
|
key: 'deviceCode',
|
|
|
span: 8,
|
|
|
class: ' border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 4
|
|
|
);
|
|
|
@@ -689,7 +686,7 @@
|
|
|
key: 'xxx',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 8
|
|
|
);
|
|
|
@@ -701,7 +698,7 @@
|
|
|
key: 'boatNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 8
|
|
|
);
|
|
|
@@ -734,7 +731,7 @@
|
|
|
key: 'xxx',
|
|
|
span: 8,
|
|
|
class: 'border-dashed-right',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = itm.workReportCategoryList.find(
|
|
|
(i) => i.rootCategoryLevelId == 9
|
|
|
);
|
|
|
@@ -746,7 +743,7 @@
|
|
|
key: 'deviceCode',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 4
|
|
|
);
|
|
|
@@ -762,15 +759,15 @@
|
|
|
{
|
|
|
label: '日期',
|
|
|
key: 'executeTime',
|
|
|
- span: 4,
|
|
|
- class: 'border-dashed-right'
|
|
|
- },
|
|
|
- {
|
|
|
- label: '备注',
|
|
|
- key: 'remark',
|
|
|
- span: 4,
|
|
|
+ span: 8,
|
|
|
class: 'border-dashed-right'
|
|
|
}
|
|
|
+ // {
|
|
|
+ // label: '备注',
|
|
|
+ // key: 'remark',
|
|
|
+ // span: 4,
|
|
|
+ // class: 'border-dashed-right'
|
|
|
+ // }
|
|
|
],
|
|
|
// 烧结
|
|
|
sinter: [
|
|
|
@@ -785,8 +782,8 @@
|
|
|
key: 'standardNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
- return itm.productInfo?.standardNum;
|
|
|
+ formatter(itm) {
|
|
|
+ return itm.productInfo?.standardNum + '';
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -794,8 +791,8 @@
|
|
|
key: 'noStandardNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-bottom border-dashed-right',
|
|
|
- formatter (itm) {
|
|
|
- return itm.productInfo?.noStandardNum;
|
|
|
+ formatter(itm) {
|
|
|
+ return itm.productInfo?.noStandardNum || '0';
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -803,7 +800,7 @@
|
|
|
key: 'deviceCode',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 4
|
|
|
);
|
|
|
@@ -977,8 +974,8 @@
|
|
|
key: 'standardNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
- return itm.productInfo?.standardNum;
|
|
|
+ formatter(itm) {
|
|
|
+ return itm.productInfo?.standardNum + '';
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -986,8 +983,8 @@
|
|
|
key: 'noStandardNum',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
- return itm.productInfo?.noStandardNum;
|
|
|
+ formatter(itm) {
|
|
|
+ return itm.productInfo?.noStandardNum || '0';
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -995,7 +992,7 @@
|
|
|
key: 'deviceCode',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 4
|
|
|
);
|
|
|
@@ -1026,9 +1023,9 @@
|
|
|
{
|
|
|
label: '包装要求',
|
|
|
key: 'xxx',
|
|
|
- span: 4,
|
|
|
+ span: 8,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
return itm?.packInfo?.packDemand;
|
|
|
}
|
|
|
},
|
|
|
@@ -1037,7 +1034,7 @@
|
|
|
key: 'xxx',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
return itm?.packInfo?.packUnit;
|
|
|
}
|
|
|
},
|
|
|
@@ -1046,7 +1043,7 @@
|
|
|
key: 'xxx',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
return itm?.packInfo?.packNum;
|
|
|
}
|
|
|
},
|
|
|
@@ -1055,8 +1052,8 @@
|
|
|
key: 'xxx',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
- return `PCS/${itm.packInfo.packUnit}`;
|
|
|
+ formatter(itm) {
|
|
|
+ return `${itm.packInfo.minPackNum}PCS/${itm.packInfo.packUnit}`;
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -1064,7 +1061,7 @@
|
|
|
key: 'xxx',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
return itm?.packInfo?.netWeight;
|
|
|
}
|
|
|
},
|
|
|
@@ -1073,7 +1070,7 @@
|
|
|
key: 'xxx',
|
|
|
span: 4,
|
|
|
class: ' border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
return itm?.packInfo?.roughWeight;
|
|
|
}
|
|
|
},
|
|
|
@@ -1082,7 +1079,7 @@
|
|
|
key: 'xxx',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
return itm?.packInfo?.surplusNum;
|
|
|
}
|
|
|
},
|
|
|
@@ -1095,15 +1092,15 @@
|
|
|
{
|
|
|
label: '日期',
|
|
|
key: 'executeTime',
|
|
|
- span: 4,
|
|
|
- class: 'border-dashed-right'
|
|
|
- },
|
|
|
- {
|
|
|
- label: '备注',
|
|
|
- key: 'remark',
|
|
|
span: 12,
|
|
|
class: 'border-dashed-right'
|
|
|
}
|
|
|
+ // {
|
|
|
+ // label: '备注',
|
|
|
+ // key: 'remark',
|
|
|
+ // span: 12,
|
|
|
+ // class: 'border-dashed-right'
|
|
|
+ // }
|
|
|
],
|
|
|
// 预缴库
|
|
|
preStorage: [
|
|
|
@@ -1112,7 +1109,7 @@
|
|
|
key: 'xxx',
|
|
|
span: 4,
|
|
|
class: 'border-dashed-right border-dashed-bottom',
|
|
|
- formatter (itm) {
|
|
|
+ formatter(itm) {
|
|
|
const obj = (itm.workReportDeviceList || []).find(
|
|
|
(i) => i.rootCategoryLevelId == 9
|
|
|
);
|
|
|
@@ -1142,11 +1139,11 @@
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
- open () {
|
|
|
+ open() {
|
|
|
this.visible = true;
|
|
|
this.init();
|
|
|
},
|
|
|
- init () {
|
|
|
+ init() {
|
|
|
for (const p of this.processList) {
|
|
|
this.$set(p, 'list', []);
|
|
|
}
|
|
|
@@ -1160,13 +1157,14 @@
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- cancel () {
|
|
|
+ cancel() {
|
|
|
this.visible = false;
|
|
|
},
|
|
|
//打印
|
|
|
- handlePrint () {
|
|
|
+ handlePrint() {
|
|
|
this.PrintLoading = true;
|
|
|
const page = this.$refs.pagesRef;
|
|
|
+
|
|
|
const pHeight = page.offsetHeight;
|
|
|
const pWidth = page.offsetWidth;
|
|
|
|
|
|
@@ -1201,9 +1199,11 @@
|
|
|
<style scoped lang="scss">
|
|
|
$heihgt: 36px;
|
|
|
$border: 1px solid #ddd;
|
|
|
+
|
|
|
* {
|
|
|
box-sizing: border-box !important;
|
|
|
}
|
|
|
+
|
|
|
.bg {
|
|
|
background-color: #f1f1f1;
|
|
|
line-height: $heihgt - 2px;
|
|
|
@@ -1213,9 +1213,11 @@
|
|
|
.border-dashed-right {
|
|
|
border-right: $border;
|
|
|
}
|
|
|
+
|
|
|
.border-dashed-bottom {
|
|
|
border-bottom: $border;
|
|
|
}
|
|
|
+
|
|
|
.main-data {
|
|
|
.bg {
|
|
|
text-align: center;
|
|
|
@@ -1230,6 +1232,7 @@
|
|
|
border-bottom: $border;
|
|
|
padding-left: 10px;
|
|
|
}
|
|
|
+
|
|
|
.code {
|
|
|
line-height: 2 * $heihgt;
|
|
|
height: 2 * $heihgt;
|
|
|
@@ -1251,11 +1254,13 @@
|
|
|
color: #000;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
+
|
|
|
:deep(.el-col) {
|
|
|
line-height: $heihgt - 2px;
|
|
|
height: $heihgt;
|
|
|
padding-left: 10px;
|
|
|
}
|
|
|
+
|
|
|
.top {
|
|
|
border-top: $border;
|
|
|
border-bottom: $border;
|