mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 11:02:48 +08:00
feat: 初步完成详情生成
This commit is contained in:
@@ -2,7 +2,22 @@ $(function(){
|
||||
ua.table.render({
|
||||
init: init,
|
||||
cols: [[
|
||||
{type: 'checkbox'},
|
||||
{type: 'checkbox'},
|
||||
{field: 'id', title: 'id'},
|
||||
{field: 'cate_id', title: '分类ID'},
|
||||
{field: 'title', title: '商品名称'},
|
||||
{field: 'logo', title: '商品logo', templet: ua.table.image},
|
||||
{field: 'total_stock', title: '总库存'},
|
||||
{field: 'sort', title: '排序', edit: 'text'},
|
||||
{field: 'status', search: 'select', selectList: ua.getDataBrage('select_list_status'), title: '状态', templet: ua.table.switch},
|
||||
{field: 'cert_file', title: '合格证', templet: ua.table.url},
|
||||
{field: 'remark', title: '备注说明', templet: ua.table.text},
|
||||
{field: 'create_time', title: 'create_time'},
|
||||
{field: 'publish_time', title: '发布日期'},
|
||||
{field: 'sale_time', title: '售卖日期'},
|
||||
{field: 'intro', title: '简介'},
|
||||
{field: 'time_status', search: 'select', selectList: ua.getDataBrage('select_list_time_status'), title: '秒杀状态'},
|
||||
{field: 'is_recommend', search: 'select', selectList: ua.getDataBrage('select_list_is_recommend'), title: '是否推荐'},
|
||||
{field: 'shop_type', search: 'select', selectList: ua.getDataBrage('select_list_shop_type'), title: '商品类型'},
|
||||
{field: 'from_area', title: '产地'},
|
||||
{field: 'store_city', title: '仓库'},
|
||||
|
||||
Reference in New Issue
Block a user