|
@@ -1761,12 +1761,14 @@ class Systemprint extends Start_Controller {
|
|
|
$this->$fullorder_name->save(array('print'=>1,'failed'=>$failed),$va[$n]);
|
|
$this->$fullorder_name->save(array('print'=>1,'failed'=>$failed),$va[$n]);
|
|
|
}
|
|
}
|
|
|
}elseif(($fullorder['printcode'] == "TTUK") || ($fullorder['printcode'] == "TTUS")){
|
|
}elseif(($fullorder['printcode'] == "TTUK") || ($fullorder['printcode'] == "TTUS")){
|
|
|
|
|
+ $pdf_width_model = 85;
|
|
|
if($fullorder['printcode'] == "TTUK"){
|
|
if($fullorder['printcode'] == "TTUK"){
|
|
|
$barcode = $this->express_tt->get_data($fullorder,"FBT");
|
|
$barcode = $this->express_tt->get_data($fullorder,"FBT");
|
|
|
$this->logic_ding->sendToDing("TTUK获取快递面单".json_encode($barcode));
|
|
$this->logic_ding->sendToDing("TTUK获取快递面单".json_encode($barcode));
|
|
|
}elseif($fullorder['printcode'] == "TTUS"){
|
|
}elseif($fullorder['printcode'] == "TTUS"){
|
|
|
$barcode = $this->express_tt->get_data($fullorder,"CBT");
|
|
$barcode = $this->express_tt->get_data($fullorder,"CBT");
|
|
|
$this->logic_ding->sendToDing("TTUS获取快递面单".json_encode($barcode));
|
|
$this->logic_ding->sendToDing("TTUS获取快递面单".json_encode($barcode));
|
|
|
|
|
+ $pdf_width_model = 90;
|
|
|
}else{
|
|
}else{
|
|
|
$barcode = [
|
|
$barcode = [
|
|
|
'x'=>0,
|
|
'x'=>0,
|
|
@@ -1796,7 +1798,7 @@ class Systemprint extends Start_Controller {
|
|
|
{
|
|
{
|
|
|
$type = 1;
|
|
$type = 1;
|
|
|
$pdfnum = 1;
|
|
$pdfnum = 1;
|
|
|
- $text = array('yd'=>base_url().'data/pdf/'.$bctime.'/y-'.$Hwaybill.'.pdf','mode'=>85);
|
|
|
|
|
|
|
+ $text = array('yd'=>base_url().'data/pdf/'.$bctime.'/y-'.$Hwaybill.'.pdf','mode'=>$pdf_width_model);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|