通过权限来控制子用户的新增供应商、客户、会员、结算账户等功能

This commit is contained in:
jishenghua
2024-09-26 00:41:40 +08:00
parent 80f9ec4633
commit c585ebdf37
22 changed files with 112 additions and 59 deletions

View File

@@ -63,8 +63,8 @@
<a-icon type="down" @click="handleBatchSetDepot" />
</template>
<template #depotAdd>
<a-divider v-if="isTenant" style="margin: 4px 0;" />
<div v-if="isTenant" style="padding: 4px 8px; cursor: pointer;" @click="addDepot"><a-icon type="plus" /> 新增仓库</div>
<a-divider v-if="quickBtn.depot" style="margin: 4px 0;" />
<div v-if="quickBtn.depot" style="padding: 4px 8px; cursor: pointer;" @click="addDepot"><a-icon type="plus" /> 新增仓库</div>
</template>
</j-editable-table>
<a-row class="form-row" :gutter="24">
@@ -219,6 +219,7 @@
this.initSystemConfig()
this.initDepot()
this.initPlatform()
this.initQuickBtn()
},
//提交单据时整理成formData
classifyIntoFormData(allValues) {