xiongchao 3 år sedan
förälder
incheckning
1fda0d505f
1 ändrade filer med 2 tillägg och 7 borttagningar
  1. 2 7
      src/views/repair/application-form/modules/DetailRepair.vue

+ 2 - 7
src/views/repair/application-form/modules/DetailRepair.vue

@@ -110,15 +110,14 @@
           </template>
         </span>
       </a-table>
-      <title-divider title="费用清单" width="90px" v-if="model.type == 2"></title-divider>
-      <div class="table-operator" v-if="$auth('repair-application-forms-finish') && ( DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.PROCESSING === model.status || DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.REBACK === model.status) && model.type === 2">
+      <title-divider title="费用清单" width="90px"></title-divider>
+      <div class="table-operator">
         <a-button type="primary" @click="handleAddFee">
           <a-icon type="plus"/>
           添加
         </a-button>
       </div>
       <a-table
-        v-if="model.type == 2"
         :data-source="dataFee"
         :columns="columnsFee"
         tableLayout="auto"
@@ -127,12 +126,8 @@
           <template>
             <a @click="handleViewFee(record)">查看</a>
             <operation-button
-              v-if="$auth('repair-application-forms-finish') && ( DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.PROCESSING === model.status || DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.REBACK === model.status)"
               @click="handleEditFee(record)" >修改</operation-button>
-
             <operation-button
-              v-if="$auth('repair-application-forms-finish') && ( DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.PROCESSING === model.status || DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.REBACK === model.status)"
-              :type="2"
               title="确认删除该笔费用?"
               @confirm="batchDeleteFee(record.id)" >删除</operation-button>
           </template>