function cancel_reason (order_id) {
	$.openUrl(APP + "Threeorder/cancel_reason/order_id/"+order_id+".html",
        '取消订单原因','','400','','',
        function(){
            window.location.reload();
        });
}
function searchgoods(){
  var query= new Object();
  query.keyword =$('#keyword').val();
  $.ajax({
     type: "GET",
     url: APP+"PromotAct/ajaxgetgoods.html",
     data: query,
     success: function(data){
       $("#goods_id").html(data.list);
  }
  });
}
function searchshopgoods(){
  var query= new Object();
  query.keyword =$('#keyword').val();
  query.shop_id =$('#shop_id').val();
  query.is_pt =$('#is_pt').val();
  $.ajax({
     type: "GET",
     url: APP+"PromotAct/ajaxgetshopgoods.html",
     data: query,
     success: function(data){
       $("#goods_id").html(data.list);
  }
  });
}