|
@@ -121,17 +121,16 @@ export default {
|
|
|
>
|
|
|
审批
|
|
|
</el-button>
|
|
|
- <el-button
|
|
|
- size="mini"
|
|
|
- type="text" onClick={() => {
|
|
|
- deleteCustomerStockOrder({ id: row.id }).then(res => {
|
|
|
- this.$successMsg('删除成功')
|
|
|
- this.$refs.pageRef.getTableData()
|
|
|
- })
|
|
|
- }}
|
|
|
+ <el-popconfirm
|
|
|
+ onOnConfirm = {()=>{
|
|
|
+ deleteCustomerStockOrder({ id: row.id }).then(res => {
|
|
|
+ this.$successMsg('删除成功')
|
|
|
+ this.$refs.pageRef.getTableData()
|
|
|
+ }) }}
|
|
|
+ title="删除吗?"
|
|
|
>
|
|
|
- 删除
|
|
|
- </el-button>
|
|
|
+ <el-button slot="reference" type="text">删除</el-button>
|
|
|
+ </el-popconfirm>
|
|
|
</div>
|
|
|
)
|
|
|
}
|