|
@@ -59,20 +59,22 @@
|
|
|
|
|
|
<template #btn="{item}">
|
|
|
<div style="width: 100%">
|
|
|
- <span v-if="item.status == 0">
|
|
|
- <el-button type="primary" text v-debounce @click="getDtl(item, false)">修改</el-button>
|
|
|
- <el-button type="danger" text v-debounce @click="handleRepeal(item,'/saleQuotation/delete')">删除</el-button>
|
|
|
- </span>
|
|
|
- <span v-if="item.status !=88">
|
|
|
- <el-button type="primary" text v-debounce v-if="item.quotationStatus==2 && !item.extQuotationId"
|
|
|
- @click="handleBack(item)">退回</el-button>
|
|
|
- <el-button type="primary" text v-debounce v-if="item.status == 30 && item.quotationStatus==2"
|
|
|
- @click="getDtl(item, false,true)">变更</el-button>
|
|
|
- <el-button type="primary" text v-debounce v-if="item.quotationStatus==2 && !item.extQuotationId"
|
|
|
- @click="handleForeign(item)">转对外</el-button>
|
|
|
- <el-button type="danger" text v-debounce v-if="item.status !=0 && item.status !=88"
|
|
|
- @click="handleRepeal(item,'/saleQuotation/cancellation')">作废</el-button>
|
|
|
- </span>
|
|
|
+ <div v-if="isCurrentCompanyData(item.ofCompanyId)">
|
|
|
+ <span v-if="item.status == 0">
|
|
|
+ <el-button type="primary" text v-debounce @click="getDtl(item, false)">修改</el-button>
|
|
|
+ <el-button type="danger" text v-debounce @click="handleRepeal(item,'/saleQuotation/delete')">删除</el-button>
|
|
|
+ </span>
|
|
|
+ <span v-if="item.status !=88">
|
|
|
+ <el-button type="primary" text v-debounce v-if="item.quotationStatus==2 && !item.extQuotationId"
|
|
|
+ @click="handleBack(item)">退回</el-button>
|
|
|
+ <el-button type="primary" text v-debounce v-if="item.status == 30 && item.quotationStatus==2"
|
|
|
+ @click="getDtl(item, false,true)">变更</el-button>
|
|
|
+ <el-button type="primary" text v-debounce v-if="item.quotationStatus==2 && !item.extQuotationId"
|
|
|
+ @click="handleForeign(item)">转对外</el-button>
|
|
|
+ <el-button type="danger" text v-debounce v-if="item.status !=0 && item.status !=88"
|
|
|
+ @click="handleRepeal(item,'/saleQuotation/cancellation')">作废</el-button>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
</byTable>
|