|
|
@@ -819,14 +819,14 @@ class OrderController extends BaseController
|
|
|
$getStaffName = $post['getStaffName'] ?? '';
|
|
|
$shopAdminId = $post['getStaffId'];
|
|
|
$shopAdminName = $getStaffName;
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
//鹏诚需要选择开单人
|
|
|
- if(in_array($this->mainId,[19606])){
|
|
|
+ if (in_array($this->mainId, [19606, 50])) {
|
|
|
util::fail('请选择开单人');
|
|
|
}
|
|
|
- }else{
|
|
|
- if(in_array($this->mainId,[644])){
|
|
|
+ } else {
|
|
|
+ if (in_array($this->mainId, [644])) {
|
|
|
util::fail('请选择开单人');
|
|
|
}
|
|
|
}
|