|
|
@@ -14,6 +14,7 @@ use bizHd\shop\classes\ShopClass;
|
|
|
use bizHd\stat\classes\StatWorkCatClass;
|
|
|
use common\components\dict;
|
|
|
use common\components\imgUtil;
|
|
|
+use common\components\noticeUtil;
|
|
|
use common\components\orderSn;
|
|
|
use common\components\printUtil;
|
|
|
use common\components\util;
|
|
|
@@ -57,6 +58,7 @@ class WorkClass extends BaseClass
|
|
|
$shopId = $shop->id ?? 0;
|
|
|
$ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
|
|
|
$printLabelSn = $work->fromType == 4 ? $ext->mtPrintLabelSn : $ext->makePrintLabelSn;
|
|
|
+ noticeUtil::push("打印:" . $printLabelSn, '15280215347');
|
|
|
if (empty($printLabelSn)) {
|
|
|
if ($mustPrint) {
|
|
|
util::fail('请设置标签打印机');
|