Browse Source

ID1006228 bug修复

zhangdan 4 years ago
parent
commit
d9df1fd64b
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/Service/PurchasedServiceDetail.vue

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

@@ -27,7 +27,7 @@
           </span>
           </span>
           <span slot="hexiao" slot-scope="text, record, index">
           <span slot="hexiao" slot-scope="text, record, index">
             <template>
             <template>
-              <a-button type="primary" v-if="record.isDelay" @click="yanQi(record)" id="PurchasedServiceDetail-yanQi">延期</a-button>
+              <a-button type="primary" v-if="!isRund && record.isDelay " @click="yanQi(record)" id="PurchasedServiceDetail-yanQi">延期</a-button>
               <span v-else>--</span>
               <span v-else>--</span>
             </template>
             </template>
           </span>
           </span>
@@ -106,6 +106,9 @@ export default {
     isPay () {
     isPay () {
       return this.orderBundle.orderFlag === 'PAED'
       return this.orderBundle.orderFlag === 'PAED'
     },
     },
+		isRund(){
+			return this.orderBundle.orderFlag === 'RUND'
+		},
     isCancel () {
     isCancel () {
       return this.orderBundle.orderFlag === 'CAEL' || this.orderBundle.orderFlag === 'SYCA'
       return this.orderBundle.orderFlag === 'CAEL' || this.orderBundle.orderFlag === 'SYCA'
     },
     },