anchor.diff:  //= require foundation-datepicker.min
   // if session[:locale] == 'zh'
   //= require foundation-datepicker.zh-CN
  - 
  +
   
   function checkPositiveInteger(obj){
     var num = obj.val();
  
positive.code: });
  
  //--------时间选择插件----------//
   $('.fdatepicker').fdatepicker({
      language: 'zh',
      format: 'yyyy-dd-mm hh:ii',
      disableDblClickSelection: true,
      pickTime: true
    });
  
  // end
  // var nowTemp = new Date();
  
negative.code: //--------------新建团购-----------------//
  var unitInput = $('#groupbuy_goods_unit');
  var unitText = $('.goods-unit-blank');
  if(unitInput.val()){
    if(unitInput.val().replace(/\s/g, '').length > 0) {
      unitText.text(unitInput.val());
    }
    else {
      $('#groupbuy_goods_unit').on('change', function(){
        var val = $(this).val();
        $('.goods-unit-blank').text(val);
      });
    }
  }
  
  // 价格不能为负数
  