Authored by uedxwg

upadat

... ... @@ -17,9 +17,9 @@ exports.init=function(){
var g=new grid({
el:'#storeadmin_Tabel',
parms:function(){
var supplierid=$('#supplier-name').val(),
brandId = $('#brand-name').val(),
checkStatus = $('#status').val();
var supplierid=!!~$.trim($('#supplier-name').val())?$('#supplier-name').val():"0",
brandId = !!~$.trim($('#brand-name').val())?$('#brand-name').val():"0",
checkStatus = !!~$.trim($('#status').val())?$('#status').val():"0";
return {
"supplierId":supplierid,
"brandId":brandId,
... ...
... ... @@ -16,9 +16,9 @@ exports.init=function(){
var g=new grid({
el:'#storeadmin_Tabel',
parms:function(){
var supplierid=$('#supplier-name').val(),
brandId = $('#brand-name').val(),
checkStatus = $('#status').val();
var supplierid=!!~$.trim($('#supplier-name').val())?$('#supplier-name').val():"0",
brandId = !!~$.trim($('#brand-name').val())?$('#brand-name').val():"0",
checkStatus = !!~$.trim($('#status').val())?$('#status').val():"0";
return {
"supplierId":supplierid,
"brandId":brandId,
... ...