|
@@ -56,6 +56,10 @@
|
|
|
<div class="alert alert-success h1">{{Session::get('successTip')}}</div>
|
|
<div class="alert alert-success h1">{{Session::get('successTip')}}</div>
|
|
|
@endif
|
|
@endif
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ {{-- 德邦面单--}}
|
|
|
|
|
+ <div id="lodopTips"></div>
|
|
|
|
|
+ {{-- 德邦面单--}}
|
|
|
|
|
+
|
|
|
<table class="table table-striped table-bordered table-hover text-nowrap waybill-table td-min-width-80" style="background: #fff;" id="table">
|
|
<table class="table table-striped table-bordered table-hover text-nowrap waybill-table td-min-width-80" style="background: #fff;" id="table">
|
|
|
<tr v-for="(waybill,i) in waybills" :class="[waybill.status=='待重审'?'td-red':''||waybill.status=='已完结'?'td-green':'',selectTr==waybill.id ? 'tr-select' : '']"
|
|
<tr v-for="(waybill,i) in waybills" :class="[waybill.status=='待重审'?'td-red':''||waybill.status=='已完结'?'td-green':'',selectTr==waybill.id ? 'tr-select' : '']"
|
|
|
:id="'waybill'+waybill.id" @click="selectedColor(waybill.id)" @mouseover="hidetop($event)" @mouseleave="showtop($event)">
|
|
:id="'waybill'+waybill.id" @click="selectedColor(waybill.id)" @mouseover="hidetop($event)" @mouseleave="showtop($event)">
|
|
@@ -95,6 +99,12 @@
|
|
|
</td>
|
|
</td>
|
|
|
@endcan
|
|
@endcan
|
|
|
<td :class="[waybill.status=='已审核'?'text-success':'']"><span>@{{waybill.status}}</span></td>
|
|
<td :class="[waybill.status=='已审核'?'text-success':'']"><span>@{{waybill.status}}</span></td>
|
|
|
|
|
+ <td class="td-warm">
|
|
|
|
|
+ <span v-if="waybill.express_face_list == 1" style="color: red">
|
|
|
|
|
+ 是
|
|
|
|
|
+ </span>
|
|
|
|
|
+ <span v-else>否</span>
|
|
|
|
|
+ </td>
|
|
|
<td class="td-warm text-muted toptd position-static">
|
|
<td class="td-warm text-muted toptd position-static">
|
|
|
<div v-if="waybill.remark" class="bg-light-yellow text-danger top position-absolute" data-toggle="tooltip" style="opacity: 0.1;z-index: 1">置顶备注:@{{ waybill.remark }}</div>
|
|
<div v-if="waybill.remark" class="bg-light-yellow text-danger top position-absolute" data-toggle="tooltip" style="opacity: 0.1;z-index: 1">置顶备注:@{{ waybill.remark }}</div>
|
|
|
@{{ i+1 }}</td>
|
|
@{{ i+1 }}</td>
|
|
@@ -245,8 +255,6 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
-{{-- 德邦面单--}}
|
|
|
|
|
- <div id="lodopTips"></div>
|
|
|
|
|
<div id="printContext" class="ordercontent"
|
|
<div id="printContext" class="ordercontent"
|
|
|
style="margin-top: 15px; width: 630px; height: 665px; float: left; overflow-y: auto; text-align: center; display:none">
|
|
style="margin-top: 15px; width: 630px; height: 665px; float: left; overflow-y: auto; text-align: center; display:none">
|
|
|
<div id="expressPrintArea">
|
|
<div id="expressPrintArea">
|
|
@@ -595,6 +603,7 @@
|
|
|
district:'{{$waybill->order_district ?? ($waybill->district->name ?? '')}}',
|
|
district:'{{$waybill->order_district ?? ($waybill->district->name ?? '')}}',
|
|
|
order_status:'{{$waybill->order->wms_status ?? ''}}',
|
|
order_status:'{{$waybill->order->wms_status ?? ''}}',
|
|
|
is_to_pay:'{{ $waybill->is_to_pay }}',
|
|
is_to_pay:'{{ $waybill->is_to_pay }}',
|
|
|
|
|
+ express_face_list:'{{ $waybill->express_face_list }}',
|
|
|
},
|
|
},
|
|
|
@endforeach
|
|
@endforeach
|
|
|
],
|
|
],
|
|
@@ -736,16 +745,13 @@
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
window.tempTip.confirm("确定要打印快递面单吗?",()=>{
|
|
window.tempTip.confirm("确定要打印快递面单吗?",()=>{
|
|
|
- window.tempTip.setDuration(99999);
|
|
|
|
|
|
|
+ window.tempTip.setDuration(2000);
|
|
|
window.tempTip.waitingTip("打印中,请稍等...");
|
|
window.tempTip.waitingTip("打印中,请稍等...");
|
|
|
window.tempTip.postBasicRequest("{{url('transport/waybill/expressFaceList')}}",{ids:checkData},res=>{
|
|
window.tempTip.postBasicRequest("{{url('transport/waybill/expressFaceList')}}",{ids:checkData},res=>{
|
|
|
window.tempTip.cancelWaitingTip();
|
|
window.tempTip.cancelWaitingTip();
|
|
|
- window.tempTip.setDuration(2000);
|
|
|
|
|
- console.log(res);
|
|
|
|
|
|
|
+ window.tempTip.setDuration(4000);
|
|
|
res.forEach((item, index)=>{
|
|
res.forEach((item, index)=>{
|
|
|
- console.log(item);
|
|
|
|
|
- //window.myPrintKit.printTest(item);
|
|
|
|
|
- printTest(item)
|
|
|
|
|
|
|
+ printTest(item)
|
|
|
})
|
|
})
|
|
|
});
|
|
});
|
|
|
})
|
|
})
|
|
@@ -834,6 +840,7 @@
|
|
|
{name:'operation',value: '操作', neglect: true, class:"td-operation"},@endcan
|
|
{name:'operation',value: '操作', neglect: true, class:"td-operation"},@endcan
|
|
|
{name:'onTop',value: '置顶', neglect: true, class:"td-operation"},
|
|
{name:'onTop',value: '置顶', neglect: true, class:"td-operation"},
|
|
|
{name:'status',value: '状态', class:"td-operation"},
|
|
{name:'status',value: '状态', class:"td-operation"},
|
|
|
|
|
+ {name:'express_face_list',value: '快递面单是否打印', class:"td-operation"},
|
|
|
{name:'index',value: '序号', neglect: true, class:"td-warm"},
|
|
{name:'index',value: '序号', neglect: true, class:"td-warm"},
|
|
|
{name:'created_at', neglect: true,value: '创建时间', class:"td-warm"},
|
|
{name:'created_at', neglect: true,value: '创建时间', class:"td-warm"},
|
|
|
{name:'operating',value: '操作记录', class:"td-warm"},
|
|
{name:'operating',value: '操作记录', class:"td-warm"},
|