|
|
@@ -1322,7 +1322,13 @@ class OrderController extends BaseController
|
|
|
//A4打印需要用到的数据
|
|
|
$customId = $info['customId'] ?? 0;
|
|
|
$remark = $info['remark'] ?? '';
|
|
|
- $fullAddress = $info['fullAddress'] ?? '';
|
|
|
+ $fullAddress = '';
|
|
|
+ if (getenv('YII_ENV') == 'production') {
|
|
|
+ //老油的要显示地址
|
|
|
+ if ($this->mainId == 20528) {
|
|
|
+ $fullAddress = $info['fullAddress'] ?? '';
|
|
|
+ }
|
|
|
+ }
|
|
|
$custom = CustomClass::getById($customId, true);
|
|
|
if (empty($custom)) {
|
|
|
util::fail('没有找到客户');
|