Commit c1b975e3 by 杨树贤

修改罗盘

parent e950dcaa
<script> <script>
layui.use(['table', 'form', 'element', 'layer', 'Split', 'admin','index'], function () { layui.use(['table', 'form', 'element', 'layer', 'Split', 'admin', 'index'], function () {
let $ = layui.jquery; let $ = layui.jquery;
let Split = layui.Split; let Split = layui.Split;
// 水平分割,需要分割的元素(id)、默认大小(百分比)、最小值(单位px) // 水平分割,需要分割的元素(id)、默认大小(百分比)、最小值(单位px)
Split(['#s1', '#s2', '#s3', '#s4', '#s5', '#s6'], {sizes: [9, 12, 12, 12, 12, 43], minSize: 70}); Split(['#s1', '#s2', '#s3', '#s4', '#s5', '#s6', '#s7'], {sizes: [9, 12, 12, 12, 12, 12,31], minSize: 70});
let table = layui.table; let table = layui.table;
let form = layui.form; let form = layui.form;
let index = layui.index; let index = layui.index;
...@@ -130,13 +130,13 @@ ...@@ -130,13 +130,13 @@
{field: 'supplier_type_name', title: '供应商类别', align: 'center', width: 110}, {field: 'supplier_type_name', title: '供应商类别', align: 'center', width: 110},
]; ];
{{-- @if(checkPerm('ViewFakeSupplier') && request()->user->userId == 1000)--}} {{-- @if(checkPerm('ViewFakeSupplier') && request()->user->userId == 1000)--}}
{{-- cols.push({--}} {{-- cols.push({--}}
{{-- field: 'is_type', title: '正式供应商', align: 'center', width: 110, templet: function (data) {--}} {{-- field: 'is_type', title: '正式供应商', align: 'center', width: 110, templet: function (data) {--}}
{{-- return data.is_type === 0 ? '正式' : '<span style="color: red">待转正</span>';--}} {{-- return data.is_type === 0 ? '正式' : '<span style="color: red">待转正</span>';--}}
{{-- }--}} {{-- }--}}
{{-- })--}} {{-- })--}}
{{-- @endif--}} {{-- @endif--}}
cols.push( cols.push(
{field: 'create_time', title: '创建时间', align: 'center', width: 145}, {field: 'create_time', title: '创建时间', align: 'center', width: 145},
); );
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
index.openTab({ index.openTab({
title: '新增供应商', title: '新增供应商',
url: '/supplier/AddSupplier?view=iframe', url: '/supplier/AddSupplier?view=iframe',
end: function() { end: function () {
// insTb.reload(); // insTb.reload();
} }
}); });
......
...@@ -101,10 +101,6 @@ ...@@ -101,10 +101,6 @@
<a class="main_filter" title="系统标签中贴有客户指定的供应商" id="has_supplier_tag"> <a class="main_filter" title="系统标签中贴有客户指定的供应商" id="has_supplier_tag">
</a> </a>
</div> </div>
<div class="layui-row">
<a class="main_filter" title="历史检测异常" id="history_abnormal">
</a>
</div>
</div> </div>
<div class="split-item" id="s5" style="text-align: center"> <div class="split-item" id="s5" style="text-align: center">
@if(checkPerm('SupplierBlockList')) @if(checkPerm('SupplierBlockList'))
...@@ -120,11 +116,18 @@ ...@@ -120,11 +116,18 @@
</div> </div>
@endif @endif
<div class="layui-row"> <div class="layui-row">
<a class="main_filter" title="历史检测异常" id="history_abnormal">
</a>
</div>
</div>
<div class="split-item" id="s6" style="text-align: center">
<div class="layui-row">
<a class="main_filter" title="战略供应商" id="level_a"> <a class="main_filter" title="战略供应商" id="level_a">
</a> </a>
</div> </div>
</div> </div>
<div class="split-item" id="s6"> <div class="split-item" id="s7" style="text-align: center">
</div> </div>
</div> </div>
</div> </div>
...@@ -166,12 +169,12 @@ ...@@ -166,12 +169,12 @@
{!! $multiTransformableSelectPresenter->render(['has_sku'=>'SKU上传','sku_tag'=>'SKU标准','sku_mode'=>'SKU模式','uploaded_sku' => '历史SKU合作'], {!! $multiTransformableSelectPresenter->render(['has_sku'=>'SKU上传','sku_tag'=>'SKU标准','sku_mode'=>'SKU模式','uploaded_sku' => '历史SKU合作'],
['has_sku'=>[1=>'是',-1=>'否'],'sku_tag'=>config('field.SkuTag'),'sku_mode'=>config('field.SkuMode')]) !!} ['has_sku'=>[1=>'是',-1=>'否'],'sku_tag'=>config('field.SkuTag'),'sku_mode'=>config('field.SkuMode')]) !!}
</div> </div>
{{-- @if(checkPerm('ViewFakeSupplier'))--}} {{-- @if(checkPerm('ViewFakeSupplier'))--}}
<div class="layui-inline"> <div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter') @inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('supplier_type','供应商类别','',config('field.SupplierType')) !!} {!! $statusPresenter->render('supplier_type','供应商类别','',config('field.SupplierType')) !!}
</div> </div>
{{-- @endif--}} {{-- @endif--}}
<div class="layui-inline"> <div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter') @inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('level','等级','',config('field.LevelMap')) !!} {!! $statusPresenter->render('level','等级','',config('field.LevelMap')) !!}
......
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