Authored by chenjian

Merge branch 'dev_available_channel' into test6.8.4

... ... @@ -528,7 +528,11 @@ $(document).on("click", "#save_brand", function () {
common.util.__tip('渠道限制不能为空!', 'warning');
return false;
}
couponBean.channel = JSON.stringify(jsonDataChannel)
/**
* 该属性值给校验未通过回显用 校验通过重新赋值
* @type {Array}
*/
couponBean.channel = jsonDataChannel
//新增时如果,如果没有选定,赋予1(我司承担)
... ... @@ -585,6 +589,12 @@ $(document).on("click", "#save_brand", function () {
}
}
if (e.validate()) {
/**
* 通过所有检测再重新赋值
* @type {string}
*/
couponBean.channel = JSON.stringify(jsonDataChannel)
delete couponBean.useRange;
common.util.__ajax({
url: action,
... ...