|
|
@@ -842,7 +842,7 @@
|
|
|
rendingHeader(){
|
|
|
let column = [
|
|
|
{name:'operation',value: '操作', neglect: true, class:"td-operation"},
|
|
|
- {name:'onTop',value: '置顶', neglect: true, class:"td-operation"},
|
|
|
+ @can('运输管理-运单-置顶'){name:'onTop',value: '置顶', neglect: true, class:"td-operation"},@endcan
|
|
|
{name:'status',value: '状态', class:"td-operation"},
|
|
|
{name:'express_face_list',value: '快递面单是否打印', class:"td-warm"},
|
|
|
{name:'index',value: '序号', neglect: true, class:"td-warm"},
|
|
|
@@ -1448,7 +1448,6 @@
|
|
|
*/
|
|
|
function printEWaybill(data, serialNo, barcode, wayNum){
|
|
|
//打印内容
|
|
|
- console.log(barcode);
|
|
|
var printHtml = htmlTemplateObj.find("div#expressPrintArea").html();
|
|
|
|
|
|
LODOP.PRINT_INIT("二级模板");
|
|
|
@@ -1460,7 +1459,8 @@
|
|
|
LODOP.ADD_PRINT_BARCODE("117mm","45mm","50mm","8mm","128Auto", barcode);
|
|
|
|
|
|
//设定固定打印机
|
|
|
- if(LODOP.SET_PRINTER_INDEX('EK100B'))LODOP.SET_PRINTER_INDEX('EK100B');
|
|
|
+ let print_name = "{{$print_name}}";
|
|
|
+ if(LODOP.SET_PRINTER_INDEX(print_name))LODOP.SET_PRINTER_INDEX(print_name);
|
|
|
|
|
|
//打印
|
|
|
// LODOP.PREVIEW();
|