Commit ae2cce52 by 杨树贤

修正页面

parent 759ad22b
......@@ -197,7 +197,7 @@ return [
"RS COMPONENTS LIMITED",
"FUTURE ELECTRONICS (HONG KONG) LIMITED",
"Avnet Technology Hong Kong Limited",
// "Mogultech International Ltd."
// "Mogultech International Ltd."
],
'CompanyNature' => [
'其它' => '其它',
......@@ -252,6 +252,7 @@ return [
7 => '专营芯链上传',
8 => '专营采集',
9 => '芯链人工上传',
12 => '芯链寄售上传'
],
'SupplierApplySource' => [
......
......@@ -169,13 +169,13 @@
let checkStatus = table.checkStatus('contractList');
let data = checkStatus.data;
if (data.length > 1) {
layer.msg('该操作不支持多选', {
parent.layer.msg('该操作不支持多选', {
icon: 5
});
return;
}
if (!data.length) {
layer.msg('请先选择要操作的记录', {
parent.layer.msg('请先选择要操作的记录', {
icon: 5
});
} else {
......@@ -236,18 +236,18 @@
status: -1,
});
if (!res) {
layer.msg('网络错误,请重试', {
parent.layer.msg('网络错误,请重试', {
icon: 5
});
return;
}
if (res.err_code === 0) {
layer.msg('操作成功', {
parent.layer.msg('操作成功', {
icon: 6
});
table.reload('contractList');
} else {
layer.msg(res.err_msg, {
parent.layer.msg(res.err_msg, {
icon: 5
});
}
......@@ -262,18 +262,18 @@
status: 1
});
if (!res) {
layer.msg('网络错误,请重试', {
parent.layer.msg('网络错误,请重试', {
icon: 5
});
return;
}
if (res.err_code === 0) {
layer.msg('操作成功', {
parent.layer.msg('操作成功', {
icon: 6
});
table.reload('contractList');
} else {
layer.msg(res.err_msg, {
parent.layer.msg(res.err_msg, {
icon: 5
});
}
......
......@@ -40,8 +40,15 @@
</select>
</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">
<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"
onclick="location.reload()">重置</button>
</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