|
@@ -79,7 +79,7 @@
|
|
|
</a-layout-sider>
|
|
|
</a-layout>
|
|
|
<title-divider title="配件清单" width="90px"></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)">
|
|
|
+ <div class="table-operator" v-if="$auth('repair-application-forms-finish')">
|
|
|
<a-button type="primary" @click="handleSpareSelect">
|
|
|
<a-icon type="plus"/>
|
|
|
添加
|
|
@@ -92,7 +92,7 @@
|
|
|
rowKey="id">
|
|
|
</a-table>
|
|
|
<title-divider title="费用清单" width="90px"></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)">
|
|
|
+ <div class="table-operator" v-if="$auth('repair-application-forms-finish') ">
|
|
|
<a-button type="primary" @click="handleAddFee">
|
|
|
<a-icon type="plus"/>
|
|
|
添加
|
|
@@ -107,10 +107,10 @@
|
|
|
<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)"
|
|
|
+ v-if="$auth('repair-application-forms-finish')"
|
|
|
@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)"
|
|
|
+ v-if="$auth('repair-application-forms-finish')"
|
|
|
:type="2"
|
|
|
title="确认删除该笔费用?"
|
|
|
@confirm="batchDeleteFee(record.id)" >删除</operation-button>
|
|
@@ -118,8 +118,8 @@
|
|
|
</span>
|
|
|
</a-table>
|
|
|
<title-divider title="维修报告" width="90px"></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)">-->
|
|
|
- <a-button type="primary" @click="handleAddReason">-->
|
|
|
+ <div class="table-operator" >
|
|
|
+ <a-button type="primary" @click="handleAddReason">
|
|
|
<a-icon type="plus"/>
|
|
|
</a-button>-
|
|
|
</div>
|
|
@@ -132,10 +132,10 @@
|
|
|
<template>
|
|
|
<a @click="handleViewReason(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)"
|
|
|
+ v-if="$auth('repair-application-forms-finish')"
|
|
|
@click="handleEditReason(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)"
|
|
|
+ v-if="$auth('repair-application-forms-finish')"
|
|
|
:type="2"
|
|
|
title="确认删除该记录?"
|
|
|
@confirm="batchDeleteReason(record.id)" >删除</operation-button>
|