|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<addProduct class="inline-16" :data="data" @onConfirm="listData()"></addProduct>
|
|
|
- <el-button size="small" type="primary" @click="adddispatch">一键发货</el-button>
|
|
|
+ <el-button v-if="tool.checkAuth($route.name,'adddispatch')" size="small" type="primary" @click="adddispatch">一键发货</el-button>
|
|
|
<el-table
|
|
|
ref="multipleTable"
|
|
|
:data="tableData"
|
|
@@ -328,7 +328,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
selectionChange (selection) {
|
|
|
- this.$emit('select',selection)
|
|
|
+ this.selection = selection
|
|
|
},
|
|
|
async adddispatch () {
|
|
|
const res = await this.$api.requested({
|