Browse Source

0412 新看板

master
ruanqi 1 year ago
parent
commit
bbf5cedc98
  1. 11
      src/views/modules/print/print_transNo_label.js
  2. 8
      src/views/modules/production/liuhuaProductView.vue

11
src/views/modules/print/print_transNo_label.js

@ -166,10 +166,9 @@ export function printTransNoLabel(printList) {
else if(printData.type=='reportData'){ else if(printData.type=='reportData'){
LODOP.NewPage(); LODOP.NewPage();
LODOP.SET_PRINT_PAGESIZE(0,1000,700,""); LODOP.SET_PRINT_PAGESIZE(0,1000,700,"");
// LODOP.ADD_PRINT_TEXT(95,208,173,46,'合格');
// LODOP.SET_PRINT_STYLEA(0,"FontSize",30);
// LODOP.SET_PRINT_STYLEA(0,"Alignment",2);
// LODOP.SET_PRINT_STYLEA(0,"Bold",1);
LODOP.ADD_PRINT_TEXT(42,242,135,137,"备注:"+printData.remark);
LODOP.SET_PRINT_STYLEA(0,"FontSize",10);
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
LODOP.ADD_PRINT_TEXT(88,8,108,25,"Part:"); LODOP.ADD_PRINT_TEXT(88,8,108,25,"Part:");
LODOP.SET_PRINT_STYLEA(0,"FontSize",10); LODOP.SET_PRINT_STYLEA(0,"FontSize",10);
LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.SET_PRINT_STYLEA(0,"Bold",1);
@ -295,9 +294,9 @@ export function printTransNoLabel(printList) {
LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.SET_PRINT_STYLEA(0,"Bold",1);
} }
} }
// LODOP.PRINT_DESIGN();
LODOP.PRINT_DESIGN();
// LODOP.PREVIEW(); // LODOP.PREVIEW();
LODOP.PRINT();
// LODOP.PRINT();
console.log("操作成功!") console.log("操作成功!")
} }
} }

8
src/views/modules/production/liuhuaProductView.vue

@ -194,12 +194,12 @@
}, { }, {
tableId: "liuhuaView", tableId: "liuhuaView",
tableName: this.$route.meta.title, tableName: this.$route.meta.title,
columnProp: "firstReportDate",
columnProp: "firstReportDate2",
columnLabel: "首次报工日期", columnLabel: "首次报工日期",
columnHidden: false, columnHidden: false,
columnImage: false, columnImage: false,
columnSortable: false, columnSortable: false,
columnWidth: 70,
columnWidth: 80,
format: null, format: null,
functionId: this.$route.meta.menuId, functionId: this.$route.meta.menuId,
sortLv: 0, sortLv: 0,
@ -207,7 +207,7 @@
fixed: '', fixed: '',
serialNumber: null, serialNumber: null,
columnType: null, columnType: null,
align: 'left'
align: 'center'
}, { }, {
tableId: "liuhuaView", tableId: "liuhuaView",
tableName: this.$route.meta.title, tableName: this.$route.meta.title,
@ -348,7 +348,7 @@
tableId: "liuhuaView", tableId: "liuhuaView",
tableName: this.$route.meta.title, tableName: this.$route.meta.title,
columnProp: "liuhuahegelv", columnProp: "liuhuahegelv",
columnLabel: "总完成率",
columnLabel: "硫化合格率",
columnHidden: false, columnHidden: false,
columnImage: false, columnImage: false,
columnSortable: false, columnSortable: false,

Loading…
Cancel
Save