Sfoglia il codice sorgente

【ID1006444】bug修复

chenrui 4 anni fa
parent
commit
9090ce4eb6
1 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  1. 5 4
      src/views/Service/PurchasedServiceDetail.vue

+ 5 - 4
src/views/Service/PurchasedServiceDetail.vue

@@ -104,11 +104,12 @@ export default {
       return ''
     },
     isPay () {
-      return this.orderBundle.orderFlag === 'PAED'
+      //  结算状态为已支付或已退款都应存在支付时间与支付金额
+      return this.orderBundle.orderFlag === 'PAED' || this.orderBundle.orderFlag === 'RUND'
+    },
+    isRund () {
+      return this.orderBundle.orderFlag === 'RUND'
     },
-		isRund(){
-			return this.orderBundle.orderFlag === 'RUND'
-		},
     isCancel () {
       return this.orderBundle.orderFlag === 'CAEL' || this.orderBundle.orderFlag === 'SYCA'
     },