Authored by chenchao

add checkbox

... ... @@ -9,7 +9,7 @@ window.NETSALEDATA= window.ViewModel.data;
console.log(window.NETSALEDATA);
var promotionEdit={
/*batchId:[],
batchId:[],
buildCheckboxHtml:function(_class,_data_index,_checked){
var _checkBox="<input type='checkbox'";
... ... @@ -25,7 +25,7 @@ var promotionEdit={
}
_checkBox+=_end;
return _checkBox;
},*/
},
getParam:function(){
var param={
el: '#basicTable_promotion',
... ... @@ -37,7 +37,7 @@ var promotionEdit={
};
},
columns: [
/*
{
display: '',
type: 'checkbox',
... ... @@ -61,7 +61,7 @@ var promotionEdit={
}
return htmlContent;
}
},*/{
},{
display: "ID",
name: "id"
}, {
... ...