示例#1
0
 // 付款确认收汇列表
 @SuppressWarnings("unchecked")
 public String addShList() {
   Map pm = getRequestParams();
   List shDetailList = erpService.findByList(pager, "shcb_erp_sql.paymentPrint", pm);
   List wzkList = erpService.findByList(pager, "shcb_erp_sql.WZK", pm);
   request.setAttribute("list", shDetailList);
   request.setAttribute("wzkList", wzkList);
   return "add-sh-list";
 }
示例#2
0
 // 查看收汇明细信息
 @SuppressWarnings("unchecked")
 public String viewShDetail() {
   String invcode = request.getParameter("invcode");
   List shDetail = erpService.findByList("shcb_erp_sql.getSHDetail", invcode);
   request.setAttribute("shDetail", shDetail);
   return "order-sh-detail";
 }
示例#3
0
 // 查看支付明细信息
 @SuppressWarnings("unchecked")
 public String viewFkDetail() {
   Map pm = getRequestParams();
   List fkDetail = erpService.findByList(pager, "shcb_erp_sql.getFkDetail", pm);
   request.setAttribute("fkDetail", fkDetail);
   return "fk-detail";
 }
示例#4
0
  // 查看开票、支付明细信息
  @SuppressWarnings("unchecked")
  public String viewPayDetail() {
    Map pm = getRequestParams();
    List paymentDetail = erpService.findByList(pager, "shcb_erp_sql.getPaymentDetail", pm);

    return ajaxJson(JSONArray.fromObject(paymentDetail).toString());
  }
示例#5
0
 // 查看订单跟踪明细信息
 @SuppressWarnings("unchecked")
 public String viewDetail() {
   String userAgent = request.getHeader("User-Agent");
   if (StringUtils.containsIgnoreCase(userAgent, "MSIE")) {
     browseType = BROWSE_TYPE_IE;
   }
   String salordicode = request.getParameter("salordicode");
   // List mainInfo = erpService.findByList("shcb_erp_sql.getOrderBaseInfo", salordicode);
   List shipperInfos = erpService.findByList("shcb_erp_sql.getShipperInfo", salordicode);
   List customers = erpService.findByList("shcb_erp_sql.getCustomInfo", salordicode);
   List shs = erpService.findByList("shcb_erp_sql.getShInfo", salordicode);
   List hks = erpService.findByList("shcb_erp_sql.getHkInfo", salordicode);
   List fys = erpService.findByList("shcb_erp_sql.getFyInfo", salordicode);
   // request.setAttribute("mainInfo", mainInfo);
   request.setAttribute("shippers", shipperInfos);
   request.setAttribute("customers", customers);
   request.setAttribute("shs", shs);
   request.setAttribute("hks", hks);
   request.setAttribute("fys", fys);
   return "order-view-detail";
 }
示例#6
0
 /**
  * 导出方法(excel)
  *
  * @param pager 分页参数
  * @param map 参数
  * @param xlsName excel文件名
  */
 @SuppressWarnings("unchecked")
 @InputConfig(resultName = "error")
 public void export2Excel(
     Pager pager, Map map, String xlsName, String templateName, String sqlMapId) {
   List list = erpService.findByList(pager, sqlMapId, map);
   if (list == null || list.size() == 0) {
     addActionError("导出记录不能为空。");
     return;
   }
   Map beans = new HashMap();
   beans.put("list", list);
   this.setResponseHeaderForExport(templateName, xlsName, beans);
 }
示例#7
0
 /**
  * 加载开票清单余额
  *
  * @return
  */
 @SuppressWarnings("unchecked")
 public String loadPaymentDetailBalance() {
   Map map = getRequestParams();
   //		String odatefrom = (String) map.get("odatefrom");
   //		String odateto = (String) map.get("odateto");
   //		if((odatefrom==null || StringUtils.isEmpty(odatefrom)) && (odateto==null ||
   // StringUtils.isEmpty(odateto))){
   //			map.put("odatefrom", DateUtil.getCurrFirstDate());
   //			map.put("odateto", DateUtil.getCurrLastDate());
   //		}
   List list = erpService.findByList(pager, "shcb_erp_sql.loadPaymentDetailBalance", map);
   return ajaxJson(JacksonMapper.writeValueAsString(list));
 }
示例#8
0
 // 付款确认收汇无主预收款列表
 @SuppressWarnings("unchecked")
 public String addShWZList() {
   Map pm = getRequestParams();
   List list = erpService.findByList(pager, "shcb_erp_sql.WZK", pm);
   return ajaxJson(JacksonMapper.writeValueAsString(list));
 }