Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
dbc22472
authored
Jul 11, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
上下架SKU加入权限
parent
40f91cc1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
app/Http/Controllers/Api/SupplierShareApplyApiController.php
resources/views/web/SkuList.blade.php
app/Http/Controllers/Api/SupplierShareApplyApiController.php
View file @
dbc22472
...
@@ -25,6 +25,14 @@ class SupplierShareApplyApiController extends Controller
...
@@ -25,6 +25,14 @@ class SupplierShareApplyApiController extends Controller
}
}
//校验申请的供应商,并且还要返回所属部门列表
//校验申请的供应商,并且还要返回所属部门列表
/**
* 功能说明:1、采购员在操作共用申请时,如果该供应商有sku采购员,则只能选择sku采购员所在部门进行审核(其余部门都不显示)并且出现“申请原因”,文本框,必填,300个字符以内;
* PS:没有sku采购员的供应商,申请共用时不显示“申请原因”,无需填写;
* 如果该供应商没有sku采购员,有其他采购员,则显示其他采购员对应的采购部门(有几个部门就显示几个部门,不显示运营部)
* 如果该供应商没有sku采购员,也没有采购员,有运营部人员,则显示运营部;
* PS:该供应商完全没有人员,则无法申请共用(同现有流程)
**/
public
function
CheckApplySupplierShare
(
$request
)
public
function
CheckApplySupplierShare
(
$request
)
{
{
$supplierName
=
trim
(
$request
->
get
(
'supplier_name'
));
$supplierName
=
trim
(
$request
->
get
(
'supplier_name'
));
...
...
resources/views/web/SkuList.blade.php
View file @
dbc22472
...
@@ -24,10 +24,12 @@
...
@@ -24,10 +24,12 @@
@if(checkPerm('TempTemp'))
@if(checkPerm('TempTemp'))
<button type="
button
" class="
layui
-
btn
layui
-
btn
-
sm
" id="
add_supplier
">新增</button>
<button type="
button
" class="
layui
-
btn
layui
-
btn
-
sm
" id="
add_supplier
">新增</button>
@endif
@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_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="
batch_off_shelf
">下架</button>
<button type="
button
" class="
layui
-
btn
layui
-
btn
-
sm
" id="
remote_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'))
@if (checkPerm('BatchUpdateEncoded'))
<button type="
button
" class="
layui
-
btn
layui
-
btn
-
sm
" id="
batch_update_encoded
">批量修改内部编码</button>
<button type="
button
" class="
layui
-
btn
layui
-
btn
-
sm
" id="
batch_update_encoded
">批量修改内部编码</button>
@endif
@endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment