Commit 1ed72a77 by 杨树贤

优化前端展示和新增加字段展示

parent 3b4afffc
...@@ -47,6 +47,7 @@ class SupplierContactTransformer ...@@ -47,6 +47,7 @@ class SupplierContactTransformer
} }
$item['channel_user_type_name'] = array_get(config('field.ChannelUserType'), $item['channel_user_type']); $item['channel_user_type_name'] = array_get(config('field.ChannelUserType'), $item['channel_user_type']);
$item['update_time'] = $item['update_time'] ? date('Y-m-d H:i:s', $item['update_time']) : '';
} }
unset($item); unset($item);
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
where: { where: {
supplier_id: getQueryVariable("supplier_id") supplier_id: getQueryVariable("supplier_id")
}, },
size:"sm",
loading: true, loading: true,
first: true,//不显示首页 first: true,//不显示首页
last: false,//不显示尾页 last: false,//不显示尾页
...@@ -61,7 +62,9 @@ ...@@ -61,7 +62,9 @@
}, },
{field: 'supplier_fax', title: '传真', align: 'center', width: 140}, {field: 'supplier_fax', title: '传真', align: 'center', width: 140},
{field: 'channel_name', title: '<span class="require">* </span>采购员', align: 'center', width: 110}, {field: 'channel_name', title: '<span class="require">* </span>采购员', align: 'center', width: 110},
{field: 'channel_user_type_name', title: '<span class="require">* </span>采购员类型', align: 'center', width: 110}, {field: 'working_status', title: '采购员状态', align: 'center', width: 120}, {field: 'channel_user_type_name', title: '<span class="require">* </span>采购员类型', align: 'center', width: 110},
{field: 'working_status', title: '采购员状态', align: 'center', width: 120},
{field: 'update_time', title: '更新时间', align: 'center', width: 150},
]], ]],
id: 'contactList', id: 'contactList',
page: {}, page: {},
......
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