调整菜单
This commit is contained in:
@@ -141,6 +141,9 @@
|
||||
|
||||
<el-dialog title="帮我抢单" :visible.sync="rushBuyDialogVisible" width="520px" @close="resetRushBuyForm">
|
||||
<el-form ref="rushBuyFormRef" :model="rushBuyForm" :rules="rushBuyRules" label-width="130px">
|
||||
<el-form-item label="租户ID">
|
||||
<el-input :value="rushBuyTenantIdDisplay" disabled placeholder="未获取到租户ID" />
|
||||
</el-form-item>
|
||||
<el-form-item label="最大抢单数量" prop="maxBuyCount">
|
||||
<el-input-number
|
||||
v-model="rushBuyForm.maxBuyCount"
|
||||
@@ -370,6 +373,11 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
rushBuyTenantIdDisplay() {
|
||||
return this.getTenantIdFromBusinessHeaders()
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.fetchList()
|
||||
},
|
||||
@@ -417,7 +425,16 @@ export default {
|
||||
submitRushBuy() {
|
||||
this.$refs.rushBuyFormRef.validate((valid) => {
|
||||
if (!valid) return
|
||||
const payload = { maxBuyCount: this.rushBuyForm.maxBuyCount, ...this.getApiTokenParam() }
|
||||
const tenantId = (this.rushBuyTenantIdDisplay || '').trim()
|
||||
if (!tenantId) {
|
||||
this.$message.error('未获取到租户ID,请先登录或配置业务请求头中的租户')
|
||||
return
|
||||
}
|
||||
const payload = {
|
||||
tenantId,
|
||||
maxBuyCount: this.rushBuyForm.maxBuyCount,
|
||||
...this.getApiTokenParam()
|
||||
}
|
||||
this.rushBuyLoading = true
|
||||
rushBuyLbGoods(payload)
|
||||
.then((res) => {
|
||||
|
||||
9
src/views/lb-business/report-manage/index.vue
Normal file
9
src/views/lb-business/report-manage/index.vue
Normal file
@@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<router-view />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'LbReportManage'
|
||||
}
|
||||
</script>
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-card shadow="never">
|
||||
<div class="placeholder-title">报表统计</div>
|
||||
<div class="placeholder-title">抢单记录</div>
|
||||
<div class="placeholder-desc">
|
||||
页面入口已创建,可在此按业务需求补充多维度统计分析内容。
|
||||
页面入口已创建,可在此按业务需求补充抢单记录查询与展示功能。
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'LbReportStatistics'
|
||||
name: 'LbRushOrderRecord'
|
||||
}
|
||||
</script>
|
||||
|
||||
9
src/views/lb-business/rush-order/index.vue
Normal file
9
src/views/lb-business/rush-order/index.vue
Normal file
@@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<router-view />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'LbRushOrder'
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user