|
|
@@ -421,8 +421,12 @@ class OrderClass extends BaseClass
|
|
|
$custom = CustomClass::getById($customId);
|
|
|
$debtAmount = $custom['debtAmount'] ?? 0;
|
|
|
|
|
|
+ $fromType = $order->fromType ?? dict::getDict('fromType', 'shop');
|
|
|
+ $fromTypeMap = dict::getDict('fromTypeMap');
|
|
|
+ $fromTypeName = $fromTypeMap[$fromType] ?? '门店';
|
|
|
+
|
|
|
$respond = self::getPrintData($order, $debtAmount);
|
|
|
- $content = '<B>' . $respond['sendNum'] . '</B><BR>';
|
|
|
+ $content = '<B>' . $respond['sendNum'] . ' ' . $fromTypeName . '</B><BR>';
|
|
|
$content .= '--------------------------------<BR>';
|
|
|
$content .= '<B>' . $respond['custom']['fullAddress'] . '</B><BR>';
|
|
|
$content .= '<B>' . $respond['custom']['customName'] . '</B><BR>';
|