wangxiaoming %!s(int64=7) %!d(string=hai) anos
pai
achega
d227231b93

+ 178 - 0
watero-rst-core/src/main/java/com.iamberry.rst.core/cm/Postage.java

@@ -0,0 +1,178 @@
+package com.iamberry.rst.core.cm;
+
+import java.util.Date;
+
+/**
+ * 邮费转账
+ */
+public class Postage {
+    private Integer postageId;
+    //客服人员id
+    private Integer adminId;
+    //状态(客服操作)1:待申请    2:申请中
+    private Integer postageCustomerStatus;
+    //状态(客服经理审核)1:审核中 2:通过  3:驳回
+    private Integer postageManagerStatus;
+    //状态(财务审核) 1:审核中 2:通过(已申请待转账)  3:驳回  4:已转账
+    private Integer postageFinanceStatus;
+    //订单来源 销售渠道id
+    private Integer postageOrderSource;
+    //售后处理方式 3:换新  4:维修  5:补发  6:退货  7:无理由退货
+    private Integer postageTreatmentMethod;
+    //efast订单号
+    private String salesOrderid;
+    //客户姓名
+    private String postageClientName;
+    //联系电话
+    private String postageClientTel;
+    //退回快递公司
+    private String postageLogisticsCompany;
+    //退回快递编号
+    private String postageLogisticsNo;
+    //退款金额
+    private Integer postageAmount;
+    //支付宝账户
+    private String postageAlipay;
+    //支付宝姓名
+    private String postageAlipayName;
+
+    private Date postageCreateTime;
+
+    private Date postageUpdateTime;
+
+    public Integer getPostageId() {
+        return postageId;
+    }
+
+    public void setPostageId(Integer postageId) {
+        this.postageId = postageId;
+    }
+
+    public Integer getAdminId() {
+        return adminId;
+    }
+
+    public void setAdminId(Integer adminId) {
+        this.adminId = adminId;
+    }
+
+    public Integer getPostageCustomerStatus() {
+        return postageCustomerStatus;
+    }
+
+    public void setPostageCustomerStatus(Integer postageCustomerStatus) {
+        this.postageCustomerStatus = postageCustomerStatus;
+    }
+
+    public Integer getPostageManagerStatus() {
+        return postageManagerStatus;
+    }
+
+    public void setPostageManagerStatus(Integer postageManagerStatus) {
+        this.postageManagerStatus = postageManagerStatus;
+    }
+
+    public Integer getPostageFinanceStatus() {
+        return postageFinanceStatus;
+    }
+
+    public void setPostageFinanceStatus(Integer postageFinanceStatus) {
+        this.postageFinanceStatus = postageFinanceStatus;
+    }
+
+    public Integer getPostageOrderSource() {
+        return postageOrderSource;
+    }
+
+    public void setPostageOrderSource(Integer postageOrderSource) {
+        this.postageOrderSource = postageOrderSource;
+    }
+
+    public Integer getPostageTreatmentMethod() {
+        return postageTreatmentMethod;
+    }
+
+    public void setPostageTreatmentMethod(Integer postageTreatmentMethod) {
+        this.postageTreatmentMethod = postageTreatmentMethod;
+    }
+
+    public String getSalesOrderid() {
+        return salesOrderid;
+    }
+
+    public void setSalesOrderid(String salesOrderid) {
+        this.salesOrderid = salesOrderid == null ? null : salesOrderid.trim();
+    }
+
+    public String getPostageClientName() {
+        return postageClientName;
+    }
+
+    public void setPostageClientName(String postageClientName) {
+        this.postageClientName = postageClientName == null ? null : postageClientName.trim();
+    }
+
+    public String getPostageClientTel() {
+        return postageClientTel;
+    }
+
+    public void setPostageClientTel(String postageClientTel) {
+        this.postageClientTel = postageClientTel == null ? null : postageClientTel.trim();
+    }
+
+    public String getPostageLogisticsCompany() {
+        return postageLogisticsCompany;
+    }
+
+    public void setPostageLogisticsCompany(String postageLogisticsCompany) {
+        this.postageLogisticsCompany = postageLogisticsCompany == null ? null : postageLogisticsCompany.trim();
+    }
+
+    public String getPostageLogisticsNo() {
+        return postageLogisticsNo;
+    }
+
+    public void setPostageLogisticsNo(String postageLogisticsNo) {
+        this.postageLogisticsNo = postageLogisticsNo == null ? null : postageLogisticsNo.trim();
+    }
+
+    public Integer getPostageAmount() {
+        return postageAmount;
+    }
+
+    public void setPostageAmount(Integer postageAmount) {
+        this.postageAmount = postageAmount;
+    }
+
+    public String getPostageAlipay() {
+        return postageAlipay;
+    }
+
+    public void setPostageAlipay(String postageAlipay) {
+        this.postageAlipay = postageAlipay == null ? null : postageAlipay.trim();
+    }
+
+    public String getPostageAlipayName() {
+        return postageAlipayName;
+    }
+
+    public void setPostageAlipayName(String postageAlipayName) {
+        this.postageAlipayName = postageAlipayName == null ? null : postageAlipayName.trim();
+    }
+
+    public Date getPostageCreateTime() {
+        return postageCreateTime;
+    }
+
+    public void setPostageCreateTime(Date postageCreateTime) {
+        this.postageCreateTime = postageCreateTime;
+    }
+
+    public Date getPostageUpdateTime() {
+        return postageUpdateTime;
+    }
+
+    public void setPostageUpdateTime(Date postageUpdateTime) {
+        this.postageUpdateTime = postageUpdateTime;
+    }
+}

+ 55 - 0
watero-rst-core/src/main/java/com.iamberry.rst.core/cm/PostageAuthority.java

