...
|
...
|
@@ -9,15 +9,16 @@ var grid=require('../common/grid'); |
|
|
|
|
|
exports.init=function(){
|
|
|
new dropDown({el:"#status"});
|
|
|
new dropDown({el:"#store-type"});
|
|
|
new dropDown({el:"#store-model"});
|
|
|
new dropDown({el:"#brand-name",ajax:"brand"});
|
|
|
new dropDown({el:"#supplier-name",ajax:"supplier"});
|
|
|
$('#filter-btn').on('click',function(){
|
|
|
g.reload();
|
|
|
});
|
|
|
var g=new grid({
|
|
|
el:'#storeadmin_Tabel',
|
|
|
parms:function(){
|
|
|
var supplierid=$('#supplier-name').val(),
|
|
|
brandId = $('#brand-name').val();
|
|
|
brandId = $('#brand-name').val(),
|
|
|
checkStatus = $('#status').val();
|
|
|
return {
|
|
|
"supplierId":supplierid,
|
...
|
...
|
|