sku
This commit is contained in:
+15
-3
@@ -16,10 +16,12 @@ layui.use(['form', 'table'], function () {
|
||||
.replace(/删除/g, lang.carlist.operations.delete)
|
||||
.replace(/审核/g, lang.carlist.operations.check)
|
||||
.replace(/详情/g, lang.carlist.operations.show)
|
||||
.replace(/属性/g, lang.carlist.operations.sku)
|
||||
.replace(/Edit/g, lang.carlist.operations.edit)
|
||||
.replace(/Delete/g, lang.carlist.operations.delete)
|
||||
.replace(/Check/g, lang.carlist.operations.check)
|
||||
.replace(/Details/g, lang.carlist.operations.show);
|
||||
.replace(/Details/g, lang.carlist.operations.show)
|
||||
.replace(/Sku/g, lang.carlist.operations.sku);
|
||||
$('#currentTableBar').html(newHtml);
|
||||
}
|
||||
var toolbarDemo = $('#toolbarDemo').html();
|
||||
@@ -156,8 +158,8 @@ layui.use(['form', 'table'], function () {
|
||||
alert(result.message);
|
||||
}
|
||||
})
|
||||
console.log(datas)
|
||||
console.log(field)
|
||||
// console.log(datas)
|
||||
// console.log(field)
|
||||
|
||||
});
|
||||
submit.trigger('click');
|
||||
@@ -250,6 +252,16 @@ layui.use(['form', 'table'], function () {
|
||||
area: ['60%', '85%'],
|
||||
content: '../page/table/newcarlistshow.html?id='+data.id
|
||||
});
|
||||
}else if (obj.event === 'sku') { // 监听删除操作
|
||||
var index = layer.open({
|
||||
title: lang.carlist.operations.sku,
|
||||
type: 2,
|
||||
shade: 0.2,
|
||||
maxmin: true,
|
||||
shadeClose: false,
|
||||
area: ['80%', '90%'],
|
||||
content: '../page/sku.html?id='+data.id
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user