|
|
@@ -131,9 +131,9 @@ class OrderClearController extends BaseController
|
|
|
}
|
|
|
|
|
|
$staff = $this->shopAdmin;
|
|
|
- if (!isset($staff->finance) || $staff->finance == 0) {
|
|
|
- $speShopList = [4608];
|
|
|
- //杭州斗南鲜花员工,没有财务权限也要能销单
|
|
|
+ if ($staff->finance == 0) {
|
|
|
+ $speShopList = [4608, 17118, 72366];
|
|
|
+ //杭州斗南鲜花、淘花里小榄店、淘花里中山店员工,没有财务权限也要能销单
|
|
|
if (!in_array($this->shopId, $speShopList)) {
|
|
|
util::fail('没有财务权限,不能销单哦');
|
|
|
}
|
|
|
@@ -175,7 +175,7 @@ class OrderClearController extends BaseController
|
|
|
}
|
|
|
//淘花里小榄店 thl_xl_clear
|
|
|
if (in_array($this->shopId, [72366])) {
|
|
|
- if (!in_array($this->adminId, [69792, 55445, 55707,69792])) {
|
|
|
+ if (!in_array($this->adminId, [69792, 55445, 55707, 69792])) {
|
|
|
util::fail('你不能销单那。。。。');
|
|
|
}
|
|
|
}
|