Browse Source

抽离大额银联转账支付

zhengjinyi 3 years ago
parent
commit
ce47dd54c9

+ 2 - 2
components/cm-module/cm-seller/user.vue

@@ -82,12 +82,12 @@
 			</view>
 			<!-- 底部跳转 -->
 			<view class="foot-list">
-				<view class="list-cell-image" @click="navigator('/pages/user/coupon/coupon-activity')">
+<!-- 				<view class="list-cell-image" @click="navigator('/pages/user/coupon/coupon-activity')">
 					<view class="text">
 						<view class="h1">美博会</view>
 						<view class="p">大额好券等你来领~</view>
 					</view>
-				</view>
+				</view> -->
 				<view class="list-cell-item">
 					<view class="list-cell"  v-for="(item, index) in firstList" :key="index" @click="navigator(item.path)" hover-class="cell-hover" :hover-stay-time="50">
 						<view class="cell-icon">

+ 5 - 4
components/cm-module/orderDetails/paymentRecord.vue

@@ -13,8 +13,8 @@
 			</view>
 			<view class="record-list" v-else>
 				<view class="record-item" v-for="(item,index) in discernReceiptList" :key="index">
-					<view class="item-time tt">{{item.receiptDate}}</view>
-					<view class="item-time pp">{{payTypeText(item.payType)}}</view>
+					<view class="item-time tt">{{ item.receiptDate }}</view>
+					<view class="item-time pp">{{ item.payTypeStr }}</view>
 					<view class="item-time mm">¥{{item.associateAmount.toFixed(2)}}</view>
 				</view>
 			</view>
@@ -64,6 +64,7 @@
 						14:'支付宝',
 						15:'微信支付',
 						16:'余额抵扣',
+						18:'大额银联转账',
 					}
 				Object.keys(stateTextObject).forEach(key => {
 					if(key == state){
@@ -135,11 +136,11 @@
 							text-align: right;
 						}
 						&.pp{
-							flex: 2;
+							flex: 3;
 							color: $text-color;
 						}
 						&.tt{
-							flex: 5;
+							flex: 4;
 							color: #999999;
 						}
 					}

+ 2 - 1
pages/user/member/member-pay.vue

@@ -169,7 +169,7 @@ export default {
 			this.payParams.code = await authorize.getCode('weixin')
 			this.PayService.PayOrderVipWechat(this.payParams)
 				.then(response => {
-					let PayInfo = JSON.parse(response.data.rt10_payInfo)
+					let PayInfo = JSON.parse(response.data.data.payInfo)
 					this.WxRequestPayment(PayInfo)
 				})
 				.catch(error => {
@@ -179,6 +179,7 @@ export default {
 		WxRequestPayment(data) {
 			// 微信支付Api
 			let self = this
+			console.log('data',data)
 			wx.requestPayment({
 				timeStamp: data.timeStamp,
 				nonceStr: data.nonceStr,

+ 1 - 0
pages/user/order/order-pay.vue

@@ -353,6 +353,7 @@
 			},
 			WxRequestPayment(data){
 				let self = this
+				console.log('data',data)
 				wx.requestPayment({
 					'timeStamp': data.timeStamp,
 					'nonceStr': data.nonceStr,