Commit 325a13dd authored by 黄奎's avatar 黄奎

页面修改

parent f68914d3
<template> <template>
<div class="templatePayURL" style="margin-right: 10px;"> <div class="templatePayURL" style="margin-right: 10px;">
<div> <div>
<template v-if="!isShowPic"> <template v-if="!isShowPic">
<div style="margin: 15px 0;"> <div style="margin: 15px 0;">
<!-- <el-input :disabled="true" v-model="item.TotalPrice">
</el-input> -->
<div> <div>
总金额:<span style="color:red;">{{item.TotalPrice}}</span> 总金额:<span style="color:red;">{{item.TotalPrice}}</span>
</div> </div>
...@@ -91,19 +88,19 @@ ...@@ -91,19 +88,19 @@
//获取付款状态 //获取付款状态
getPayStatus() { getPayStatus() {
console.log(this.item, 'item');
let msg = { let msg = {
OrderId: 40010 OrderId: this.item.orderId
} }
var myPay = this.payWay; var myPay = this.payWay;
if(myPay==3){ if(myPay==3){
myPay=2 myPay=2
} }
console.log("CheckOrderPay",msg);
this.apipost('OnlinePay_post_CheckOrderPay', msg, res => { this.apipost('OnlinePay_post_CheckOrderPay', msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var data = res.data.data; var data = res.data.data;
let mallMsg={ let mallMsg={
OrderId:data.OrderId, OrderId:this.item.orderId,
MerchantsNo:data.Pay_Order, MerchantsNo:data.Pay_Order,
User_Id:this.item.User_Id, User_Id:this.item.User_Id,
Out_Trade_No:data.Trade_Order, Out_Trade_No:data.Trade_Order,
...@@ -121,13 +118,9 @@ ...@@ -121,13 +118,9 @@
}) })
this.$emit('closeDia') this.$emit('closeDia')
clearInterval(this.timer2); clearInterval(this.timer2);
} else {
// this.Error(res.data.message)
} }
}, err => {}) }, err => {})
}, },
descTime() { descTime() {
let day = parseInt(this.chaTime / 1000 / 60 / 60 / 24) let day = parseInt(this.chaTime / 1000 / 60 / 60 / 24)
let hr = parseInt(this.chaTime / 1000 / 60 / 60 % 24) let hr = parseInt(this.chaTime / 1000 / 60 / 60 % 24)
...@@ -153,15 +146,10 @@ ...@@ -153,15 +146,10 @@
} }
this.chaTime -= 1000 this.chaTime -= 1000
// 一秒后递归 // 一秒后递归
},
parentHandleclick() {
this.isShowPic = false;
} }
}, },
}; };
</script> </script>
<style> <style>
.templatePayURL .el-input--suffix .el-input__inner { .templatePayURL .el-input--suffix .el-input__inner {
padding: 0 10px 0 8px !important; padding: 0 10px 0 8px !important;
......
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