|
@@ -27,11 +27,10 @@ const loadData = async () => {
|
|
if (res.data.length > 0) {
|
|
if (res.data.length > 0) {
|
|
let dicts = {
|
|
let dicts = {
|
|
workOrderCode: `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px'>生产批号</span>`,
|
|
workOrderCode: `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px'>生产批号</span>`,
|
|
- materialName: `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px'>物料名称</span>`,
|
|
|
|
|
|
+ materialModel: `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px'>物料型号</span>`,
|
|
isDestruction: `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px'>是否破坏性检验</span>`,
|
|
isDestruction: `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px'>是否破坏性检验</span>`,
|
|
checkType: `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px'>检验类型</span>`,
|
|
checkType: `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px'>检验类型</span>`,
|
|
total: `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px'>数量</span>`,
|
|
total: `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px'>数量</span>`,
|
|
- updated: `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px'>时间</span>`,
|
|
|
|
};
|
|
};
|
|
let bigData: any[] = [];
|
|
let bigData: any[] = [];
|
|
res.data.forEach((item: any) => {
|
|
res.data.forEach((item: any) => {
|
|
@@ -39,11 +38,10 @@ const loadData = async () => {
|
|
${item.isDestruction ? "color: yellow;" : ""} `;
|
|
${item.isDestruction ? "color: yellow;" : ""} `;
|
|
let row = [
|
|
let row = [
|
|
`<span style='font-size:${bigScreenData.value.fontSize * 1.5}px; ${rowStyle}'>${item.workOrderCode}</span>`,
|
|
`<span style='font-size:${bigScreenData.value.fontSize * 1.5}px; ${rowStyle}'>${item.workOrderCode}</span>`,
|
|
- `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px; ${rowStyle}'>${item.materialName}</span>`,
|
|
|
|
|
|
+ `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px; ${rowStyle}'>${item.materialModel}</span>`,
|
|
`<span style='font-size:${bigScreenData.value.fontSize * 1.5}px; ${rowStyle}'>${item.isDestruction === 0 ? "否" : "是"}</span>`,
|
|
`<span style='font-size:${bigScreenData.value.fontSize * 1.5}px; ${rowStyle}'>${item.isDestruction === 0 ? "否" : "是"}</span>`,
|
|
- `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px; ${rowStyle}'>${item.checkType === 1 ? "首件检验" : "过程检验"}</span>`,
|
|
|
|
|
|
+ `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px; ${rowStyle}'>${item.checkType === "1" ? "首件检验" : "过程检验"}</span>`,
|
|
`<span style='font-size:${bigScreenData.value.fontSize * 1.5}px; ${rowStyle}'>${item.total}</span>`,
|
|
`<span style='font-size:${bigScreenData.value.fontSize * 1.5}px; ${rowStyle}'>${item.total}</span>`,
|
|
- `<span style='font-size:${bigScreenData.value.fontSize * 1.5}px; ${rowStyle}'>${item.updated}</span>`,
|
|
|
|
];
|
|
];
|
|
bigData.push(row);
|
|
bigData.push(row);
|
|
});
|
|
});
|