|
@@ -75,6 +75,11 @@ class PurchaseController extends BaseController
|
|
|
}
|
|
}
|
|
|
$respond = PurchaseOrderService::getDebtList($where);
|
|
$respond = PurchaseOrderService::getDebtList($where);
|
|
|
$respond['ghsInfo'] = $info;
|
|
$respond['ghsInfo'] = $info;
|
|
|
|
|
+
|
|
|
|
|
+ $shop = $this->shop;
|
|
|
|
|
+ $pfLevel = $shop->pfLevel ?? 0;
|
|
|
|
|
+ $respond['pfLevel'] = $pfLevel;
|
|
|
|
|
+
|
|
|
util::success($respond);
|
|
util::success($respond);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -85,7 +90,7 @@ class PurchaseController extends BaseController
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
//小向花卉采购的结账确认,有多处,关键词ghs_cg_clear_confirm
|
|
//小向花卉采购的结账确认,有多处,关键词ghs_cg_clear_confirm
|
|
|
if (in_array($this->mainId, [23390, 24516])) {
|
|
if (in_array($this->mainId, [23390, 24516])) {
|
|
|
- if (!in_array($this->adminId, [24655,77951])) {
|
|
|
|
|
|
|
+ if (!in_array($this->adminId, [24655, 77951])) {
|
|
|
util::fail('不能操作哦');
|
|
util::fail('不能操作哦');
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|