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