|
|
@@ -143,7 +143,7 @@
|
|
|
<text class="unpaid">待支付</text>
|
|
|
<text class="preferentialPrice">¥{{allPrice}}</text>
|
|
|
<text class="originalPrice">¥{{allPrice}}</text>
|
|
|
- <text class="priceDetail">价格明细</text>
|
|
|
+<!-- <text class="priceDetail">价格明细</text>-->
|
|
|
</view>
|
|
|
|
|
|
<view class="btn" @click="qenPayInfo">
|
|
|
@@ -288,18 +288,18 @@ export default {
|
|
|
},
|
|
|
balancePay(){
|
|
|
|
|
|
- let that = this;
|
|
|
- if(this.password.length< 6 ){
|
|
|
- uni.showToast({
|
|
|
- title: "交易密码不能小于6位"
|
|
|
- })
|
|
|
- return ;
|
|
|
- }
|
|
|
- this.$refs.passwordPopup.close()
|
|
|
+ // let that = this;
|
|
|
+ // if(this.password.length< 6 ){
|
|
|
+ // uni.showToast({
|
|
|
+ // title: "交易密码不能小于6位"
|
|
|
+ // })
|
|
|
+ // return ;
|
|
|
+ // }
|
|
|
+ // this.$refs.passwordPopup.close()
|
|
|
|
|
|
this.$api.trade({
|
|
|
- tradeNo: this.tradeNo,
|
|
|
- password: this.password
|
|
|
+ tradeNo: this.tradeNo
|
|
|
+ // password: this.password
|
|
|
}).then((res)=>{
|
|
|
uni.showToast({
|
|
|
title: '支付成功!'
|
|
|
@@ -328,9 +328,12 @@ export default {
|
|
|
commonGeneralOrder(){
|
|
|
let that =this
|
|
|
if (this.curServiceTab===1){
|
|
|
- that.password = '';
|
|
|
- this.$refs.popup.close()
|
|
|
- this.$refs.passwordPopup.open()
|
|
|
+ // that.password = '';
|
|
|
+ // this.$refs.popup.close()
|
|
|
+ // this.$refs.passwordPopup.open()
|
|
|
+
|
|
|
+ this.balancePay()
|
|
|
+
|
|
|
}else {
|
|
|
this.$api.wechatPayTradeNo({tradeNo:this.tradeNo}).then(res=>{
|
|
|
var param = res.data.data;
|