Browse Source

修改打印机

pre-production
pref_mail@163.com 8 months ago
parent
commit
6341cb6b1a
  1. 8
      src/utils/print.js
  2. 1780
      src/views/wel/index.vue

8
src/utils/print.js

@ -55,9 +55,9 @@ const print = (nodeList, type = 'deliveryPrint') => {
if (type === 'titlePrint') handleTitlePrint(LODOP, templateData)
else handleDeliveryPrint(LODOP, templateData)
// LODOP.NewPage()
// LODOP.PRINT(); //直接打印
LODOP.PRINT(); //直接打印
});
LODOP.PREVIEW(); //预览(预览打印无脚标)
// LODOP.PREVIEW(); //预览(预览打印无脚标)
};
const newPrint = nodeName => {
@ -88,8 +88,8 @@ const hwyPrint2 = nodeList => {
nodeList.forEach(orderNode => {
// LODOP.NewPage()100
// LODOP.PRINT(); //直接打印
LODOP.PRINT_DESIGN();
LODOP.PRINT(); //直接打印
// LODOP.PRINT_DESIGN();
});
// LODOP.PREVIEW(); //预览(预览打印无脚标)
};

1780
src/views/wel/index.vue

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save