|
|
@@ -56,7 +56,7 @@ class WorkClass extends BaseClass
|
|
|
} else {
|
|
|
$shopId = $shop->id ?? 0;
|
|
|
$ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
|
|
|
- $printLabelSn = $ext->makePrintLabelSn ?? '';
|
|
|
+ $printLabelSn = $work->fromType == 4 ? $ext->mtPrintLabelSn : $ext->makePrintLabelSn;
|
|
|
if (empty($printLabelSn)) {
|
|
|
if ($mustPrint) {
|
|
|
util::fail('请设置标签打印机');
|