@@ -0,0 +1,55 @@
+package com.iamberry.rst.core.cm;
+
+import java.util.Date;
+
+public class PostageAuthority {
+    private Integer postageAuthorityId;
+    //管理员id
+    private Integer adminId;
+    //权限 1:客服人员   2:客服经理 3:财务
+    private Integer postageAuthorityGrade;
+    //状态 1:使用中  2:未使用
+    private Integer postageAuthorityStatus;
+
+    private Date postageAuthorityCreateTime;
+
+    public Integer getPostageAuthorityId() {
+        return postageAuthorityId;
+    }
+
+    public void setPostageAuthorityId(Integer postageAuthorityId) {
+        this.postageAuthorityId = postageAuthorityId;
+    }
+
+    public Integer getAdminId() {
+        return adminId;
+    }
+
+    public void setAdminId(Integer adminId) {
+        this.adminId = adminId;
+    }
+
+    public Integer getPostageAuthorityGrade() {
+        return postageAuthorityGrade;
+    }
+
+    public void setPostageAuthorityGrade(Integer postageAuthorityGrade) {
+        this.postageAuthorityGrade = postageAuthorityGrade;
+    }
+
+    public Integer getPostageAuthorityStatus() {
+        return postageAuthorityStatus;
+    }
+
+    public void setPostageAuthorityStatus(Integer postageAuthorityStatus) {
+        this.postageAuthorityStatus = postageAuthorityStatus;
+    }
+
+    public Date getPostageAuthorityCreateTime() {
+        return postageAuthorityCreateTime;
+    }
+
+    public void setPostageAuthorityCreateTime(Date postageAuthorityCreateTime) {
+        this.postageAuthorityCreateTime = postageAuthorityCreateTime;
+    }
+}

+ 35 - 0
watero-rst-interface/src/main/java/com/iamberry/rst/faces/cm/PostageService.java

@@ -0,0 +1,35 @@
+package com.iamberry.rst.faces.cm;
+
+import com.iamberry.rst.core.cm.*;
+import com.iamberry.rst.core.order.ProductType;
+import com.iamberry.rst.core.page.PagedResult;
+
+import java.util.Map;
+
+/**
+ * 转账邮费
+ */
+public interface PostageService {
+
+    /**
+     * 添加
+     * @param postage
+     * @return
+     */
+    Integer savePostage(Postage postage);
+
+    /**
+     * 修改
+     * @param postage
+     * @return
+     */
+    Integer updatePostage(Postage postage);
+
+    /**
+     *  邮费转账列表
+     * @param postage
+     * @return
+     */
+    PagedResult<Postage> listPostage(int pageNO, int pageSize, Postage postage, boolean isTotalNum);
+
+}

+ 22 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/PostageServiceImpl.java

@@ -0,0 +1,22 @@
+package com.iamberry.rst.service.cm;
+
+import com.iamberry.rst.core.cm.Postage;
+import com.iamberry.rst.core.page.PagedResult;
+import com.iamberry.rst.faces.cm.PostageService;
+
+public class PostageServiceImpl implements PostageService {
+    @Override
+    public Integer savePostage(Postage postage) {
+        return null;
+    }
+
+    @Override
+    public Integer updatePostage(Postage postage) {
+        return null;
+    }
+
+    @Override
+    public PagedResult<Postage> listPostage(int pageNO, int pageSize, Postage postage, boolean isTotalNum) {
+        return null;
+    }
+}

+ 31 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/PostageMapper.java

@@ -0,0 +1,31 @@
+package com.iamberry.rst.service.cm.mapper;
+
+import com.iamberry.rst.core.cm.CustomerInfo;
+import com.iamberry.rst.core.cm.Postage;
+import com.iamberry.rst.core.order.ProductType;
+import com.iamberry.rst.core.page.PagedResult;
+
+import java.util.List;
+
+public interface PostageMapper {
+    /**
+     * 添加
+     * @param postage
+     * @return
+     */
+    Integer savePostage(Postage postage);
+
+    /**
+     * 修改
+     * @param postage
+     * @return
+     */
+    Integer updatePostage(Postage postage);
+
+    /**
+     *  邮费转账列表
+     * @param postage
+     * @return
+     */
+    List<Postage> listPostage(Postage postage);
+}

+ 240 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/postageMapper.xml

