|
@@ -2013,7 +2013,12 @@ class OrderClass extends BaseClass
|
|
|
$showPrice = 0;
|
|
$showPrice = 0;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ //梅州紫荆鲜花,线上下单,不显示价格
|
|
|
|
|
+ if (isset($orderInfo->mainId) && $orderInfo->mainId == 92739) {
|
|
|
|
|
+ if (!empty($orderInfo->customShopAdminId)) {
|
|
|
|
|
+ $showPrice = 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
//北京花篮子,线上下单,不显示价格
|
|
//北京花篮子,线上下单,不显示价格
|
|
|
if (isset($orderInfo->mainId) && $orderInfo->mainId == 10735) {
|
|
if (isset($orderInfo->mainId) && $orderInfo->mainId == 10735) {
|
|
|
if (!empty($orderInfo->customShopAdminId)) {
|
|
if (!empty($orderInfo->customShopAdminId)) {
|
|
@@ -2071,7 +2076,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);
|
|
@@ -2282,7 +2287,7 @@ class OrderClass extends BaseClass
|
|
|
];
|
|
];
|
|
|
$p->printMsg($content, $shop, $orderSn, $logMeta);
|
|
$p->printMsg($content, $shop, $orderSn, $logMeta);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ return ['printSn' => $printSn];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//打印数据 ssh 20210702
|
|
//打印数据 ssh 20210702
|
|
@@ -3129,7 +3134,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;
|
|
@@ -3230,7 +3235,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>';
|