|
@@ -44,7 +44,8 @@
|
|
|
<hr>
|
|
|
<el-form ref="form" :model='p' @submit.native.prevent>
|
|
|
<div style="margin: 15px 0px 15px 0px;">详情-边民订单</div>
|
|
|
- <el-button type="primary" style="margin-bottom:10px;" @click="editPriceByIds()">批量修改总价</el-button>
|
|
|
+ <el-button v-if="sa.isAuth('tb-order-edit-price')"
|
|
|
+ type="primary" style="margin-bottom:10px;" @click="editPriceByIds()">批量修改总价</el-button>
|
|
|
</el-form>
|
|
|
<!-- ------------- 数据列表 ------------- -->
|
|
|
<el-table class="data-table" ref="data-table" :data="dataList" >
|
|
@@ -65,9 +66,9 @@
|
|
|
</sa-td>
|
|
|
<el-table-column label="操作" fixed="right" width="200px">
|
|
|
<template slot-scope="s">
|
|
|
- <el-button
|
|
|
+ <el-button v-if="s.row.upStatus==2&&s.row.resaleStatus==0&&sa.isAuth('tb-order-edit-price')"
|
|
|
class="c-btn" type="success" icon="el-icon-view" @click="editPrice(s.row)">修改总价</el-button>
|
|
|
- <el-button
|
|
|
+ <el-button v-if="s.row.upStatus==2&&s.row.resaleStatus==0&&sa.isAuth('tb-order-edit-price')"
|
|
|
class="c-btn" type="primary" icon="el-icon-plus" @click="resale(s.row)">转售二级</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|