|
|
@@ -2895,6 +2895,13 @@ class OrderController extends BaseController
|
|
|
$shortMobile = substr($customMobile, -4);
|
|
|
$remark = $order->remark ?? '';
|
|
|
$shortRemark = stringUtil::subStringUtf8($remark, 8);
|
|
|
+
|
|
|
+ $shop = $this->shop;
|
|
|
+ $shopName = $shop->shopName ?? '';
|
|
|
+ $sjName = $shop->merchantName;
|
|
|
+ $currentName = $shopName == '首店' ? $sjName : $sjName . ' ' . $shopName;
|
|
|
+ $telephone = $shop->telephone ?? '';
|
|
|
+
|
|
|
$ext = $this->shopExt;
|
|
|
$wlLabelSn = $ext->wlLabelSn ?? '';
|
|
|
if (empty($wlLabelSn)) {
|
|
|
@@ -2908,6 +2915,9 @@ class OrderController extends BaseController
|
|
|
$content .= '<TEXT x="260" y="10" font="12" w="2" h="2" r="90">代码</TEXT>';
|
|
|
$content .= '<TEXT x="165" y="130" font="12" w="4" h="4" r="90">' . $shortRemark . '</TEXT>';
|
|
|
$content .= '<TEXT x="145" y="10" font="12" w="2" h="2" r="90">物流</TEXT>';
|
|
|
+
|
|
|
+ $content .= '<TEXT x="130" y="10" font="12" w="2" h="2" r="90">' . $currentName . ' ' . $telephone . '</TEXT>';
|
|
|
+
|
|
|
$p->printLabelMsg($content);
|
|
|
util::complete('打印成功');
|
|
|
}
|