This commit is contained in:
parent
66eb03315f
commit
e00f688ee8
|
@ -72,7 +72,7 @@
|
||||||
},
|
},
|
||||||
couponId:'',
|
couponId:'',
|
||||||
content:'',
|
content:'',
|
||||||
priceDd:''
|
priceDd:'',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
|
@ -85,14 +85,18 @@
|
||||||
methods: {
|
methods: {
|
||||||
queding(){
|
queding(){
|
||||||
this.$queue.setData('youhui',this.couponId);
|
this.$queue.setData('youhui',this.couponId);
|
||||||
if(this.content){//返回推荐套餐订单
|
if(this.content=='套餐'){//返回推荐套餐订单
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:'/my/order/payModifyTc'
|
url:'/my/order/payModifyTc'
|
||||||
})
|
})
|
||||||
}else{
|
}else if(this.content=='支付'){
|
||||||
uni.navigateTo({//返回项目订单
|
uni.navigateTo({//返回项目订单
|
||||||
url:'/my/order/payModify'
|
url:'/my/order/payModify'
|
||||||
})
|
})
|
||||||
|
}else if(this.content=='修改'){
|
||||||
|
uni.navigateTo({//返回项目订单
|
||||||
|
url:'/my/order/payModifyDzhifu'
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
|
@ -205,8 +205,11 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="flex align-center margin-top-lg" style="justify-content: flex-end;">
|
<view class="flex align-center margin-top-lg" style="justify-content: flex-end;">
|
||||||
<view style="color: #333;font-size: 26rpx;">合计:</view>
|
<view style="color: #333;font-size: 26rpx;">合计:</view>
|
||||||
<view class="" style="color: #333;">¥<text
|
<view class="" style="color: #333;">¥
|
||||||
style="font-size: 35rpx;font-weight: bold;">{{order.sumMoney}}</text></view>
|
<text style="font-size: 35rpx;font-weight: bold;">
|
||||||
|
{{order.oldMassageMoney==null?order.payMoney:(order.payMoney+order.oldMassageMoney)}}
|
||||||
|
</text>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="flex justify-between" style="margin-top: 19rpx;">
|
<view class="flex justify-between" style="margin-top: 19rpx;">
|
||||||
|
@ -279,7 +282,8 @@
|
||||||
|
|
||||||
<view v-if="order.status !=6" class="flex tabber padding-top-sm padding-bottom-sm align-center">
|
<view v-if="order.status !=6" class="flex tabber padding-top-sm padding-bottom-sm align-center">
|
||||||
<u-button @click="cancelOrder(order)" shape="circle" :custom-style="customStyle" :hair-line="false"
|
<u-button @click="cancelOrder(order)" shape="circle" :custom-style="customStyle" :hair-line="false"
|
||||||
v-if="(order.status == 1 || order.status == 2 || order.status == 7 || order.status == 8) && yhqxSel != '否'">取消订单
|
v-if="order.status != 3 && order.status != 4 && order.status != 5">
|
||||||
|
取消订单
|
||||||
</u-button>
|
</u-button>
|
||||||
<u-button @click="openpay(order)" shape="circle" :custom-style="customStyle2" :hair-line="false"
|
<u-button @click="openpay(order)" shape="circle" :custom-style="customStyle2" :hair-line="false"
|
||||||
v-if="order.status == 1"
|
v-if="order.status == 1"
|
||||||
|
@ -305,7 +309,7 @@
|
||||||
</u-button>
|
</u-button>
|
||||||
<u-button v-if="order.btnShow == 'true'&&order.status==2||order.status==6||order.status==7||order.status==8||order.status == 9&&order.refusalContent==null" :custom-style="customStyle2"
|
<u-button v-if="order.btnShow == 'true'&&order.status==2||order.status==6||order.status==7||order.status==8||order.status == 9&&order.refusalContent==null" :custom-style="customStyle2"
|
||||||
shape="circle" :plain="true"
|
shape="circle" :plain="true"
|
||||||
@click="goNav('/my/order/payModifyDzhifu?ordersId='+ordersId,order)"
|
@click="goNav('/my/order/payModifyDzhifu?ordersId='+ordersId,order,'修改')"
|
||||||
class="dingshi">
|
class="dingshi">
|
||||||
修改订单
|
修改订单
|
||||||
</u-button>
|
</u-button>
|
||||||
|
|
|
@ -331,6 +331,7 @@
|
||||||
this.youhuiF(this.couponId)
|
this.youhuiF(this.couponId)
|
||||||
}
|
}
|
||||||
this.orderXm=this.$queue.getData('xiangmu');//上一个页面带过来的全部数据
|
this.orderXm=this.$queue.getData('xiangmu');//上一个页面带过来的全部数据
|
||||||
|
console.log("this.orderXm",this.orderXm)
|
||||||
this.ordersId = this.$queue.getData('ordersId');
|
this.ordersId = this.$queue.getData('ordersId');
|
||||||
this.userPackageDetailId = this.$queue.getData('userPackageDetailId');
|
this.userPackageDetailId = this.$queue.getData('userPackageDetailId');
|
||||||
this.youhui()
|
this.youhui()
|
||||||
|
@ -425,7 +426,7 @@
|
||||||
},
|
},
|
||||||
youhuijuan(){
|
youhuijuan(){
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:'/my/hongbao/youhuijuanList?price='+this.orderXm.price
|
url:'/my/hongbao/youhuijuanList?price='+this.orderXm.price+'&text='+'支付'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
openpay() {//验证
|
openpay() {//验证
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -339,7 +339,8 @@
|
||||||
nameTxt:'',
|
nameTxt:'',
|
||||||
couponId:'',
|
couponId:'',
|
||||||
artificerId:'',
|
artificerId:'',
|
||||||
artificerIdMy:false
|
artificerIdMy:false,
|
||||||
|
ordersId:''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(d) {
|
onLoad(d) {
|
||||||
|
@ -364,7 +365,8 @@
|
||||||
this.txMsg = this.$queue.getData('txMsg');
|
this.txMsg = this.$queue.getData('txMsg');
|
||||||
this.avatar = uni.getStorageSync('avatar')
|
this.avatar = uni.getStorageSync('avatar')
|
||||||
this.renzheng = uni.getStorageSync("renzheng")
|
this.renzheng = uni.getStorageSync("renzheng")
|
||||||
this.nameTxt=d.text
|
this.nameTxt=d.text;
|
||||||
|
this.ordersId=d.ordersId
|
||||||
this.getMoneyList();
|
this.getMoneyList();
|
||||||
// #ifndef MP-WEIXIN
|
// #ifndef MP-WEIXIN
|
||||||
this.openLists = [{
|
this.openLists = [{
|
||||||
|
@ -596,7 +598,8 @@
|
||||||
let data = {
|
let data = {
|
||||||
payClassifyId: this.thisSelect.payClassifyId,
|
payClassifyId: this.thisSelect.payClassifyId,
|
||||||
type: 1,
|
type: 1,
|
||||||
userId: uni.getStorageSync('userId')
|
userId: uni.getStorageSync('userId'),
|
||||||
|
ordersId:this.ordersId
|
||||||
}
|
}
|
||||||
this.$Request.post("/app/wxPay/payMoney", data).then(ret => {
|
this.$Request.post("/app/wxPay/payMoney", data).then(ret => {
|
||||||
console.log(ret)
|
console.log(ret)
|
||||||
|
@ -691,9 +694,11 @@
|
||||||
payClassifyId: this.thisSelect.payClassifyId,
|
payClassifyId: this.thisSelect.payClassifyId,
|
||||||
type: 2,
|
type: 2,
|
||||||
userId: uni.getStorageSync('userId'),
|
userId: uni.getStorageSync('userId'),
|
||||||
|
ordersId:this.ordersId
|
||||||
}
|
}
|
||||||
if(this.artificerId){
|
if(this.artificerId){
|
||||||
data.artificerId=this.artificerId
|
data.artificerId=this.artificerId
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$Request.post('/app/aliPay/payOrderMoney', data).then(
|
this.$Request.post('/app/aliPay/payOrderMoney', data).then(
|
||||||
|
|
10
pages.json
10
pages.json
|
@ -767,6 +767,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "order/paydingXiuGai",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "修改订单详情",
|
||||||
|
"navigationStyle": "custom",
|
||||||
|
"app-plus": {
|
||||||
|
"titleNView": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "order/payJaZ",
|
"path": "order/payJaZ",
|
||||||
"style": {
|
"style": {
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
去支付
|
去支付
|
||||||
</u-button>
|
</u-button>
|
||||||
|
|
||||||
<u-button v-if="item.btnShow == 'true'&&item.status==2||item.status==6||item.status==7||item.status==8||item.status == 9&&!item.refusalContent" :custom-style="customStyle1" shape="circle" :plain="true"
|
<u-button v-if="item.btnShow == 'true'&&item.status==2||item.oldOrdersId==null||item.status==6||item.status==7||item.status==8||item.status == 9&&!item.refusalContent" :custom-style="customStyle1" shape="circle" :plain="true"
|
||||||
@click="goNav('/my/order/payModifyDzhifu?ordersId='+item.ordersId,item,'修改')" class="btns">
|
@click="goNav('/my/order/payModifyDzhifu?ordersId='+item.ordersId,item,'修改')" class="btns">
|
||||||
修改订单
|
修改订单
|
||||||
</u-button>
|
</u-button>
|
||||||
|
@ -103,14 +103,14 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="hideBtn" v-show="btnShow==index" style="justify-content: end;">
|
<view class="hideBtn" v-show="btnShow==index" style="justify-content: end;">
|
||||||
<u-button
|
<u-button
|
||||||
v-if="(item.status == 1 || item.status == 2 || item.status == 7 || item.status == 8) && yhqxSel != '否'"
|
v-if="item.status != 3 && item.status != 4 && item.status != 5"
|
||||||
:custom-style="customStyle" shape="circle" :plain="true"
|
:custom-style="customStyle" shape="circle" :plain="true"
|
||||||
class="btns"
|
class="btns"
|
||||||
@click="cancelOrder(item)">
|
@click="cancelOrder(item)">
|
||||||
取消订单
|
取消订单
|
||||||
</u-button>
|
</u-button>
|
||||||
<u-button v-if="item.status == 6" :custom-style="customStyle1" class="btns" shape="circle" :plain="true"
|
<u-button v-if="item.status == 6" :custom-style="customStyle1" class="btns" shape="circle" :plain="true"
|
||||||
@click="goNav('/my/wallet/index?artificerId='+item.artificerId)">
|
@click="goNav('/my/wallet/index?artificerId='+item.artificerId+'&ordersId='+item.ordersId,item)">
|
||||||
充值
|
充值
|
||||||
</u-button>
|
</u-button>
|
||||||
<u-button v-if="item.addNum !=null && item.status == 6" :custom-style="customStyle1" class="btns" shape="circle" :plain="true"
|
<u-button v-if="item.addNum !=null && item.status == 6" :custom-style="customStyle1" class="btns" shape="circle" :plain="true"
|
||||||
|
@ -315,6 +315,11 @@
|
||||||
methods: {
|
methods: {
|
||||||
goNav(url,item,text) {
|
goNav(url,item,text) {
|
||||||
this.$queue.setData('xiangmu',item);
|
this.$queue.setData('xiangmu',item);
|
||||||
|
if(item.isSupplement='1'){
|
||||||
|
uni.navigateTo({
|
||||||
|
url:url
|
||||||
|
})
|
||||||
|
}else{
|
||||||
if(item.oldOrdersId){//如果有订单有升级 那就去升级订单详情
|
if(item.oldOrdersId){//如果有订单有升级 那就去升级订单详情
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:'/my/order/payShengji?ordersId='+item.ordersId
|
url:'/my/order/payShengji?ordersId='+item.ordersId
|
||||||
|
@ -336,6 +341,8 @@
|
||||||
url:url
|
url:url
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
gengBtn(index){//更多按钮
|
gengBtn(index){//更多按钮
|
||||||
this.btnShow=index
|
this.btnShow=index
|
||||||
|
|
|
@ -504,6 +504,11 @@
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url:'/my/order/payModifyDd?artificerId='+e.artificerId+'&text='+'my'
|
url:'/my/order/payModifyDd?artificerId='+e.artificerId+'&text='+'my'
|
||||||
})
|
})
|
||||||
|
}else if(this.dataIndex=='修改'){
|
||||||
|
this.$queue.setData('getJishi',e);
|
||||||
|
uni.reLaunch({
|
||||||
|
url:'/my/order/payModifyDzhifu?artificerId='+e.artificerId+'&text='+'my'
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
switch1Change: function (e) {//地图和列表切换
|
switch1Change: function (e) {//地图和列表切换
|
||||||
|
|
Loading…
Reference in New Issue