...
|
...
|
@@ -2,7 +2,7 @@ |
|
|
var $ = require('jquery'),
|
|
|
common = require('../../../common/common'),
|
|
|
rejectPromotions=require('./partials/edit_reject');
|
|
|
|
|
|
var baseInfoEdit=require('./partials/edit_baseinfo');
|
|
|
/*
|
|
|
* 获取业务数据
|
|
|
*/
|
...
|
...
|
@@ -45,6 +45,7 @@ var loadTabHtml=function(columnname){ |
|
|
if (columnname === ENUM.tabName[0].en) {//baseinfo
|
|
|
var html_baseinfo=common.util.__template2($("#fm_baseInfo").html(), PromotionInfo);
|
|
|
$("#tab_body").html(html_baseinfo);
|
|
|
baseInfoEdit.load({promotionId:PromotionInfo.id});
|
|
|
}else if(columnname === ENUM.tabName[1].en) {//condition
|
|
|
var html_condition = $("#fm_condition").html()||default_html;
|
|
|
$("#tab_body").html(html_condition);
|
...
|
...
|
@@ -64,6 +65,7 @@ var loadTabHtml=function(columnname){ |
|
|
$("#tab_body").html(html_display);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//tab 页组件
|
|
|
var t = new common.tab2({
|
|
|
el: "#basicTab",
|
...
|
...
|
|