Authored by shuaiguo

fix(product pool): 增加优惠券token

... ... @@ -42,7 +42,8 @@ module.exports = {
productSkns: {type: String},
productDetailInfo: {type: String},
bannerUrl: {type: String},
backImageUrl: {type: String}
backImageUrl: {type: String},
tokens: {type: String}
}
},
clearProductPool: {
... ...
... ... @@ -38,6 +38,7 @@ var g = new common.grid({
}},
{display: "说明", name: "comment"},
{display: "SKN个数", name: "total"},
{display: "优惠券", name: "tokens"},
{display: "操作", name: "", render: function (item) {
return '<a id="detailPool" class="btn btn-xs btn-info" data-index="'+item.__index+'">详情</a>' +
'<a id="editPool" class="btn btn-xs btn-primary" data-index="'+item.__index+'">编辑</a>' +
... ... @@ -122,7 +123,8 @@ var Bll = {
productSkns: $("#sknVal").val().replace("[", "").replace("]", ""),
productDetailInfo: $("#productDetailInfo1").val(),
bannerUrl: document.getElementById("bannerUrl").defaultValue,
backImageUrl: document.getElementById("backImageUrl").defaultValue
backImageUrl: document.getElementById("backImageUrl").defaultValue,
tokens: $('#couponTokens').val(),
}
}, function () {//局部刷新商品池名称,说明
if(type == 0){
... ...