|
|
@@ -1324,6 +1324,31 @@ class OrderController extends BaseController
|
|
|
$remark = $info['remark'] ?? '';
|
|
|
$sendCost = $info['sendCost'] ?? 0;
|
|
|
$sendNum = $info['sendNum'] ?? '';
|
|
|
+ $packCost = $info['packCost'] ?? 0;
|
|
|
+ $ysName = '';
|
|
|
+ if (isset($info['localOrder']) && $info['localOrder'] == 1) {
|
|
|
+ if ($info['localOrder'] == 0) {
|
|
|
+ $ysName = '德邦空运';
|
|
|
+ }
|
|
|
+ if ($info['localOrder'] == 1) {
|
|
|
+ $ysName = '顺丰空运';
|
|
|
+ }
|
|
|
+ if ($info['localOrder'] == 2) {
|
|
|
+ $ysName = '冷链物流';
|
|
|
+ }
|
|
|
+ if ($info['localOrder'] == 3) {
|
|
|
+ $ysName = '航空物流';
|
|
|
+ }
|
|
|
+ if ($info['localOrder'] == 4) {
|
|
|
+ $ysName = '同城配送';
|
|
|
+ }
|
|
|
+ if ($info['localOrder'] == 5) {
|
|
|
+ $ysName = '到店自取';
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
$fullAddress = '';
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
//老油的要显示地址
|
|
|
@@ -1379,6 +1404,8 @@ class OrderController extends BaseController
|
|
|
'fullAddress' => $fullAddress,
|
|
|
'sendNum' => $sendNum,
|
|
|
'sendCost' => $sendCost,
|
|
|
+ 'ysName' => $ysName,
|
|
|
+ 'packCost' => $packCost,
|
|
|
];
|
|
|
$info['printData'] = $a4Print;
|
|
|
|