$.index.open();
function okCallBackFun(data)
{
  Ti.API.info("-------get Value:"+data.getValue());
};
function cancelCallBackFun(data)
{
};
$.iosDatePicker.updateOptions(
{
  okCallBackFun: okCallBackFun,
  // cancelCallBackFun: okCallBackFun,
});
var minDate = new Date();
minDate.setFullYear(2014);
minDate.setMonth(00);
minDate.setDate(01);

var currentDate = new Date();
currentDate.setFullYear(2015);
currentDate.setMonth(05);
currentDate.setDate(12);

var maxDate = new Date();
maxDate.setFullYear(2015);
maxDate.setMonth(06);
maxDate.setDate(30);

$.iosDatePicker.updateDatePicker(
{
  minDate: minDate,
  currentDate: currentDate,
  maxDate: maxDate,
});
$.index.addEventListener('click', function()
{
  $.iosDatePicker.siderIn();
});

$.header.init(
{
  name: '单品录入'
});

