...
|
...
|
@@ -393,7 +393,7 @@ $(document).on("click", "#copyTab", function() { |
|
|
data: {rId:resources[currIndex].resource.id}
|
|
|
}, function (res) {
|
|
|
//setTimeout(function() {
|
|
|
window.location.href = window.location.href;
|
|
|
window.location.href = window.location.href;
|
|
|
//}, 2000);
|
|
|
});
|
|
|
});
|
...
|
...
|
@@ -415,7 +415,7 @@ $(document).on("click", "#saveTime", function() { |
|
|
}
|
|
|
}, function (res) {
|
|
|
//setTimeout(function() {
|
|
|
window.location.href = window.location.href;
|
|
|
window.location.href = window.location.href;
|
|
|
//}, 2000);
|
|
|
});
|
|
|
});
|
...
|
...
|
@@ -451,7 +451,7 @@ $(document).on("click", "#delTab", function() { |
|
|
}
|
|
|
}, function (res) {
|
|
|
//setTimeout(function() {
|
|
|
window.location.href = window.location.href;
|
|
|
window.location.href = window.location.href;
|
|
|
//}, 2000);
|
|
|
|
|
|
});
|
...
|
...
|
@@ -522,7 +522,7 @@ $(document).on("click", "#sub_btn", function () { |
|
|
data: data
|
|
|
}, function (res) {
|
|
|
//setTimeout(function() {
|
|
|
window.location.href = window.location.href;
|
|
|
window.location.href = window.location.href;
|
|
|
//},1000)
|
|
|
|
|
|
});
|
...
|
...
|
@@ -570,7 +570,12 @@ var goodsgird = new common.grid({ |
|
|
item.images_url = common.util.__joinImg("goodsimg", item.images_url);
|
|
|
}
|
|
|
else {
|
|
|
item.images_url = "";
|
|
|
if(item.default_images){
|
|
|
item.images_url = common.util.__joinImg("goodsimg", item.default_images);
|
|
|
}
|
|
|
else{
|
|
|
item.images_url=""
|
|
|
}
|
|
|
}
|
|
|
return "<img width=120 height=60 src='" + item.images_url + "?imageView/2/w/100/h/100'/>";
|
|
|
}
|
...
|
...
|
@@ -634,8 +639,9 @@ $(document).on("click", "#goodsSelectBtn", function () { |
|
|
});
|
|
|
//点击“添加组”按钮(添加商品组)
|
|
|
$(document).on("click", "#goodsaddBtn", function () {
|
|
|
var item = $.extend(true, {}, Button[5].data[0]);
|
|
|
if (Bll.module.contentData.data[0].list.length) {
|
|
|
Bll.module.contentData.data.push(Button[5].data[0]);
|
|
|
Bll.module.contentData.data.push(item);
|
|
|
}
|
|
|
Bll.__render("#groupsgoods", "template_dialog_remgoodsgroup", Bll.module);
|
|
|
});
|
...
|
...
|
|