日期:2014-05-16 浏览次数:20422 次
function save(index) {
$("#gridlist").datagrid("endEdit", index);
var select = $("#gridlist").datagrid("getSelected");
var goodsId = select.GOODS_ID;
var lowerLimit = select.LOWER_LIMIT;
var storeInfoId = select.STORE_INFO_ID;
var param = {};
param.GOODS_ID = goodsId;
param.STORE_INFO_ID = storeInfoId;
param.LOWER_LIMIT = lowerLimit;
var url = "GoodsAction!modifyGoodsCordon.action";
if (isDigit(lowerLimit)) {
AjaxPost(url, param, function(data) {
$.alert("库存警戒线设置成功!");
});
} else {
$.alert("库存警戒线必须是数字!");
}
}
$(function() {
var p_height = $('.div_panel').parent().height();
$('.div_panel').height(p_height - 90);
$('.div_panel_search').height(75);
var grid = new easyui.datagrid(
……);
function ..①
};
$(function() {
function save(index) {
$("#gridlist").datagrid("endEdit", index);
var select = $("#gridlist").datagrid("getSelected");
var goodsId = select.GOODS_ID;
var lowerLimit = select.LOWER_LIMIT;
var storeInfoId = select.STORE_INFO_ID;
var param = {};
param.GOODS_ID = goodsId;
param.STORE_INFO_ID = storeInfoId;
param.LOWER_LIMIT = lowerLimit;
var url = "GoodsAction!modifyGoodsCordon.action";
if (isDigit(lowerLimit)) {
AjaxPost(url, param, function(data) {
$.alert("库存警戒线设置成功!");
});
} else {
$.alert("库存警戒线必须是数字!");
}
}
window.save = save;
var p_height = $('.div_panel').parent().height();
$('.div_panel').height(p_height - 90);
$('.div_panel_search').height(75);
var grid = new easyui.datagrid(
……);
function ..①
};
function save(index) {
$("#gridlist").datagrid("endEdit", index);
var select = $("#gridlist").datagrid("getSelected");