Commit cb2b3763 authored by youjie's avatar youjie

no message

parent ab57ce69
...@@ -119,7 +119,6 @@ export default { ...@@ -119,7 +119,6 @@ export default {
"paySign": payData.paySign, //微信签名 "paySign": payData.paySign, //微信签名
'success':function(res){ 'success':function(res){
uni.hideLoading() uni.hideLoading()
that.closePay()
uni.navigateTo({ uni.navigateTo({
url: '/pages/order-submit/pay-success?payInfo='+JSON.stringify(that.payInfo) url: '/pages/order-submit/pay-success?payInfo='+JSON.stringify(that.payInfo)
}); });
...@@ -129,7 +128,9 @@ export default { ...@@ -129,7 +128,9 @@ export default {
}, },
'fail':function(res){ 'fail':function(res){
uni.hideLoading() uni.hideLoading()
that.closePay() uni.navigateTo({
url: '/pages/order/index/index?status=1'
});
}, },
'complete':function(res){ 'complete':function(res){
// uni.showToast({ // uni.showToast({
......
...@@ -331,7 +331,7 @@ ...@@ -331,7 +331,7 @@
}, },
data() { data() {
return { return {
isAlipay: 2, isAlipay: 2,//1微信 2微信支付宝
JJSWStuId: "", JJSWStuId: "",
Thename2: '', Thename2: '',
u: {}, u: {},
......
...@@ -95,7 +95,8 @@ ...@@ -95,7 +95,8 @@
:border-radius="20"></u-modal> :border-radius="20"></u-modal>
<good-list :list="goodData" v-if="showGoodList" @close="closeGoodListHandler"></good-list> <good-list :list="goodData" v-if="showGoodList" @close="closeGoodListHandler"></good-list>
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth='goback'></auth> <auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth='goback'></auth>
<payCom v-if="payBtn" :payInfo="payInfo" @closePay="closePay"></payCom> <payCom v-if="payBtn&&u.TenantId!=27" :payInfo="payInfo" @closePay="closePay"></payCom>
<submit2PayCom v-if="payBtn&&u.TenantId==27" :payInfo="payInfo" :isAlipay="isAlipay" @closePay="closePay"></submit2PayCom>
<u-popup v-model="payExit" mode="center" :mask-close-able="false"> <u-popup v-model="payExit" mode="center" :mask-close-able="false">
<view style="background:#fff;width:500rpx"> <view style="background:#fff;width:500rpx">
<view style="padding:10px 0 0 10px">提交失败</view> <view style="padding:10px 0 0 10px">提交失败</view>
...@@ -110,16 +111,19 @@ ...@@ -110,16 +111,19 @@
<script> <script>
import payCom from '@/components/pay/pay'; import payCom from '@/components/pay/pay';
import submit2PayCom from '@/components/pay/submit2Pay';
import goodList from "@/components/goods/order-good-list2"; import goodList from "@/components/goods/order-good-list2";
import auth from "../../../components/auth/index.vue"; import auth from "../../../components/auth/index.vue";
export default { export default {
components: { components: {
goodList, goodList,
auth, auth,
payCom payCom,
submit2PayCom
}, },
data() { data() {
return { return {
isAlipay:2,//1微信 2微信支付宝
pageTitle: "我的订单", pageTitle: "我的订单",
current: 0, current: 0,
list: [], list: [],
......
...@@ -241,7 +241,8 @@ ...@@ -241,7 +241,8 @@
<u-modal v-model="showReviceModal" content="是否确认收货?" :show-cancel-button="true" :show-title="false" <u-modal v-model="showReviceModal" content="是否确认收货?" :show-cancel-button="true" :show-title="false"
@confirm="submitReviceGoodHandler" :border-radius="20"></u-modal> @confirm="submitReviceGoodHandler" :border-radius="20"></u-modal>
<u-toast ref="uToast" /> <u-toast ref="uToast" />
<payCom v-if="payBtn" :payInfo="payInfo" @closePay="closePay"></payCom> <payCom v-if="payBtn&&u.TenantId!=27" :payInfo="payInfo" @closePay="closePay"></payCom>
<submit2PayCom v-if="payBtn&&u.TenantId==27" :payInfo="payInfo" :isAlipay="isAlipay" @closePay="closePay"></submit2PayCom>
<u-popup v-model="payExit" mode="center" :mask-close-able="false"> <u-popup v-model="payExit" mode="center" :mask-close-able="false">
<view style="background:#fff;width:500rpx"> <view style="background:#fff;width:500rpx">
<view style="padding:10px 0 0 10px">提交失败</view> <view style="padding:10px 0 0 10px">提交失败</view>
...@@ -257,16 +258,19 @@ ...@@ -257,16 +258,19 @@
<script> <script>
import payCom from '@/components/pay/pay'; import payCom from '@/components/pay/pay';
import submit2PayCom from '@/components/pay/submit2Pay';
import afterSale from "@/components/userorder/after-sale"; import afterSale from "@/components/userorder/after-sale";
import goodlist from "@/components/goods/list"; import goodlist from "@/components/goods/list";
export default { export default {
components: { components: {
afterSale, afterSale,
goodlist, goodlist,
payCom payCom,
submit2PayCom
}, },
data() { data() {
return { return {
isAlipay:2,//1微信 2微信支付宝
u:{}, u:{},
mc: "", mc: "",
secondary: "", secondary: "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment