Commit 0eb68828 by 杨树贤

过期时间展示

parent 7c0466f5
......@@ -99,6 +99,7 @@ class SkuService
$item['encoded_user_name'] = array_get($encodedUsers, $encoded, '');
$item['moq'] = $item['moq'] ?: 0;
$item['stock'] = $item['stock'] ?: 0;
$item['cp_time'] = $item['cp_time'] ? date('Y-m-d H:i:s', $item['cp_time']) : '';
return $item;
}, $list);
}
......
......@@ -38,11 +38,13 @@
@if (request()->get('search')==1)
setTimeout(function () {
$('#getSupplierListButton').click();
},500);
}, 500);
@endif
let cols = [
{type: 'checkbox'},
{field: 'cp_time', title: '上架有效期', align: 'center', width: 180},
{
field: 'goods_name', title: '型号', align: 'center', width: 200, templet: function (data) {
return "<a href='{{config('website.FootstoneUrl')}}/footstone/addsku?sku_id=" + data.goods_id + "' style='color:blue' target='_blank'>"
......
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