Prechádzať zdrojové kódy

【ID1006444】bug修复

chenrui 4 rokov pred
rodič
commit
9090ce4eb6

+ 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'
     },