Explorar o código

ID1006228 bug修复

zhangdan %!s(int64=4) %!d(string=hai) anos
pai
achega
d9df1fd64b
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/views/Service/PurchasedServiceDetail.vue

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

@@ -27,7 +27,7 @@
           </span>
           <span slot="hexiao" slot-scope="text, record, index">
             <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>
             </template>
           </span>
@@ -106,6 +106,9 @@ export default {
     isPay () {
       return this.orderBundle.orderFlag === 'PAED'
     },
+		isRund(){
+			return this.orderBundle.orderFlag === 'RUND'
+		},
     isCancel () {
       return this.orderBundle.orderFlag === 'CAEL' || this.orderBundle.orderFlag === 'SYCA'
     },