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

页面修改

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