Commit ae2cce52 by 杨树贤

修正页面

parent 759ad22b
...@@ -197,7 +197,7 @@ return [ ...@@ -197,7 +197,7 @@ return [
"RS COMPONENTS LIMITED", "RS COMPONENTS LIMITED",
"FUTURE ELECTRONICS (HONG KONG) LIMITED", "FUTURE ELECTRONICS (HONG KONG) LIMITED",
"Avnet Technology Hong Kong Limited", "Avnet Technology Hong Kong Limited",
// "Mogultech International Ltd." // "Mogultech International Ltd."
], ],
'CompanyNature' => [ 'CompanyNature' => [
'其它' => '其它', '其它' => '其它',
...@@ -252,6 +252,7 @@ return [ ...@@ -252,6 +252,7 @@ return [
7 => '专营芯链上传', 7 => '专营芯链上传',
8 => '专营采集', 8 => '专营采集',
9 => '芯链人工上传', 9 => '芯链人工上传',
12 => '芯链寄售上传'
], ],
'SupplierApplySource' => [ 'SupplierApplySource' => [
......
...@@ -169,13 +169,13 @@ ...@@ -169,13 +169,13 @@
let checkStatus = table.checkStatus('contractList'); let checkStatus = table.checkStatus('contractList');
let data = checkStatus.data; let data = checkStatus.data;
if (data.length > 1) { if (data.length > 1) {
layer.msg('该操作不支持多选', { parent.layer.msg('该操作不支持多选', {
icon: 5 icon: 5
}); });
return; return;
} }
if (!data.length) { if (!data.length) {
layer.msg('请先选择要操作的记录', { parent.layer.msg('请先选择要操作的记录', {
icon: 5 icon: 5
}); });
} else { } else {
...@@ -236,18 +236,18 @@ ...@@ -236,18 +236,18 @@
status: -1, status: -1,
}); });
if (!res) { if (!res) {
layer.msg('网络错误,请重试', { parent.layer.msg('网络错误,请重试', {
icon: 5 icon: 5
}); });
return; return;
} }
if (res.err_code === 0) { if (res.err_code === 0) {
layer.msg('操作成功', { parent.layer.msg('操作成功', {
icon: 6 icon: 6
}); });
table.reload('contractList'); table.reload('contractList');
} else { } else {
layer.msg(res.err_msg, { parent.layer.msg(res.err_msg, {
icon: 5 icon: 5
}); });
} }
...@@ -262,18 +262,18 @@ ...@@ -262,18 +262,18 @@
status: 1 status: 1
}); });
if (!res) { if (!res) {
layer.msg('网络错误,请重试', { parent.layer.msg('网络错误,请重试', {
icon: 5 icon: 5
}); });
return; return;
} }
if (res.err_code === 0) { if (res.err_code === 0) {
layer.msg('操作成功', { parent.layer.msg('操作成功', {
icon: 6 icon: 6
}); });
table.reload('contractList'); table.reload('contractList');
} else { } else {
layer.msg(res.err_msg, { parent.layer.msg(res.err_msg, {
icon: 5 icon: 5
}); });
} }
......
...@@ -40,8 +40,15 @@ ...@@ -40,8 +40,15 @@
</select> </select>
</div> </div>
</div> </div>
<div class="layui-inline" style="width: 600px">
@inject('transformableTimeIntervalPresenter', 'App\Presenters\Filter\TransformableTimeIntervalPresenter')
{!! $transformableTimeIntervalPresenter->render([
'create_time' => '创建时间',
'update_time' => '更新时间',
]) !!}
</div>
<div class="layui-inline"> <div class="layui-inline">
<button class="layui-btn layui-btn-sm" lay-submit lay-filter="search">搜索</button> <button class="layui-btn layui-btn-sm" lay-submit lay-filter="search">查询</button>
<button type="reset" class="layui-btn layui-btn-sm layui-btn-primary" <button type="reset" class="layui-btn layui-btn-sm layui-btn-primary"
onclick="location.reload()">重置</button> onclick="location.reload()">重置</button>
</div> </div>
......
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