提交 033c860a authored 作者: 吴德鹏's avatar 吴德鹏

修改订单详情:商品总价

上级 41dc9516
...@@ -29,6 +29,16 @@ public class TbCfOrderListEntity implements Serializable { ...@@ -29,6 +29,16 @@ public class TbCfOrderListEntity implements Serializable {
private String couponId; private String couponId;
private String couponTitle; private String couponTitle;
private String deliveryFlag; private String deliveryFlag;
private BigDecimal itemsPrice;
public BigDecimal getItemsPrice() {
return itemsPrice;
}
public void setItemsPrice(BigDecimal itemsPrice) {
this.itemsPrice = itemsPrice;
}
public String getOrderId() { public String getOrderId() {
return orderId; return orderId;
} }
......
...@@ -31,7 +31,15 @@ public class OrderBasicVo implements Serializable { ...@@ -31,7 +31,15 @@ public class OrderBasicVo implements Serializable {
private Integer orderStatus; private Integer orderStatus;
private String remarkInfo; private String remarkInfo;
private Date updateTime; private Date updateTime;
private BigDecimal itemsPrice;
public BigDecimal getItemsPrice() {
return itemsPrice;
}
public void setItemsPrice(BigDecimal itemsPrice) {
this.itemsPrice = itemsPrice;
}
public Date getUpdateTime() { public Date getUpdateTime() {
return updateTime; return updateTime;
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<result property="userName" column="user_name"/> <result property="userName" column="user_name"/>
<result property="orderTime" column="order_time"/> <result property="orderTime" column="order_time"/>
<result property="realityPay" column="reality_pay"/> <result property="realityPay" column="reality_pay"/>
<result property="itemsPrice" column="items_price"/>
<result property="deliveryAddress" column="delivery_address"/> <result property="deliveryAddress" column="delivery_address"/>
<result property="deliveryName" column="delivery_name"/> <result property="deliveryName" column="delivery_name"/>
<result property="deliveryPhone" column="delivery_phone"/> <result property="deliveryPhone" column="delivery_phone"/>
...@@ -156,6 +157,7 @@ ...@@ -156,6 +157,7 @@
<!--订单详情页数据 --> <!--订单详情页数据 -->
<select id="queryorderBasic" resultType="com.platform.vo.OrderBasicVo"> <select id="queryorderBasic" resultType="com.platform.vo.OrderBasicVo">
select select
o.items_price ,
o.order_id, o.order_id,
o.order_no, o.order_no,
o.user_name, o.user_name,
......
...@@ -811,7 +811,7 @@ let vm = new Vue({ ...@@ -811,7 +811,7 @@ let vm = new Vue({
} }
}) })
vm.costData[0].constnum = r.orderBasicVo.itemPrice; vm.costData[0].constnum = r.orderBasicVo.itemsPrice;
vm.costData[1].constnum = r.orderBasicVo.expressCost; vm.costData[1].constnum = r.orderBasicVo.expressCost;
vm.costData[2].constnum = r.orderBasicVo.tax; vm.costData[2].constnum = r.orderBasicVo.tax;
vm.costData[3].constnum = r.orderBasicVo.fee; vm.costData[3].constnum = r.orderBasicVo.fee;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论