Commit 6cb1c8f0 authored by youjie's avatar youjie

no message

parent 64e57829
......@@ -333,13 +333,6 @@
:showModal="showModal"
@cancel="cancelModal"
:orderNo="OrderNo"></cancelPrompt>
<u-modal :border-radius="16"
@confirm="nativageToOrderHandle"
title="订单提醒"
content="订单创建成功,请您在5分钟内完成付款,否则将会被取消."
@cancel="navigatorToHomeHandle"
v-model="successVisible" confirm-text='查看订单' cancel-text='返回首页'
confirm-color='#DEBF7B' cancel-color='#080A09' :show-cancel-button="true"></u-modal>
</view>
</template>
......@@ -375,7 +368,6 @@
showModal: false,
erpBaseInfo: null,
b2b_user: {},
successVisible: false,
}
},
computed:{
......@@ -432,23 +424,6 @@
this.navigatorToHomeHandle()
},
methods: {
navigatorToHomeHandle() {
uni.redirectTo({
url: '/pages/index/index'
})
},
nativageToOrderHandle(){
let OrderTypeStr = ''
// #ifdef MP-DI
OrderTypeStr = '16'
// #endif
// #ifdef MP-AG
OrderTypeStr = '1'
// #endif
uni.redirectTo({
url: `/pages/AggregateOrders/AggregateOrdersList?OrderTypeStr=${OrderTypeStr}`,
});
},
cancelModal(){
this.showModal = false
},
......@@ -500,11 +475,10 @@
fail: function(err) {
console.log("fail:", err);
that.submit = false;
that.successVisible = true
// uni.showToast({
// title: "支付失败",
// icon: "none",
// });
uni.showToast({
title: "支付失败",
icon: "none",
});
},
});
},
......
......@@ -628,15 +628,15 @@
},
fail: function(err) {
that.submit = true;
// that.successVisible = true
uni.showToast({
title: "支付失败",
icon: "none",
});
that.successVisible = true
// uni.showToast({
// title: "支付失败",
// icon: "none",
// });
setTimeout(() => {
uni.redirectTo({
url: `/pages/bus/orderdetails?orderId=${that.ErpOrderId}&OrderNo=${item.OrderNo}`,
});
// uni.redirectTo({
// url: `/pages/bus/orderdetails?orderId=${that.ErpOrderId}&OrderNo=${item.OrderNo}`,
// });
// let OrderTypeStr = ''
// // #ifdef MP-DI
// OrderTypeStr = '12,13,14'
......
......@@ -849,16 +849,16 @@
fail: function(err) {
console.log("fail:", err);
that.submit = false;
// that.successVisible = true
uni.showToast({
title: "支付失败",
icon: "none",
});
setTimeout(() => {
uni.redirectTo({
url: "/pages/jiuzhai/jz_SureOrder?OrderNo=" + OrderNo,
});
}, 100);
that.successVisible = true
// uni.showToast({
// title: "支付失败",
// icon: "none",
// });
// setTimeout(() => {
// uni.redirectTo({
// url: "/pages/jiuzhai/jz_SureOrder?OrderNo=" + OrderNo,
// });
// }, 100);
},
});
},
......
......@@ -603,13 +603,6 @@
:showModal="showModal"
@cancel="cancelModal"
:orderNo="orderData.OrderNo"></cancelPrompt>
<u-modal :border-radius="16"
@confirm="nativageToOrderHandle"
title="订单提醒"
content="订单创建成功,请您在5分钟内完成付款,否则将会被取消."
@cancel="navigatorToHomeHandle"
v-model="successVisible" confirm-text='查看订单' cancel-text='返回首页'
confirm-color='#DEBF7B' cancel-color='#080A09' :show-cancel-button="true"></u-modal>
</view>
</template>
......@@ -646,7 +639,6 @@
couponMessage:[],
showModal: false,
b2b_user: {},
successVisible: false,
};
},
created() {},
......@@ -669,23 +661,6 @@
}
},
methods: {
navigatorToHomeHandle() {
uni.redirectTo({
url: '/pages/index/index'
})
},
nativageToOrderHandle(){
let OrderTypeStr = ''
// #ifdef MP-DI
OrderTypeStr = '1,2,3'
// #endif
// #ifdef MP-AG
OrderTypeStr = '2'
// #endif
uni.redirectTo({
url: `/pages/AggregateOrders/AggregateOrdersList?OrderTypeStr=${OrderTypeStr}`,
});
},
cancelModal(){
this.showModal = false
},
......@@ -743,11 +718,10 @@
fail: function(err) {
console.log("fail:", err);
that.submit = false;
that.successVisible = true
// uni.showToast({
// title: "支付失败",
// icon: "none",
// });
uni.showToast({
title: "支付失败",
icon: "none",
});
},
});
},
......
......@@ -997,16 +997,16 @@
fail: function(err) {
console.log("fail:", err);
that.submit = false;
// that.successVisible = true
uni.showToast({
title: "支付失败",
icon: "none",
});
setTimeout(() => {
uni.redirectTo({
url: `/pages/visa/visa_SureOrder?OrderNo=${OrderNo}`,
});
}, 100);
that.successVisible = true
// uni.showToast({
// title: "支付失败",
// icon: "none",
// });
// setTimeout(() => {
// uni.redirectTo({
// url: `/pages/visa/visa_SureOrder?OrderNo=${OrderNo}`,
// });
// }, 100);
},
});
},
......
......@@ -560,13 +560,6 @@
<cancelPrompt v-if="showModal"
:showModal="showModal"
@cancel="cancelModal" :orderNo="orderData.OrderNo"></cancelPrompt>
<u-modal :border-radius="16"
@confirm="nativageToOrderHandle"
title="订单提醒"
content="订单创建成功,请您在5分钟内完成付款,否则将会被取消."
@cancel="navigatorToHomeHandle"
v-model="successVisible" confirm-text='查看订单' cancel-text='返回首页'
confirm-color='#DEBF7B' cancel-color='#080A09' :show-cancel-button="true"></u-modal>
</view>
</template>
......@@ -601,7 +594,6 @@
OrderNo: '',
showModal: false,
b2b_user: {},
successVisible: false,
};
},
created() {},
......@@ -618,23 +610,6 @@
}
},
methods: {
navigatorToHomeHandle() {
uni.redirectTo({
url: '/pages/index/index'
})
},
nativageToOrderHandle(){
let OrderTypeStr = ''
// #ifdef MP-DI
OrderTypeStr = '15'
// #endif
// #ifdef MP-AG
OrderTypeStr = '6'
// #endif
uni.redirectTo({
url: `/pages/AggregateOrders/AggregateOrdersList?OrderTypeStr=${OrderTypeStr}`,
});
},
cancelModal(){
this.showModal = false
},
......@@ -685,11 +660,10 @@
fail: function(err) {
console.log("fail:", err);
that.submit = false;
that.successVisible = true
// uni.showToast({
// title: "支付失败",
// icon: "none",
// });
uni.showToast({
title: "支付失败",
icon: "none",
});
},
});
},
......
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