fix: 个人用户Tab禁用新建客户按钮

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-07-12 23:58:38 +08:00
parent 9f3067b412
commit 83c87cad3d
@@ -359,7 +359,7 @@ async function handleImport() {
</svg> </svg>
导出 导出
</el-button> </el-button>
<el-button v-if="auth.isDirector" type="primary" @click="openCreate">+ 新建客户</el-button> <el-button v-if="auth.isDirector" type="primary" @click="openCreate" :disabled="customerType === 'individual'">+ 新建客户</el-button>
</div> </div>
</div> </div>
<div class="page-rule"></div> <div class="page-rule"></div>