给单据编辑页面的仓库下拉框增加刷新功能

This commit is contained in:
jishenghua
2025-04-25 11:40:59 +08:00
parent 6b34558bf9
commit af4aa26d88
11 changed files with 22 additions and 11 deletions

View File

@@ -100,7 +100,8 @@
</template>
<template #depotAdd>
<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>
<div v-if="quickBtn.depot" class="dropdown-btn" @click="addDepot"><a-icon type="plus" /> 新增</div>
<div class="dropdown-btn" @mousedown="e => e.preventDefault()" @click="initDepot"><a-icon type="reload" /> 刷新</div>
</template>
</j-editable-table>
<a-row class="form-row" :gutter="24">