|
@@ -463,6 +463,11 @@ class PurchaseOrderController extends BaseController
|
|
|
|
|
|
|
|
$shop = $this->shop;
|
|
$shop = $this->shop;
|
|
|
$bookSn = $shop->bookSn ?? 0;
|
|
$bookSn = $shop->bookSn ?? 0;
|
|
|
|
|
+ if(!empty($bookSn)){
|
|
|
|
|
+ if (empty($cgStaffId)) {
|
|
|
|
|
+ util::fail('请选择采购人');
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
//只查我负责的花材
|
|
//只查我负责的花材
|
|
|
$globalCgMyCharge = $post['globalCgMyCharge'] ?? 0;
|
|
$globalCgMyCharge = $post['globalCgMyCharge'] ?? 0;
|