Commit 24714fdc by 杨树贤

temp

parent 1724f4fb
...@@ -527,7 +527,7 @@ class SupplierApiController extends Controller ...@@ -527,7 +527,7 @@ class SupplierApiController extends Controller
$adminService = new AdminUserService(); $adminService = new AdminUserService();
$user = $adminService->getAdminUserInfoByCodeId($channelUid); $user = $adminService->getAdminUserInfoByCodeId($channelUid);
$logService = new LogService(); $logService = new LogService();
$logService->AddLog($supplierId, LogModel::UPDATE_OPERATE, '设置云芯采购员', '设置云芯采购员为 : ' . $user['name']); $logService->AddLog($supplierId, LogModel::UPDATE_OPERATE, '设置SKU采购员', '设置SKU采购员为 : ' . $user['name']);
$this->response(0, '设置云芯采购成功'); $this->response(0, '设置云芯采购成功');
} else { } else {
$this->response(-1, '设置云芯采购失败'); $this->response(-1, '设置云芯采购失败');
......
...@@ -299,7 +299,7 @@ class SupplierController extends Controller ...@@ -299,7 +299,7 @@ class SupplierController extends Controller
return view('web', $data); return view('web', $data);
} }
//分配云芯采购员 //分配SKU采购员
public function SetYunxinChannelUser($request) public function SetYunxinChannelUser($request)
{ {
$supplierId = $request->get('supplier_id'); $supplierId = $request->get('supplier_id');
...@@ -309,7 +309,7 @@ class SupplierController extends Controller ...@@ -309,7 +309,7 @@ class SupplierController extends Controller
$this->data['supplier'] = $supplier; $this->data['supplier'] = $supplier;
$intraCodeModel = new IntracodeModel(); $intraCodeModel = new IntracodeModel();
$userCodes = $intraCodeModel->getSampleEncode(); $userCodes = $intraCodeModel->getSampleEncode();
//去除非当前供应商所拥有的采购的人员,只能从当前供应商设置的采购里面选择云芯采购员 //去除非当前供应商所拥有的采购的人员,只能从当前供应商设置的采购里面选择SKU采购员
$channelUids = explode(',', $supplier['channel_uid']); $channelUids = explode(',', $supplier['channel_uid']);
foreach ($userCodes as $codeId => $value) { foreach ($userCodes as $codeId => $value) {
if (!in_array($codeId, $channelUids)) { if (!in_array($codeId, $channelUids)) {
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
type: 2, type: 2,
content: '/supplier/SetYunxinChannelUser?view=iframe&supplier_id=' + supplierId, content: '/supplier/SetYunxinChannelUser?view=iframe&supplier_id=' + supplierId,
area: ['600px', '525px'], area: ['600px', '525px'],
title: '配置云芯采购员', title: '配置SKU采购员',
end: function () { // 监听弹窗关闭 end: function () { // 监听弹窗关闭
table.reload('contactList'); table.reload('contactList');
} }
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
</div> </div>
<div class="layui-col-md2"> <div class="layui-col-md2">
云芯采购员 : {{$supplier['yunxin_channel_username']}} SKU采购员 : {{$supplier['yunxin_channel_username']}}
</div> </div>
<div class="layui-col-md3"> <div class="layui-col-md3">
<span title="{{$supplier['channel_username']}}"> <span title="{{$supplier['channel_username']}}">
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
@endif @endif
</div> </div>
<div class="layui-col-md2"> <div class="layui-col-md2">
云芯采购员 : {{$supplier['yunxin_channel_username']}} SKU采购员 : {{$supplier['yunxin_channel_username']}}
</div> </div>
<div class="layui-col-md3"> <div class="layui-col-md3">
<span title="{{$supplier['channel_username']}}"> <span title="{{$supplier['channel_username']}}">
......
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