|
@@ -4,10 +4,10 @@
|
|
|
<a-row :gutter="48" slot="extra">
|
|
|
<a-col :md="48" :sm="48">
|
|
|
<span class="table-page-search-submitButtons" style="float: right">
|
|
|
- <a-button v-if="showSbFlag" style="margin-left: 16px" type="default" @ok="handleOk" @click="handleViewBom()">备件BOM</a-button>
|
|
|
- <a-button v-if="showSbFlag" style="margin-left: 16px" type="default" @ok="handleOk" @click="handleViewCheck()">保养项目</a-button>
|
|
|
- <a-button v-if="$auth('repair-application-forms-assign') && DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.NOT_ALLOCATED === model.status" type="primary" @click="handleAssign">派工</a-button>
|
|
|
- <a-popconfirm v-if="$auth('repair-application-forms-deal') && DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.REBACK === model.status" title="是否要接收?" @confirm="receive">
|
|
|
+ <a-button v-if="$auth('repair-application-forms-finish')" style="margin-left: 16px" type="default" @ok="handleOk" @click="handleViewBom()">备件BOM</a-button>
|
|
|
+ <a-button v-if="$auth('repair-application-forms-finish')" style="margin-left: 16px" type="default" @ok="handleOk" @click="handleViewCheck()">保养项目</a-button>
|
|
|
+ <a-button v-if="$auth('repair-application-forms-assign') && DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.NOT_ALLOCATED === model.status && DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.REBACK === model.status" type="primary" @click="handleAssign">派工</a-button>
|
|
|
+ <a-popconfirm v-if="$auth('repair-application-forms-deal') && DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.NOT_ALLOCATED === model.status && DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.REBACK === model.status" title="是否要接收?" @confirm="receive">
|
|
|
<a-button style="margin-left: 8px">接收</a-button>
|
|
|
</a-popconfirm>
|
|
|
<a-button v-if="$auth('repair-application-forms-out') && (DictCache.VALUE.REPAIR_APPLICATION_FORM_STATUS.PROCESSING >= model.status) && model.type != 2" style="margin-left: 8px" type="primary" @click="handleOut">委外</a-button>
|
|
@@ -111,7 +111,7 @@
|
|
|
</span>
|
|
|
</a-table>
|
|
|
<title-divider title="费用清单" width="90px"></title-divider>
|
|
|
- <div class="table-operator">
|
|
|
+ <div class="table-operator" v-if="$auth('repair-application-forms-finish')">
|
|
|
<a-button type="primary" @click="handleAddFee">
|
|
|
<a-icon type="plus"/>
|
|
|
添加
|
|
@@ -134,7 +134,7 @@
|
|
|
</span>
|
|
|
</a-table>
|
|
|
<title-divider title="原因分析" width="90px"></title-divider>
|
|
|
- <div class="table-operator">
|
|
|
+ <div class="table-operator" v-if="$auth('repair-application-forms-finish')">
|
|
|
<a-button type="primary" @click="handleAddReason">
|
|
|
<a-icon type="plus"/>
|
|
|
添加
|