@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.iamberry.rst.service.cm.mapper.PostageMapper" >
+  <resultMap id="BaseResultMap" type="Postage" >
+    <id column="postage_id" property="postageId" jdbcType="INTEGER" />
+    <result column="admin_id" property="adminId" jdbcType="INTEGER" />
+    <result column="postage_customer_status" property="postageCustomerStatus" jdbcType="INTEGER" />
+    <result column="postage_manager_status" property="postageManagerStatus" jdbcType="INTEGER" />
+    <result column="postage_finance_status" property="postageFinanceStatus" jdbcType="INTEGER" />
+    <result column="postage_order_source" property="postageOrderSource" jdbcType="INTEGER" />
+    <result column="postage_treatment method" property="postageTreatmentMethod" jdbcType="INTEGER" />
+    <result column="sales_orderId" property="salesOrderid" jdbcType="VARCHAR" />
+    <result column="postage_client_name" property="postageClientName" jdbcType="VARCHAR" />
+    <result column="postage_client_tel" property="postageClientTel" jdbcType="VARCHAR" />
+    <result column="postage_logistics_company" property="postageLogisticsCompany" jdbcType="VARCHAR" />
+    <result column="postage_logistics_no" property="postageLogisticsNo" jdbcType="VARCHAR" />
+    <result column="postage_amount" property="postageAmount" jdbcType="INTEGER" />
+    <result column="postage_alipay" property="postageAlipay" jdbcType="VARCHAR" />
+    <result column="postage_alipay_name" property="postageAlipayName" jdbcType="VARCHAR" />
+    <result column="postage_create_time" property="postageCreateTime" jdbcType="TIMESTAMP" />
+    <result column="postage_update_time" property="postageUpdateTime" jdbcType="TIMESTAMP" />
+  </resultMap>
+  <sql id="Base_Column_List" >
+    postage_id, admin_id, postage_customer_status, postage_manager_status, postage_finance_status,
+    postage_order_source, "postage_treatment method", sales_orderId, postage_client_name,
+    postage_client_tel, postage_logistics_company, postage_logistics_no, postage_amount,
+    postage_alipay, postage_alipay_name, postage_create_time, postage_update_time
+  </sql>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
+    select
+    <include refid="Base_Column_List" />
+    from tb_rst_postage
+    where postage_id = #{postageId,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
+    delete from tb_rst_postage
+    where postage_id = #{postageId,jdbcType=INTEGER}
+  </delete>
+  <insert id="insert" parameterType="rml.model.Postage" >
+    insert into tb_rst_postage (postage_id, admin_id, postage_customer_status,
+    postage_manager_status, postage_finance_status,
+    postage_order_source, "postage_treatment method",
+    sales_orderId, postage_client_name, postage_client_tel,
+    postage_logistics_company, postage_logistics_no,
+    postage_amount, postage_alipay, postage_alipay_name,
+    postage_create_time, postage_update_time
+    )
+    values (#{postageId,jdbcType=INTEGER}, #{adminId,jdbcType=INTEGER}, #{postageCustomerStatus,jdbcType=INTEGER},
+    #{postageManagerStatus,jdbcType=INTEGER}, #{postageFinanceStatus,jdbcType=INTEGER},
+    #{postageOrderSource,jdbcType=INTEGER}, #{postageTreatmentMethod,jdbcType=INTEGER},
+    #{salesOrderid,jdbcType=VARCHAR}, #{postageClientName,jdbcType=VARCHAR}, #{postageClientTel,jdbcType=VARCHAR},
+    #{postageLogisticsCompany,jdbcType=VARCHAR}, #{postageLogisticsNo,jdbcType=VARCHAR},
+    #{postageAmount,jdbcType=INTEGER}, #{postageAlipay,jdbcType=VARCHAR}, #{postageAlipayName,jdbcType=VARCHAR},
+    #{postageCreateTime,jdbcType=TIMESTAMP}, #{postageUpdateTime,jdbcType=TIMESTAMP}
+    )
+  </insert>
+  <insert id="insertSelective" parameterType="rml.model.Postage" >
+    insert into tb_rst_postage
+    <trim prefix="(" suffix=")" suffixOverrides="," >
+      <if test="postageId != null" >
+        postage_id,
+      </if>
+      <if test="adminId != null" >
+        admin_id,
+      </if>
+      <if test="postageCustomerStatus != null" >
+        postage_customer_status,
+      </if>
+      <if test="postageManagerStatus != null" >
+        postage_manager_status,
+      </if>
+      <if test="postageFinanceStatus != null" >
+        postage_finance_status,
+      </if>
+      <if test="postageOrderSource != null" >
+        postage_order_source,
+      </if>
+      <if test="postageTreatmentMethod != null" >
+        "postage_treatment method",
+      </if>
+      <if test="salesOrderid != null" >
+        sales_orderId,
+      </if>
+      <if test="postageClientName != null" >
+        postage_client_name,
+      </if>
+      <if test="postageClientTel != null" >
+        postage_client_tel,
+      </if>
+      <if test="postageLogisticsCompany != null" >
+        postage_logistics_company,
+      </if>
+      <if test="postageLogisticsNo != null" >
+        postage_logistics_no,
+      </if>
+      <if test="postageAmount != null" >
+        postage_amount,
+      </if>
+      <if test="postageAlipay != null" >
+        postage_alipay,
+      </if>
+      <if test="postageAlipayName != null" >
+        postage_alipay_name,
+      </if>
+      <if test="postageCreateTime != null" >
+        postage_create_time,
+      </if>
+      <if test="postageUpdateTime != null" >
+        postage_update_time,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
+      <if test="postageId != null" >
+        #{postageId,jdbcType=INTEGER},
+      </if>
+      <if test="adminId != null" >
+        #{adminId,jdbcType=INTEGER},
+      </if>
+      <if test="postageCustomerStatus != null" >
+        #{postageCustomerStatus,jdbcType=INTEGER},
+      </if>
+      <if test="postageManagerStatus != null" >
+        #{postageManagerStatus,jdbcType=INTEGER},
+      </if>
+      <if test="postageFinanceStatus != null" >
+        #{postageFinanceStatus,jdbcType=INTEGER},
+      </if>
+      <if test="postageOrderSource != null" >
+        #{postageOrderSource,jdbcType=INTEGER},
+      </if>
+      <if test="postageTreatmentMethod != null" >
+        #{postageTreatmentMethod,jdbcType=INTEGER},
+      </if>
+      <if test="salesOrderid != null" >
+        #{salesOrderid,jdbcType=VARCHAR},
+      </if>
+      <if test="postageClientName != null" >
+        #{postageClientName,jdbcType=VARCHAR},
+      </if>
+      <if test="postageClientTel != null" >
+        #{postageClientTel,jdbcType=VARCHAR},
+      </if>
+      <if test="postageLogisticsCompany != null" >
+        #{postageLogisticsCompany,jdbcType=VARCHAR},
+      </if>
+      <if test="postageLogisticsNo != null" >
+        #{postageLogisticsNo,jdbcType=VARCHAR},
+      </if>
+      <if test="postageAmount != null" >
+        #{postageAmount,jdbcType=INTEGER},
+      </if>
+      <if test="postageAlipay != null" >
+        #{postageAlipay,jdbcType=VARCHAR},
+      </if>
+      <if test="postageAlipayName != null" >
+        #{postageAlipayName,jdbcType=VARCHAR},
+      </if>
+      <if test="postageCreateTime != null" >
+        #{postageCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="postageUpdateTime != null" >
+        #{postageUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKeySelective" parameterType="rml.model.Postage" >
+    update tb_rst_postage
+    <set >
+      <if test="adminId != null" >
+        admin_id = #{adminId,jdbcType=INTEGER},
+      </if>
+      <if test="postageCustomerStatus != null" >
+        postage_customer_status = #{postageCustomerStatus,jdbcType=INTEGER},
+      </if>
+      <if test="postageManagerStatus != null" >
+        postage_manager_status = #{postageManagerStatus,jdbcType=INTEGER},
+      </if>
+      <if test="postageFinanceStatus != null" >
+        postage_finance_status = #{postageFinanceStatus,jdbcType=INTEGER},
+      </if>
+      <if test="postageOrderSource != null" >
+        postage_order_source = #{postageOrderSource,jdbcType=INTEGER},
+      </if>
+      <if test="postageTreatmentMethod != null" >
+        "postage_treatment method" = #{postageTreatmentMethod,jdbcType=INTEGER},
+      </if>
+      <if test="salesOrderid != null" >
+        sales_orderId = #{salesOrderid,jdbcType=VARCHAR},
+      </if>
+      <if test="postageClientName != null" >
+        postage_client_name = #{postageClientName,jdbcType=VARCHAR},
+      </if>
+      <if test="postageClientTel != null" >
+        postage_client_tel = #{postageClientTel,jdbcType=VARCHAR},
+      </if>
+      <if test="postageLogisticsCompany != null" >
+        postage_logistics_company = #{postageLogisticsCompany,jdbcType=VARCHAR},
+      </if>
+      <if test="postageLogisticsNo != null" >
+        postage_logistics_no = #{postageLogisticsNo,jdbcType=VARCHAR},
+      </if>
+      <if test="postageAmount != null" >
+        postage_amount = #{postageAmount,jdbcType=INTEGER},
+      </if>
+      <if test="postageAlipay != null" >
+        postage_alipay = #{postageAlipay,jdbcType=VARCHAR},
+      </if>
+      <if test="postageAlipayName != null" >
+        postage_alipay_name = #{postageAlipayName,jdbcType=VARCHAR},
+      </if>
+      <if test="postageCreateTime != null" >
+        postage_create_time = #{postageCreateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="postageUpdateTime != null" >
+        postage_update_time = #{postageUpdateTime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where postage_id = #{postageId,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="rml.model.Postage" >
+    update tb_rst_postage
+    set admin_id = #{adminId,jdbcType=INTEGER},
+      postage_customer_status = #{postageCustomerStatus,jdbcType=INTEGER},
+      postage_manager_status = #{postageManagerStatus,jdbcType=INTEGER},
+      postage_finance_status = #{postageFinanceStatus,jdbcType=INTEGER},
+      postage_order_source = #{postageOrderSource,jdbcType=INTEGER},
+      "postage_treatment method" = #{postageTreatmentMethod,jdbcType=INTEGER},
+      sales_orderId = #{salesOrderid,jdbcType=VARCHAR},
+      postage_client_name = #{postageClientName,jdbcType=VARCHAR},
+      postage_client_tel = #{postageClientTel,jdbcType=VARCHAR},
+      postage_logistics_company = #{postageLogisticsCompany,jdbcType=VARCHAR},
+      postage_logistics_no = #{postageLogisticsNo,jdbcType=VARCHAR},
+      postage_amount = #{postageAmount,jdbcType=INTEGER},
+      postage_alipay = #{postageAlipay,jdbcType=VARCHAR},
+      postage_alipay_name = #{postageAlipayName,jdbcType=VARCHAR},
+      postage_create_time = #{postageCreateTime,jdbcType=TIMESTAMP},
+      postage_update_time = #{postageUpdateTime,jdbcType=TIMESTAMP}
+    where postage_id = #{postageId,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 57 - 0
watero-rst-web/src/main/java/com/iamberry/rst/controllers/cm/AdminPostageController.java

