@@ -333,8 +333,16 @@ function refreshTable(status) {
}
function add() {
- location.href = ns.url('shop/goods/addGoods');
+ var html = $("#selectAddGoods").html();
+ laytpl(html).render({}, function (html) {
+ layer.open({
+ type: 1,
+ title: '选择商品类型',
+ area: ['600px'],
+ content: html
+ });
// 删除