|
@@ -60,8 +60,8 @@
|
|
|
<el-row :gutter="10" style="margin-bottom: 10px">
|
|
|
<el-col :span="24">
|
|
|
<el-button type="primary" size="mini" @click="handleAddOrder">新建订单</el-button>
|
|
|
- <el-button type="primary" size="mini" @click="bulkSubmission">批量提交</el-button>
|
|
|
- <el-button type="primary" size="mini" @click="submissionHistory">批量提交历史</el-button>
|
|
|
+ <el-button type="primary" size="mini" v-if="userInfo.subsidiaryId === '1628580271714541570'" @click="bulkSubmission">批量提交</el-button>
|
|
|
+ <el-button type="primary" size="mini" v-if="userInfo.subsidiaryId === '1628580271714541570'" @click="submissionHistory">批量提交历史</el-button>
|
|
|
</el-col>
|
|
|
<!-- <el-button type="primary" size="mini" style="background-color: rgba(245, 154, 35, 1); border-color: rgba(245, 154, 35, 1)">同步订单</el-button> -->
|
|
|
</el-row>
|
|
@@ -337,7 +337,7 @@ export default {
|
|
|
activated() {
|
|
|
this.handleQuery()
|
|
|
},
|
|
|
- computed: mapGetters(['dictData']),
|
|
|
+ computed: mapGetters(['dictData', 'userInfo']),
|
|
|
methods: {
|
|
|
getSelectData() {
|
|
|
this.orderStatus = this.dictData.filter((item) => item.code === 'order_status')[0].children
|