mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 19:12:48 +08:00
增加商品详情的案例查询;删除部分技术债务
This commit is contained in:
@@ -10,6 +10,7 @@ define(["jquery", "easy-admin"], function ($, ea) {
|
||||
export_url: 'mall.goods/export',
|
||||
modify_url: 'mall.goods/modify',
|
||||
stock_url: 'mall.goods/stock',
|
||||
read_url: 'mall.goods/read',
|
||||
};
|
||||
|
||||
var Controller = {
|
||||
@@ -65,7 +66,14 @@ define(["jquery", "easy-admin"], function ($, ea) {
|
||||
method: 'open',
|
||||
auth: 'stock',
|
||||
class: 'layui-btn layui-btn-xs layui-btn-normal',
|
||||
}],
|
||||
}, {
|
||||
text: '详情',
|
||||
url: init.read_url,
|
||||
method: 'open',
|
||||
auth: 'edit',
|
||||
extend: 'data-full="true"',
|
||||
class: 'layui-btn layui-btn-xs layui-btn-primary',
|
||||
},],
|
||||
'delete']
|
||||
}
|
||||
]],
|
||||
@@ -82,6 +90,9 @@ define(["jquery", "easy-admin"], function ($, ea) {
|
||||
stock: function () {
|
||||
ea.listen();
|
||||
},
|
||||
read: function () {
|
||||
ea.listen();
|
||||
},
|
||||
};
|
||||
return Controller;
|
||||
});
|
||||
Reference in New Issue
Block a user