Commit dbc22472 by 杨树贤

上下架SKU加入权限

parent 40f91cc1
......@@ -25,6 +25,14 @@ class SupplierShareApplyApiController extends Controller
}
//校验申请的供应商,并且还要返回所属部门列表
/**
* 功能说明:1、采购员在操作共用申请时,如果该供应商有sku采购员,则只能选择sku采购员所在部门进行审核(其余部门都不显示)并且出现“申请原因”,文本框,必填,300个字符以内;
* PS:没有sku采购员的供应商,申请共用时不显示“申请原因”,无需填写;
* 如果该供应商没有sku采购员,有其他采购员,则显示其他采购员对应的采购部门(有几个部门就显示几个部门,不显示运营部)
* 如果该供应商没有sku采购员,也没有采购员,有运营部人员,则显示运营部;
* PS:该供应商完全没有人员,则无法申请共用(同现有流程)
**/
public function CheckApplySupplierShare($request)
{
$supplierName = trim($request->get('supplier_name'));
......
......@@ -24,10 +24,12 @@
@if(checkPerm('TempTemp'))
<button type="button" class="layui-btn layui-btn-sm" id="add_supplier">新增</button>
@endif
@if(checkPerm('OperateSku'))
@if (checkPerm('UpdateGoodsStatus'))
<button type="button" class="layui-btn layui-btn-sm" id="batch_putaway">上架</button>
<button type="button" class="layui-btn layui-btn-sm" id="batch_off_shelf">下架</button>
<button type="button" class="layui-btn layui-btn-sm" id="remote_batch_off_shelf">批量下架</button>
@endif
@if(checkPerm('OperateSku'))
@if (checkPerm('BatchUpdateEncoded'))
<button type="button" class="layui-btn layui-btn-sm" id="batch_update_encoded">批量修改内部编码</button>
@endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment