diff --git a/components/print/index.js b/components/print/index.js index 922bb1c..8c09e1e 100644 --- a/components/print/index.js +++ b/components/print/index.js @@ -111,8 +111,9 @@ let printerJobs = new PrinterJobs(); printerJobs.setAlign('ct').setSize(2, 2).setLineSpacing(60).print( - data1.numberCode + ( + (data1.deliveryType == 1 && data1.orderType == 3 ? data1.deliveryInfo.numberCode :data1.numberCode) + ( (data1.status == 7 || data1.status == 11) ? '待退款' : + data1.deliveryType == 1 && data1.orderType == 3 ? '面对面配送' : data1.deliveryType == 1 ? '配送' : data1.isPack == 0 ? '到店-堂食' : data1.isPack == 1 ? '到店-打包' : '到店'