...
|
...
|
@@ -413,7 +413,7 @@ $(document).on("click", "#goodsSelectBtn", function () { |
|
|
button: [{
|
|
|
value: "确定",
|
|
|
callback: function () {
|
|
|
Bll.module.data = goodsgird.selected.map(function (item, index) {
|
|
|
Bll.module.contentData.data = goodsgird.selected.map(function (item, index) {
|
|
|
return {
|
|
|
src: item.images_url,
|
|
|
id: item.product_skn,
|
...
|
...
|
@@ -469,9 +469,9 @@ $(document).on("click", ".goodsSelectBtn", function () { |
|
|
});
|
|
|
//删除图片按钮
|
|
|
$(document).on("click", ".removepic", function() {
|
|
|
Bll.module.data.splice($(this).data("index"), 1);
|
|
|
Bll.module.contentData.data.splice($(this).data("index"), 1);
|
|
|
$("#goodspic").html(common.util.__template2($("#template_dialog_goodsimgs").html(), {
|
|
|
datas: Bll.module.data
|
|
|
datas: Bll.module.contentData.data
|
|
|
}));
|
|
|
});
|
|
|
|
...
|
...
|
|