Commit 02367b57 by 杨树贤

优化展示

parent 9cc632ad
...@@ -48,6 +48,7 @@ class SupplierContactTransformer ...@@ -48,6 +48,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']) : ''; $item['update_time'] = $item['update_time'] ? date('Y-m-d H:i:s', $item['update_time']) : '';
$item['add_time'] = $item['add_time'] ? date('Y-m-d H:i:s', $item['add_time']) : '';
} }
unset($item); unset($item);
......
...@@ -97,7 +97,7 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function () ...@@ -97,7 +97,7 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
}); });
Route::match(['get', 'post'], '/test', function () { Route::match(['get', 'post'], '/test', function () {
DataService::initHistoricalSupplierData(false,3); DataService::initHistoricalSupplierData(false,2);
if (request()->get('delete')) { if (request()->get('delete')) {
} }
// DataService::initSupplierReceiptNationId(); // DataService::initSupplierReceiptNationId();
......
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
{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: 210}, {field: 'channel_user_type_name', title: '<span class="require">* </span>采购员类型', align: 'center', width: 210},
{field: 'working_status', title: '采购员状态', align: 'center', width: 120}, {field: 'working_status', title: '采购员状态', align: 'center', width: 120},
{field: 'add_time', title: '新增时间', align: 'center', width: 150},
{field: 'update_time', title: '更新时间', align: 'center', width: 150}, {field: 'update_time', title: '更新时间', align: 'center', width: 150},
]], ]],
id: 'contactList', id: 'contactList',
......
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