|
@@ -140,11 +140,17 @@
|
|
>删除</el-button
|
|
>删除</el-button
|
|
>
|
|
>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ style="margin-left:10px"
|
|
|
|
+ size="mini"
|
|
|
|
+ @click="handleRevokeAll"
|
|
|
|
+ >批量作废</el-button>
|
|
<!-- <el-button type="primary" size="mini">导出</el-button>-->
|
|
<!-- <el-button type="primary" size="mini">导出</el-button>-->
|
|
<!-- <el-button type="primary" size="mini">打印</el-button> -->
|
|
<!-- <el-button type="primary" size="mini">打印</el-button> -->
|
|
</div>
|
|
</div>
|
|
<div class="fl">
|
|
<div class="fl">
|
|
- <el-popconfirm
|
|
|
|
|
|
+ <!-- <el-popconfirm
|
|
style="margin-right: 10px"
|
|
style="margin-right: 10px"
|
|
title="批量作废吗?"
|
|
title="批量作废吗?"
|
|
@onConfirm="handleRevokeAll"
|
|
@onConfirm="handleRevokeAll"
|
|
@@ -155,7 +161,7 @@
|
|
size="mini"
|
|
size="mini"
|
|
>批量作废</el-button>
|
|
>批量作废</el-button>
|
|
|
|
|
|
- </el-popconfirm>
|
|
|
|
|
|
+ </el-popconfirm> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -482,13 +488,13 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
handleRevoke(id) {
|
|
handleRevoke(id) {
|
|
- handlePriceRevoke({ ids:id.join('') }).then((res) => {
|
|
|
|
|
|
+ handlePriceRevoke({ ids:id }).then((res) => {
|
|
this.$successMsg('操作成功')
|
|
this.$successMsg('操作成功')
|
|
this.getList()
|
|
this.getList()
|
|
})
|
|
})
|
|
},
|
|
},
|
|
handleRevokeAll() {
|
|
handleRevokeAll() {
|
|
- handlePriceRevoke({ ids:this.join('') }).then((res) => {
|
|
|
|
|
|
+ handlePriceRevoke({ ids:this.ids.join('') }).then((res) => {
|
|
this.$successMsg('操作成功')
|
|
this.$successMsg('操作成功')
|
|
this.getList()
|
|
this.getList()
|
|
})
|
|
})
|