|
@@ -2025,7 +2025,7 @@ class OrderClass extends BaseClass
|
|
|
//东莞我要花不要自动打印标准,mainId=2644,已经去掉了
|
|
//东莞我要花不要自动打印标准,mainId=2644,已经去掉了
|
|
|
$map = [65726, 58, 25119, 28500, 1294, 12925, 83694];
|
|
$map = [65726, 58, 25119, 28500, 1294, 12925, 83694];
|
|
|
} else {
|
|
} else {
|
|
|
- $map = [828,644];
|
|
|
|
|
|
|
+ $map = [828, 644];
|
|
|
}
|
|
}
|
|
|
if (in_array($orderMainId, $map)) {
|
|
if (in_array($orderMainId, $map)) {
|
|
|
self::printLogisticsLabel($orderInfo, $shop, $ext);
|
|
self::printLogisticsLabel($orderInfo, $shop, $ext);
|
|
@@ -2236,7 +2236,7 @@ class OrderClass extends BaseClass
|
|
|
];
|
|
];
|
|
|
$p->printMsg($content, $shop, $orderSn, $logMeta);
|
|
$p->printMsg($content, $shop, $orderSn, $logMeta);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ return ['printSn' => $printSn];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//打印数据 ssh 20210702
|
|
//打印数据 ssh 20210702
|
|
@@ -3083,7 +3083,7 @@ XL;
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
$map = [65726, 58, 25119, 28500, 1294, 12925, 2644, 10652, 2084, 89473, 83694];
|
|
$map = [65726, 58, 25119, 28500, 1294, 12925, 2644, 10652, 2084, 89473, 83694];
|
|
|
} else {
|
|
} else {
|
|
|
- $map = [828,644];
|
|
|
|
|
|
|
+ $map = [828, 644];
|
|
|
}
|
|
}
|
|
|
/**************************如果是好多花的云仓还要再打一下标签纸,多处要同步修改,关键词 hdh_yc *****************************/
|
|
/**************************如果是好多花的云仓还要再打一下标签纸,多处要同步修改,关键词 hdh_yc *****************************/
|
|
|
$customId = $order->customId ?? 0;
|
|
$customId = $order->customId ?? 0;
|
|
@@ -3184,7 +3184,7 @@ XL;
|
|
|
$addressLen = mb_strlen($fullAddress, 'UTF-8');
|
|
$addressLen = mb_strlen($fullAddress, 'UTF-8');
|
|
|
$fontScale = '2';
|
|
$fontScale = '2';
|
|
|
$content .= '<TEXT x="290" y="45" font="12" w="' . $fontScale . '" h="' . $fontScale . '" r="90">' . $fullAddress . '</TEXT>';
|
|
$content .= '<TEXT x="290" y="45" font="12" w="' . $fontScale . '" h="' . $fontScale . '" r="90">' . $fullAddress . '</TEXT>';
|
|
|
- if(!empty($showAddress)){
|
|
|
|
|
|
|
+ if (!empty($showAddress)) {
|
|
|
$content .= '<TEXT x="230" y="45" font="12" w="1" h="2" r="90">' . $showAddress . '</TEXT>';
|
|
$content .= '<TEXT x="230" y="45" font="12" w="1" h="2" r="90">' . $showAddress . '</TEXT>';
|
|
|
}
|
|
}
|
|
|
$content .= '<TEXT x="140" y="45" font="12" w="2" h="2" r="90">' . $customMobile . ' ' . $itemNum . '扎</TEXT>';
|
|
$content .= '<TEXT x="140" y="45" font="12" w="2" h="2" r="90">' . $customMobile . ' ' . $itemNum . '扎</TEXT>';
|