@@ -0,0 +1,57 @@
+package com.iamberry.rst.controllers.cm;
+
+import com.iamberry.rst.core.cm.CustomerInfo;
+import com.iamberry.rst.core.cm.Postage;
+import com.iamberry.rst.core.page.PagedResult;
+import com.iamberry.rst.faces.cm.PostageService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.servlet.ModelAndView;
+
+import javax.servlet.http.HttpServletRequest;
+
+/**
+ * Created by wxm
+ */
+@Controller
+@RequestMapping("/admin/postage")
+public class AdminPostageController {
+
+    private Logger logger = LoggerFactory.getLogger(AdminPostageController.class);
+
+    @Autowired
+    private PostageService postageService;
+
+    /**
+     * 获取客诉列表
+     *
+     * @param request
+     * @return
+     */
+    @RequiresPermissions("postage:select:list")
+    @RequestMapping("/postage_list")
+    public ModelAndView getCustomer(HttpServletRequest request, Postage postage,
+                                    @RequestParam(value = "pageSize", defaultValue = "10", required = false) Integer pageSize,
+                                    @RequestParam(value = "pageNO", defaultValue = "1", required = false) Integer pageNO,
+                                    @RequestParam(value = "totalNum", defaultValue = "0", required = false) Integer totalNum) {
+        ModelAndView mv = new ModelAndView("cm/postage/postage_list");
+//        PagedResult<Postage> pagedResult = postageService.listPostage(pageNO, pageSize, postage, totalNum == 0);
+//        if (totalNum != 0) {
+//            pagedResult.setTotal(totalNum);
+//        }
+//       StitchAttrUtil.setModelAndView(customer, mv, "/admin/bom/_bom_list", pagedResult);
+        return mv;
+    }
+
+//    postage:update:customer
+
+//    postage:update:manager
+
+//    postage:update:finance
+}
+

+ 2 - 0
watero-rst-web/src/main/resources/watero-rst-orm.xml

@@ -81,6 +81,7 @@
 		<typeAlias type="com.iamberry.rst.core.cm.StoreInfo" alias="StoreInfo"/>
 		<typeAlias type="com.iamberry.rst.core.cm.Visit" alias="Visit"/>
 		<typeAlias type="com.iamberry.rst.core.cm.CustomerCommon" alias="CustomerCommon"/>
+		<typeAlias type="com.iamberry.rst.core.cm.Postage" alias="Postage"/>
 
 		<typeAlias type="com.iamberry.rst.core.sys.SysConfig" alias="SysConfig"/>
 
@@ -141,6 +142,7 @@
 		<mapper resource="com/iamberry/rst/service/cm/mapper/salesOrderMapper.xml"/>
 		<mapper resource="com/iamberry/rst/service/cm/mapper/storeInfoMapper.xml"/>
 		<mapper resource="com/iamberry/rst/service/cm/mapper/customerCommonMapper.xml"/>
+		<mapper resource="com/iamberry/rst/service/cm/mapper/postageMapper.xml"/>
 
 		<mapper resource="com/iamberry/rst/service/address/mapper/addressMapper.xml"/>
 

