Commit 8befbb35 by 杨北旺

修复时间获取问题

1 parent b954900f
...@@ -523,8 +523,9 @@ Component({ ...@@ -523,8 +523,9 @@ Component({
} = this.data } = this.data
if(successDateTime&&!orderInfo.resetOrder){ if(successDateTime&&!orderInfo.resetOrder){
let thisPage = wx.$router.getPageInstance() let thisPage = wx.$router.getPageInstance()
const _temp = new Date(successDateTime).format('yyyy-MM-dd hh:mm:ss')
thisPage.setData({ thisPage.setData({
['orderInfo.pay2Time']: successDateTime, ['orderInfo.pay2Time']: _temp,
}) })
} }
if (showError) return wx.$util.showToast('权益价不能小于最低权益价') if (showError) return wx.$util.showToast('权益价不能小于最低权益价')
......
...@@ -148,7 +148,7 @@ Page({ ...@@ -148,7 +148,7 @@ Page({
payType: selectPayType payType: selectPayType
} }
if(selectPayType==2&&!isErrorOrder){ if(selectPayType==2&&!isErrorOrder){
obj.successDate = successDate obj.successDate = new Date(successDate).format('yyyy-MM-dd hh:mm:ss')
} }
if (payVoucherList?.length && outTradeNo) { if (payVoucherList?.length && outTradeNo) {
obj.payVoucherList = payVoucherList.map(v => { obj.payVoucherList = payVoucherList.map(v => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!