|
@@ -100,8 +100,8 @@ export default class Raise extends Component {
|
100
|
100
|
toPay = () => {
|
101
|
101
|
console.log(this.props, "this.propsthis.propsthis.props")
|
102
|
102
|
const { raiseDeatil: { raiseRecordId } } = this.state
|
103
|
|
- const { user: { userInfo: { miniApp: { tpls } } } } = this.props
|
104
|
|
- const tplId = (tpls.filter(x => x.tplType == noticeType.TPL_NOTICE && x.isSubscribe == true)[0] || {}).tplId
|
|
103
|
+ const { user: { userInfo: { miniApp: { tpls } } } } = this.props
|
|
104
|
+ const tplId = (tpls.filter(x => x.tplType == noticeType.TPL_NOTICE && x.isSubscribe == true)[0] || {}).tplId
|
105
|
105
|
|
106
|
106
|
wx.requestSubscribeMessage({
|
107
|
107
|
tmplIds: [tplId],
|
|
@@ -111,7 +111,7 @@ export default class Raise extends Component {
|
111
|
111
|
|
112
|
112
|
},
|
113
|
113
|
complete() {
|
114
|
|
-
|
|
114
|
+
|
115
|
115
|
Taro.navigateTo({
|
116
|
116
|
url: `/onlineSelling/pages/raiseMoney/index?type=pay&raiseRecordId=${raiseRecordId}`
|
117
|
117
|
})
|
|
@@ -220,7 +220,7 @@ export default class Raise extends Component {
|
220
|
220
|
const otherInfo = [
|
221
|
221
|
{ head: '其他信息', body: '供核对数据使用' },
|
222
|
222
|
{ head: '认筹单编号', body: raiseDeatil.raiseRecordId || '', action: true },
|
223
|
|
- { head: '缴费单编号', body: orderDetail.tradeNo || '', action: true, hide: raiseDeatil.payStatus != 'paid' },
|
|
223
|
+ { head: '缴费单编号', body: orderDetail.tradeNo || '', action: true, hide: (raiseDeatil.payStatus != 'refunded' || raiseDeatil.payStatus != 'paid') },
|
224
|
224
|
{ head: '退费单编号', body: refundOrder.refundNo || '', action: true, hide: raiseDeatil.payStatus != 'refunded' },
|
225
|
225
|
]
|
226
|
226
|
|
|
@@ -245,7 +245,7 @@ export default class Raise extends Component {
|
245
|
245
|
contactClick={() => this.handleChatClick(raiseDeatil.consultantInfo)}
|
246
|
246
|
/>}
|
247
|
247
|
<View className="hr" />
|
248
|
|
- {raiseDeatil.payStatus == 'paid' &&
|
|
248
|
+ {(raiseDeatil.payStatus == 'paid' || raiseDeatil.payStatus == 'refunded') &&
|
249
|
249
|
<Block>
|
250
|
250
|
<CellBlock dataset={payInfo} />
|
251
|
251
|
<View className="hr" />
|