|
|
@@ -95,6 +95,14 @@ class CheckOrderController extends BaseController
|
|
|
if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {
|
|
|
util::fail('超管才能盘点');
|
|
|
}
|
|
|
+
|
|
|
+ //限制花大苪文员修改库存
|
|
|
+ if (in_array($this->mainId, [8164])) {
|
|
|
+ if (in_array($this->adminId, [10771, 26263, 4])) {
|
|
|
+ util::fail('不能修改哦');
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
$post = Yii::$app->request->post();
|
|
|
$post['sjId'] = $this->sjId;
|
|
|
$post['shopId'] = $this->shopId;
|