Commit c1b975e3 by 杨树贤

修改罗盘

parent e950dcaa
<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 Split = layui.Split;
// 水平分割,需要分割的元素(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 form = layui.form;
let index = layui.index;
......@@ -130,13 +130,13 @@
{field: 'supplier_type_name', title: '供应商类别', align: 'center', width: 110},
];
{{-- @if(checkPerm('ViewFakeSupplier') && request()->user->userId == 1000)--}}
{{-- cols.push({--}}
{{-- field: 'is_type', title: '正式供应商', align: 'center', width: 110, templet: function (data) {--}}
{{-- return data.is_type === 0 ? '正式' : '<span style="color: red">待转正</span>';--}}
{{-- }--}}
{{-- })--}}
{{-- @endif--}}
{{-- @if(checkPerm('ViewFakeSupplier') && request()->user->userId == 1000)--}}
{{-- cols.push({--}}
{{-- field: 'is_type', title: '正式供应商', align: 'center', width: 110, templet: function (data) {--}}
{{-- return data.is_type === 0 ? '正式' : '<span style="color: red">待转正</span>';--}}
{{-- }--}}
{{-- })--}}
{{-- @endif--}}
cols.push(
{field: 'create_time', title: '创建时间', align: 'center', width: 145},
);
......@@ -243,7 +243,7 @@
index.openTab({
title: '新增供应商',
url: '/supplier/AddSupplier?view=iframe',
end: function() {
end: function () {
// insTb.reload();
}
});
......
......@@ -101,10 +101,6 @@
<a class="main_filter" title="系统标签中贴有客户指定的供应商" id="has_supplier_tag">
</a>
</div>
<div class="layui-row">
<a class="main_filter" title="历史检测异常" id="history_abnormal">
</a>
</div>
</div>
<div class="split-item" id="s5" style="text-align: center">
@if(checkPerm('SupplierBlockList'))
......@@ -120,11 +116,18 @@
</div>
@endif
<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>
</div>
</div>
<div class="split-item" id="s6">
<div class="split-item" id="s7" style="text-align: center">
</div>
</div>
</div>
......@@ -166,12 +169,12 @@
{!! $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')]) !!}
</div>
{{-- @if(checkPerm('ViewFakeSupplier'))--}}
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('supplier_type','供应商类别','',config('field.SupplierType')) !!}
</div>
{{-- @endif--}}
{{-- @if(checkPerm('ViewFakeSupplier'))--}}
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('supplier_type','供应商类别','',config('field.SupplierType')) !!}
</div>
{{-- @endif--}}
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $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