function dfMaster_onApply()
{
var date = $('#dfMaster_進貨日期').datebox('getValue');
date = date.substr(0,4)+date.substr(5,2);
var closeym = $.getVariableValue('closeYM');
if (date <= closeym) {
$.alert("進貨日期小於結帳日, 無法保存",'info');
return false;
}
return true;
}