diff --git a/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue b/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue index 51ea91d4..df73757e 100644 --- a/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue +++ b/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue @@ -214,7 +214,7 @@ height: 120px;" src="../assets/erweima.png"/>
总计: ¥
+总计: ¥{{this.payTotalPrice}}
请使用支付宝扫描左图二维码进行支付
请您在15分钟内付款以免订单被取消,如有疑问,请联系客服。
订单发货后您将收到订单发货通知短信
@@ -254,6 +254,9 @@ }, current: ['allorders'],//目前打开的菜单 key:'',//当前选择的订单状态(待支付、待收货等) + ordersid:"", + goodsid:"", + payTotalPrice:"", allOrders2:[], allOrders1:[ { @@ -343,6 +346,7 @@ findgoods: "/sys/user/findgoods", getneeduser: "/getuserpersion/getneeduser", updateneeduser: "/getuserpersion/updateneeduser", + zf: "/zyorders/zyOrders/zf", }, labelCol: { span: 3 }, @@ -417,7 +421,23 @@ }); }, zhifu() { + getAction(this.url.zf,{ordersid:this.ordersid,goodsid:this.goodsid}).then((res1) => { + if (res1.success) { + this.$notification['success']({ + message: '支付成功!', + description: + '自动为您跳转个人中心中...', + }); + let that = this + setTimeout(function(){ + },2000); + this.getallgoods(); + this.visible3 = false; + }else{ + this.$message.error(res1.message); + } + }); }, passwordModalOk() { //TODO 密码修改完成 不需要刷新页面,可以把datasource中的数据更新一下 @@ -535,6 +555,9 @@ // id: item.id, // }, // }); + this.ordersid = item.id; + this.goodsid = item.goodsId; + this.payTotalPrice = item.total; this.visible3 = true }, menuChange(key){ diff --git a/ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue b/ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue index 4101192f..f420174d 100644 --- a/ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue +++ b/ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue @@ -153,7 +153,7 @@