Commit e8f2aa24 by 杨树贤

页面优化

parent 594e90ee
......@@ -29,7 +29,7 @@ class SupplierFilter
$query->where('supplier_channel.supplier_type', $map['supplier_type']);
}
if (!empty($map['supplier_name'])) {
$query->where('supplier_name', 'like', "{$map['supplier_name']}%");
$query->where('supplier_name', 'like', "%{$map['supplier_name']}%");
}
if (!empty($map['supplier_code'])) {
$codes = explode(',', $map['supplier_code']);
......
......@@ -29,7 +29,13 @@
{
field: 'type_name', title: '<span class="require">* </span>附件类型', align: 'center', width: 150
},
{field: 'file_name', title: '<span class="require">* </span>附件名称', align: 'center', width: 200},
{
field: 'file_name',
title: '<span class="require">* </span>附件名称', align: 'center', width: 270,
templet: function (data) {
return "<a style='color: blue' href='" + data.file_url + "' target='_blank'>" + data.file_name + "</a>";
}
},
{field: 'description', title: '附件说明', align: 'center', width: 250},
{field: 'validity_period', title: '<span class="require">* </span>有效期', align: 'center', width: 250},
{field: 'create_name', title: '上传人', align: 'center', width: 100},
......
......@@ -35,8 +35,11 @@
{field: 'account_name', title: '账户名称', align: 'center', width: 150},
{field: 'swift_code', title: '电汇号码', align: 'center', width: 130},
{
field: 'certificate', title: '<span class="require">* </span>信息凭证', width: 200, align: 'center', templet: function (data) {
return "<a href='" + data.certificate + "' target='_blank'>" + data.certificate + "</a>";
field: 'certificate',
title: '<span class="require">* </span>信息凭证',
width: 200, align: 'center',
templet: function (data) {
return "<a style='color: blue' href='" + data.certificate + "' target='_blank'>" + data.certificate + "</a>";
}
},
{field: 'remark', title: '备注', align: 'center', width: 200},
......
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