优化商品的页签,默认显示第1个

This commit is contained in:
jishenghua
2025-04-22 20:57:49 +08:00
parent 72bd97acff
commit bad2a153c6

View File

@@ -17,7 +17,7 @@
</template> </template>
<a-spin :spinning="confirmLoading"> <a-spin :spinning="confirmLoading">
<a-form :form="form"> <a-form :form="form">
<a-tabs default-active-key="1" size="small"> <a-tabs v-model:activeKey="activeKey" size="small">
<a-tab-pane key="1" tab="基本信息" id="materialHeadModal" forceRender> <a-tab-pane key="1" tab="基本信息" id="materialHeadModal" forceRender>
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
<a-col :md="6" :sm="24"> <a-col :md="6" :sm="24">
@@ -329,6 +329,7 @@
visible: false, visible: false,
modalStyle: '', modalStyle: '',
action: '', action: '',
activeKey: '1',
categoryTree: [], categoryTree: [],
unitList: [], unitList: [],
depotList: [], depotList: [],