+ 499 - 0
watero-rst-web/src/main/webapp/WEB-INF/views/cm/postage/postage_list.ftl

@@ -0,0 +1,499 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+    <meta charset="utf-8">
+    <meta name="renderer" content="webkit|ie-comp|ie-stand">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
+    <meta http-equiv="Cache-Control" content="no-siteapp" />
+    <link rel="Bookmark" href="/favicon.ico" >
+    <link rel="Shortcut Icon" href="/favicon.ico" />
+<#include "/base/list_base.ftl">
+    <title>邮费转账列表</title>
+    <style>
+        *{padding: 0;margin: 0;}
+        .my-input{border: 1px solid rgba(0,0,0,.1);padding: 1px 5px;height: 32px;margin-right: 10px;}
+        /*.my-input::-webkit-input-placeholder,.my-select{color: #dcdcdc;}*/
+        .my-select{border: 1px solid rgba(0,0,0,.1);padding:6px 50px 6px 15px;height: 34px;margin: 0 10px; -webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/select-1.png) right center no-repeat;background-size:auto 100%;}
+        .my-btn-search{border: 1px solid #32a3d8;padding: 1px 25px;height: 32px;background-color: #32a3d8;color: #fff;}
+        .table-bg thead th{background-color: #e2f6ff;}
+        .update-parts>span{margin-right: 10px;padding: 3px 4px;background-color: #effaff;border: 1px solid #32a3d8;}
+        /*input[type=radio]{-webkit-appearance:none;appearance:none;background: url(/rst/common/images/pts/radio-1.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
+        input[type=radio]:checked{-webkit-appearance:none;appearance:none;background: url(/rst/common/images/pts/radio-2.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}*/
+        .txt2{
+            width:60px;
+            overflow: hidden;
+            white-space: nowrap;
+            text-overflow: ellipsis;
+        }
+    </style>
+</head>
+<body>
+<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页
+    <span class="c-gray en">&gt;</span> 客诉管理
+    <span class="c-gray en">&gt;</span> 客诉列表
+    <a class="btn radius r" style="line-height:1.6em;margin-top:3px;background: #32a3d8;color: #fff;border:1px solid #32a3d8;" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
+</nav>
+<div class="page-container">
+    <div class="text-c">
+        <form action="${path}/admin/customer/select_customer_list" method="post">
+            <button type="button" style="cursor:pointer; float: left;height: 35px;margin-right: 30px;" class="my-btn-search" onclick="toAddCustomer();">新建客诉</button>
+            <input type="text" class="my-input"  style="width:90px;margin-right: 0px; margin-left: -65px;" value="${customerInfo.customerId!}" placeholder="客诉编号" id="customerId" name="customerId">
+            <input type="text" class="my-input"  style="width:90px;margin-right: 0px;" value="${customerInfo.sendLogisticsNo!}" placeholder="物流编号" id="sendLogisticsNo" name="sendLogisticsNo">
+            <input type="text" class="my-input"  style="width:90px;margin-right: 0px;" value="${customerInfo.customerName!}" placeholder="请输入姓名" id="customerName" name="customerName">
+            <input type="text" class="my-input"  style="width:90px;margin-right: 0px;" value="${customerInfo.customerTel!}" placeholder="请输入电话号码" id="customerTel" name="customerTel">
+            <input type="text" style="width:90px;height:36px;margin-right: 0px;" name="startTime" id="startTime" class="input-text" placeholder="开始时间" onClick="WdatePicker({ dateFmt:'yyyy-MM-dd',skin:'whyGreen' })" value="${(customerInfo.startTime?string("yyyy-MM-dd"))!''}" readonly="readonly"/>-
+            <input type="text" style="width:90px;height:36px;margin-right: 0px;" name="endTime" id="endTime" class="input-text" placeholder="结束时间" onClick="WdatePicker({ dateFmt:'yyyy-MM-dd',skin:'whyGreen' })" value="${(customerInfo.endTime?string("yyyy-MM-dd"))!''}" readonly="readonly"/>
+
+            <#--<input type="text" class="my-input"  style="width:90px;margin-right: 0px;" value="${customerInfo.describeTitle!}" placeholder="请输入问题描述" id="describeTitle" name="describeTitle">-->
+            <select class="my-select" name="customerIsSolve" id="customerIsSolve" style="height: 36px;width: 100px;margin: 0px;padding: 6px 10px 6px 15px;">
+                <option value="">处理结果</option>
+                <option value="1" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 1 >selected="selected"</#if></#if>>已解决</option>
+                <option value="2" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 2 >selected="selected"</#if></#if>>未解决</option>
+                <option value="3" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 3 >selected="selected"</#if></#if>>换新</option>
+                <option value="4" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 4 >selected="selected"</#if></#if>>维修</option>
+                <option value="5" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 5 >selected="selected"</#if></#if>>补发</option>
+                <option value="6" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 6 >selected="selected"</#if></#if>>退货</option>
+                <option value="7" <#if customerInfo.customerIsSolve??><#if customerInfo.customerIsSolve == 7 >selected="selected"</#if></#if>>无理由退货</option>
+            </select>
+
+            <select class="my-select" name="customerSourceType" id="customerSourceType" style="height: 36px;width: 100px;margin: 0px;padding: 6px 10px 6px 15px;">
+                <option value="">来源</option>
+                <option value="1" <#if customerInfo.customerSourceType??><#if customerInfo.customerSourceType == 1 >selected="selected"</#if></#if>>400电话</option>
+                <option value="2" <#if customerInfo.customerSourceType??><#if customerInfo.customerSourceType == 2 >selected="selected"</#if></#if>>微信公众号</option>
+                <option value="3" <#if customerInfo.customerSourceType??><#if customerInfo.customerSourceType == 3 >selected="selected"</#if></#if>>其他</option>
+            </select>
+            <select class="my-select" name="typeId" id="typeId" style="height: 36px;width: 120px;margin: 0px;">
+                <option value ="">客诉产品</option>
+                <#if typeList?? &&  (typeList?size > 0) >
+                    <#list typeList as type>
+                        <option value ="${type.typeId!}" <#if customerInfo.typeId??><#if customerInfo.typeId ==type.typeId >selected="selected"</#if></#if>>${type.typeName!}</option>
+                    </#list>
+                </#if>
+            </select>
+           <#-- <select class="my-select" name="complaintId" style="height: 36px;width: 120px;margin: 0px;">
+                <option value ="">客诉类型</option>
+                <#if complaintTypeList?? &&  (complaintTypeList?size > 0) >
+                    <#list complaintTypeList as complaint>
+                        <option value ="${complaint.complaintId!}" <#if customerInfo.complaintId??><#if customerInfo.complaintId ==complaint.complaintId >selected="selected"</#if></#if>>${complaint.complaintClassName!}</option>
+                    </#list>
+                </#if>
+            </select>-->
+            <select class="my-select" name="customerIsVisit" style="height: 36px;width: 120px;margin: 0px;>
+                <option value ="">是否需要回访</option>
+                <option value="">是否回访</option>
+                <option value ="1" <#if customerInfo.customerIsVisit??><#if customerInfo.customerIsVisit == "1" >selected="selected"</#if></#if>>不需要回访</option>
+                <option value ="2" <#if customerInfo.customerIsVisit??><#if customerInfo.customerIsVisit == "2" >selected="selected"</#if></#if>>需要回访</option>
+            </select>
+            <select class="my-select" name="adminId" style="height: 36px;width: 120px;margin: 0px;">
+                <option value ="">跟进客服</option>
+                <#if adminList?? &&  (adminList?size > 0) >
+                    <#list adminList as admin>
+                        <option value ="${admin.adminId!}" <#if customerInfo.adminId??><#if customerInfo.adminId ==admin.adminId >selected="selected"</#if></#if>>${admin.adminName!}</option>
+                    </#list>
+                </#if>
+            </select>
+            <select class="my-select" name="visitDesignatedAdminId" style="height: 36px;width: 120px;margin: 0px;">
+                <option value ="">回访客服</option>
+                <#if adminList?? &&  (adminList?size > 0) >
+                    <#list adminList as admin>
+                        <option value ="${admin.adminId!}" <#if customerInfo.visitDesignatedAdminId??><#if customerInfo.visitDesignatedAdminId ==admin.adminId >selected="selected"</#if></#if>>${admin.adminName!}</option>
+                    </#list>
+                </#if>
+            </select>
+            <button type="submit" class="btn" style="background: #32a3d8;color: #fff;height: 35px; id="" name=""><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
+        </form>
+    </div>
+
+
+    <div class="mt-20">
+        <table class="table table-border table-bg table-bordered">
+        <thead>
+        <tr class="text-c">
+            <th width="50">客诉编号</th>
+            <th width="50">跟进客服</th>
+            <th width="60">姓名</th>
+            <th width="70">电话</th>
+            <th width="80">来源入口</th>
+            <th width="80">客诉产品</th>
+            <#--<th width="80">客诉类型</th>-->
+            <th width="80">问题类型</th>
+            <th width="100">问题简述</th>
+            <th width="60">销售</th>
+            <th width="80">购买日期</th>
+            <th width="60">区域</th>
+            <th width="60">TDS</th>
+            <th width="80">物流单号</th>
+            <th width="80">处理结果</th>
+            <th width="80">需要回访</th>
+            <th width="80">客诉时间</th>
+            <th width="100">操作</th>
+        </tr>
+        </thead>
+        <tbody>
+            <#if page.dataList?? &&  (page.dataList?size > 0) >
+                    <#list page.dataList as customer>
+                        <tr class="text-c">
+                            <td>${customer.customerId!''}</td>
+                            <td>${customer.adminName!''}</td>
+                            <td>${customer.customerName!''}
+                                <#if customer.customerWechatName?? >
+                                    <#if customer.customerWechatName?length gt 0 >
+                                        <br>(${customer.customerWechatName})
+                                    </#if>
+                                </#if>
+                            </td>
+
+                            <#if (customer.customerTel)?? && customer.customerTel?length gt 7>
+                                <td>${customer.customerTel?substring(0,3)}***${customer.customerTel?substring(customer.customerTel?length-4,customer.customerTel?length)}</td>
+                            <#else>
+                                <td>${customer.customerTel!''}</td>
+                            </#if>
+                            <td>
+                                <#if customer.customerSourceType == 1>
+                                    400电话
+                                <#elseif customer.customerSourceType == 2>
+                                    微信公众号
+                                <#elseif customer.customerSourceType == 3>
+                                    ${customer.customerSource!''}
+                                </#if>
+                            </td>
+                            <td>${customer.typeName!''}</td>
+                            <#--<td>${customer.complaintClassName!''}</td>-->
+                            <td>${customer.smallClassName!''}</td>
+                            <td>
+                                <span class="label txt2" title="${customer.describeTitle!}" >${customer.describeTitle!'暂无'}</span><br/>
+                                    <#if customer.describeTitle??>
+                                        <a style="text-decoration:none;" href="javascript:void(0);" title="查看详情" onclick="getDescribeInfo(${customer.customerId!''})">
+                                            <font color=#06c>查看详情</font>
+                                        </a>&nbsp;
+                                    </#if>
+                            </td>
+                            <td>${customer.companyName!''}<br/>${customer.storeName!''}</td>
+                            <td>${(customer.salesTime?string("yyyy-MM-dd"))!''}</td>
+                            <td>${customer.customerArea!''}</td>
+                            <td>进${customer.customerInTDS!'0'}PPM<br/>出${customer.customerOutTDS!'0'}PPM</td>
+                            <td>
+                                <#if (customer.sendLogisticsNo??) || (customer.backLogisticsNo??)>
+
+                                        <#if (customer.backLogisticsNo??)>
+                                            寄回:
+                                            <a onclick="openLogistics('物流信息','${path}/admin/detect/to_view_logistics?billCode=${customer.backLogisticsNo!''}&billName=${customer.backLogisticsCompany!''}',500,400);">${customer.backLogisticsNo!''}</a><br>
+                                        </#if>
+                                        <#if customer.sendLogisticsNo??>
+                                            寄出:
+                                            <a onclick="openLogistics('物流信息','${path}/admin/detect/to_view_logistics?billCode=${customer.sendLogisticsNo!''}&billName=${customer.sendLogisticsCompany!''}',500,400);">${customer.sendLogisticsNo!''}</a><br>
+                                        </#if>
+                                <#else>
+                                    无
+                                </#if>
+                            </td>
+                            <td id="txt_customerIsSolve">
+                                <#if customer.customerIsSolve == 1>
+                                    已解决
+                                <#elseif customer.customerIsSolve == 2>
+                                    未解决
+                                <#elseif customer.customerIsSolve == 3>
+                                    换新(
+                                    <a style="text-decoration:none" href="javascript:void(0);" onclick="toUpdateRenewed(${customer.customerId!''})">
+                                        <font color=#06c><#if customer.backStatus == 1>
+                                            未寄回
+                                        <#elseif customer.backStatus == 2>
+                                            已寄回
+                                        <#elseif customer.backStatus == 3>
+                                            已收货
+                                        </#if>,
+                                        <#if customer.sendStatus == 1>
+                                            未寄送
+                                        <#elseif customer.sendStatus == 2>
+                                            已寄送
+                                        <#elseif customer.sendStatus == 3>
+                                            已收货
+                                        </#if><#--,
+                                        <#if customer.complaintDetectList?? &&  (customer.complaintDetectList?size > 0)>
+                                            <#list customer.complaintDetectList as complaintDetect>
+                                                <#if (complaintDetect_index = 0)>
+                                                    <#if complaintDetect.detectState == 1>
+                                                        待仓库转入
+                                                    <#elseif complaintDetect.detectState == 2>
+                                                        正在检查
+                                                    <#elseif complaintDetect.detectState == 3>
+                                                        检查通过
+                                                    <#elseif complaintDetect.detectState == 4>
+                                                        检查未通过
+                                                    </#if>
+                                                </#if>
+                                            </#list>
+                                        </#if>-->
+                                        </font>
+                                    </a>
+                                    )
+                                <#elseif customer.customerIsSolve == 4>
+                                    维修(
+                                    <a style="text-decoration:none" href="javascript:void(0);" onclick="toUpdateRepair(${customer.customerId!''})">
+                                        <font color=#06c><#if customer.backStatus == 1>
+                                            未寄回
+                                        <#elseif customer.backStatus == 2>
+                                            已寄回
+                                        <#elseif customer.backStatus == 3>
+                                            已收货
+                                        </#if>,
+                                        <#if customer.sendStatus == 1>
+                                            未寄送
+                                        <#elseif customer.sendStatus == 2>
+                                            已寄送
+                                        <#elseif customer.sendStatus == 3>
+                                            已收货
+                                        </#if><#--,
+                                            <#if customer.complaintDetectList?? &&  (customer.complaintDetectList?size > 0)>
+                                                <#list customer.complaintDetectList as complaintDetect>
+                                                    <#if (complaintDetect_index = 0)>
+                                                        <#if complaintDetect.detectState == 1>
+                                                            待仓库转入
+                                                        <#elseif complaintDetect.detectState == 2>
+                                                            正在检查
+                                                        <#elseif complaintDetect.detectState == 3>
+                                                            检查通过
+                                                        <#elseif complaintDetect.detectState == 4>
+                                                            检查未通过
+                                                        </#if>
+                                                    </#if>
+                                                </#list>
+                                            </#if>--></font>
+                                    </a>
+                                    )
+                                <#elseif customer.customerIsSolve == 5>
+                                    补发(
+                                    <a style="text-decoration:none" href="javascript:void(0);" onclick="toUpdateReissue(${customer.customerId!''})">
+                                        <font color=#06c><#if customer.sendStatus == 1>
+                                            未寄送
+                                        <#elseif customer.sendStatus == 2>
+                                            已寄送
+                                        <#elseif customer.sendStatus == 3>
+                                            已收货
+                                        </#if></font>
+                                    </a>
+                                    )
+                                <#elseif customer.customerIsSolve == 6>
+                                    退货(
+                                    <a style="text-decoration:none" href="javascript:void(0);" onclick="toUpdateBookGoods(${customer.customerId!''})">
+                                        <font color=#06c><#if customer.backStatus == 1>
+                                            未寄回
+                                        <#elseif customer.backStatus == 2>
+                                            已寄回
+                                        <#elseif customer.backStatus == 3>
+                                            已收货
+                                        </#if></font>
+                                    </a>
+                                    )
+                                <#elseif customer.customerIsSolve == 7>
+                                    无理由退货(
+                                    <a style="text-decoration:none" href="javascript:void(0);" onclick="toUpdateNoreasonBack(${customer.customerId!''})">
+                                        <font color=#06c><#if customer.backStatus == 1>
+                                            未寄回
+                                        <#elseif customer.backStatus == 2>
+                                            已寄回
+                                        <#elseif customer.backStatus == 3>
+                                            已收货
+                                        </#if></font>
+                                    </a>
+                                    )
+                                </#if>
+                            </td>
+                            <td>
+                                <#if customer.customerIsVisit == "1">
+                                    不需要回访
+                                <#elseif customer.customerIsVisit == "2">
+                                    <#if customer.visitStatus == 1>
+                                        待回访<br/>
+                                        <a style="text-decoration:none" href="javascript:void(0);" title="回访内容" onclick="getVisitInfo(${customer.customerId!''},1)">
+                                            <font style="color:red;">(${(customer.visitDate?string("yyyy-MM-dd"))!''}完成)</font>
+                                        </a>&nbsp;
+                                    <#elseif customer.visitStatus == 2>
+                                        已回访<br/>
+                                        <a style="text-decoration:none" href="javascript:void(0);" title="回访内容" onclick="getVisitInfo(${customer.customerId!''},2)">
+                                            <font color=#06c>回访内容</font>
+                                        </a>&nbsp;
+                                    </#if>
+                                </#if>
+                            </td>
+                            <td>
+                                ${(customer.customerCreateTime?string("yyyy-MM-dd"))!''}<br>
+                                ${(customer.customerCreateTime?string("HH:mm:ss"))!''}
+                            </td>
+                            <td>
+                                <#if customer.customerIsSolve == 2>
+                                    <a style="text-decoration:none" href="javascript:void(0);" title="已解决" onclick="updateCustomerIsSolve(${customer.customerId!''})">
+                                        <font color=#06c>已解决</font>
+                                    </a><br/>
+                                </#if>
+                                <a style="text-decoration:none" href="javascript:void(0);" title="详情" onclick="admin_details_customer(${customer.customerId!''})">
+                                    <font color=#06c>详情</font>
+                                </a><br/>
+                                <a style="text-decoration:none" href="javascript:void(0);" title="修改客诉" onclick="admin_update_customer(${customer.customerId!''})">
+                                    <font color=#06c>修改客诉</font>
+                                </a><br/>
+                                <#if customer.customerIsVisit == "2">
+                                    <#if customer.visitStatus == 1 && customer.customerIsVisit == "2">
+                                        <a style="text-decoration:none" href="javascript:void(0);" title="已完成回访" onclick="toUpdateVisit(${customer.customerId!''})">
+                                            <font color=#06c>已完成回访</font>
+                                        </a><br/>
+                                    </#if>
+                                </#if>
+                                <#if customer.customerIsVisit == "1">
+                                    <a style="text-decoration:none" href="javascript:void(0)" title="需要回访" onclick="toAddVisit(${customer.customerId!''})">
+                                        <font color=#06c>需要回访</font>
+                                    </a><br/>
+                                </#if>
+                            </td>
+                        </tr>
+                    </#list>
+            <#else>
+                <tr><td colspan="17" class="td-manage text-c" >暂时没有客诉信息,请添加!</td></tr>
+            </#if>
+        </tbody>
+    </table>
+    </div>
+</div>
+<tfoot>
+<#include "/base/page_util.ftl">
+</tfoot>
+<script type="text/javascript">
+    /**
+     * 跳转到添加customer页面
+     */
+    function toAddCustomer(){
+        window.location.href= "${path}/admin/customer/to_add_customer";
+    }
+
+    /**
+     *跳转到编辑页面
+     * @param employee
+     */
+    function admin_update_customer(customerId) {
+        window.location.href= "${path}/admin/customer/to_update_customer?customerId="+customerId;
+    }
+
+    /**
+     *跳转到详情页面
+     * @param employee
+     */
+    function admin_details_customer(customerId) {
+        window.location.href= "${path}/admin/customer/_customer_info?customerId="+customerId;
+    }
+
+    /**
+     *修改客诉
+     * @param employee
+     */
+    function admin_update_customer(customerId) {
+        window.location.href= "${path}/admin/customer/to_update_customer?customerId="+customerId;
+    }
+
+    function hide_this(val) {
+        $(val).parent().parent().hide();
+    }
+
+
+    /**
+     * 进入添加回访页面
+     */
+    function toAddVisit(customerId) {
+        layer_show("客诉回访","${path}/admin/customer/_add_visit?customerId="+customerId,"780","500");
+    }
+
+    /**
+     * 进入回访完成页面
+     */
+    function toUpdateVisit(customerId) {
+        layer_show("已完成回访","${path}/admin/customer/_update_visit_info?customerId="+customerId,"800","500");
+    }
+
+    /**
+     * 进入查询回访信息页面
+     */
+    function getVisitInfo(customerId,num) {
+        layer_show("回访内容","${path}/admin/customer/_visit_info?customerId="+customerId+"&num="+num,"800","500");
+    }
+
+    /**
+     * 进入查询问题描述信息页面
+     */
+    function getDescribeInfo(customerId) {
+        layer_show("问题描述","${path}/admin/customer/_question_describe?customerId="+customerId,"800","500");
+    }
+
+    /**
+     * 进入修改换新页面
+     */
+    function toUpdateRenewed(customerId) {
+        layer_show("换新处理","${path}/admin/customer/_update_renewed?customerId="+customerId,"800","500");
+    }
+
+    /**
+     * 进入修改维修页面
+     */
+    function toUpdateRepair(customerId) {
+        layer_show("维修处理","${path}/admin/customer/_to_update_repair?customerId="+customerId,"800","500");
+    }
+
+    /**
+     * 进入修改退货页面
+     */
+    function toUpdateBookGoods(customerId) {
+        layer_show("退货处理","${path}/admin/customer/_to_update_book_goods?customerId="+customerId,"800","500");
+    }
+
+    /**
+     * 进入修改无理由退货页面
+     */
+    function toUpdateNoreasonBack(customerId) {
+        layer_show("无理由退货处理","${path}/admin/customer/_update_noreason_back?customerId="+customerId,"800","500");
+    }
+
+    /**
+     * 进入修改售后补发页面
+     */
+    function toUpdateReissue(customerId) {
+        layer_show("补发处理","${path}/admin/customer/_to_update_reissue?customerId="+customerId,"800","500");
+    }
+
+    /*子页面添加完信息后回显添加结果是否成功*/
+    function custome_result(str,num) {
+        layer.msg(str,{icon:num,time:1000});
+    }
+
+    /**
+     * 将未解决状态修改为已解决
+     */
+    function updateCustomerIsSolve(customerId) {
+        layer.confirm('确认要修改吗?',function(index){
+            $.ajax({
+                cache: true,
+                type: "POST",
+                data: {"customerId":customerId},
+                url: "${path}/admin/customer/update_customerIsSolve",
+                async: false,
+                success: function(data){
+                    if (data.returnCode == 200) {
+                        layer.msg(data.resultMsg,{icon: 1,time:1000});
+                       // $('#txt_customerIsSolve').html('已解决');
+                    } else {
+                        layer.msg(data.resultMsg,{icon: 5,time:1000});
+                    }
+                    location.replace(location.href);
+                },
+                error: function(XmlHttpRequest, textStatus, errorThrown){
+                }
+            })
+        }, function() {
+
+        });
+    }
+    /*查看物流*/
+    function openLogistics(title, url, w, h) {
+        layer_show(title,url,w,h);
+    }
+</script>
+</body>
+</html>