张延森 před 5 roky
rodič
revize
75c029bb16
1 změnil soubory, kde provedl 4 přidání a 2 odebrání
  1. 4
    2
      src/onlineSelling/pages/raiseProfile/index.js

+ 4
- 2
src/onlineSelling/pages/raiseProfile/index.js Zobrazit soubor

@@ -232,10 +232,12 @@ export default class Raise extends Component {
232 232
     const otherInfo = [
233 233
       { head: '其他信息', body: '供核对数据使用' },
234 234
       { head: '认筹单编号', body: raiseDeatil.raiseRecordId || '', action: true },
235
-      { head: '缴费单编号', body: raiseDeatil.tradeNo || '', action: true, hide: (raiseDeatil.payStatus != 'refunded' && raiseDeatil.payStatus != 'paid') || raiseDeatil.payType != 'onLine' },
236
-      { head: '退费单编号', body: refundOrder.refundNo || '', action: true, hide: raiseDeatil.payStatus != 'refunded' },
235
+      { head: '微信缴费单', body: orderDetail.tradeNo || '', action: true, hide: !(raiseOrder.payType == 'onLine' && (raiseDeatil.payStatus == 'refunded' || raiseDeatil.payStatus == 'paid')) },
236
+      { head: '微信退费单', body: refundOrder.refundNo || '', action: true, hide: refundOrder.payStatus != 'refunded' },
237 237
     ]
238 238
 
239
+    console.log('------------------>', raiseOrder.payType == 'onLine' && (raiseDeatil.payStatus == 'refunded' || raiseDeatil.payStatus == 'paid'))
240
+
239 241
 
240 242
     return (
241 243
       <View className="raiseProfilePage">