This commit is contained in:
2025-11-28 09:58:52 +08:00
parent d197f7555f
commit d7955aa628
3 changed files with 73 additions and 63 deletions

View File

@@ -6,7 +6,7 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:postgresql://192.168.110.252:15432/postgresql?currentSchema=public&characterEncoding=UTF-8&client_encoding=UTF-8
url: jdbc:postgresql://192.168.110.252:15432/postgresql?currentSchema=hisdev&characterEncoding=UTF-8&client_encoding=UTF-8
username: postgresql
password: Jchl1528
# 从库数据源

View File

@@ -111,7 +111,12 @@
</el-form>
</el-row>
<el-row :gutter="10">
<el-scrollbar height="calc(100vh - 350px)" style="width: 100%">
<!-- 固定位置的新增单据按钮始终可见 -->
<div class="fixed-add-button" style="margin-bottom: 10px; text-align: center;">
<el-button type="primary" @click="handleAdd" :disabled="isAddDisabled"> 新增单据 </el-button>
</div>
<el-scrollbar height="calc(100vh - 400px)" style="width: 100%">
<div class="order-list-container">
<!-- 有数据时显示列表 -->
<template v-if="orderList.length > 0">
@@ -169,7 +174,7 @@
<!-- 空状态显示 -->
<div v-else class="empty-state">
<el-empty description="暂无单据" :image-size="80">
<el-button type="primary" @click="handleAdd"> 新增单据 </el-button>
<!-- 空状态下不再显示新增单据按钮因为已在上方固定位置显示 -->
</el-empty>
</div>
</div>

View File

@@ -111,7 +111,12 @@
</el-form>
</el-row>
<el-row :gutter="10">
<el-scrollbar height="calc(100vh - 350px)" style="width: 100%">
<!-- 固定位置的新增单据按钮始终可见 -->
<div class="fixed-add-button" style="margin-bottom: 10px; text-align: center;">
<el-button type="primary" @click="handleAdd" :disabled="isAddDisabled"> 新增单据 </el-button>
</div>
<el-scrollbar height="calc(100vh - 400px)" style="width: 100%">
<div class="order-list-container">
<!-- 有数据时显示列表 -->
<template v-if="orderList.length > 0">
@@ -169,7 +174,7 @@
<!-- 空状态显示 -->
<div v-else class="empty-state">
<el-empty description="暂无单据" :image-size="80">
<el-button type="primary" @click="handleAdd"> 新增单据 </el-button>
<!-- 空状态下不再显示新增单据按钮因为已在上方固定位置显示 -->
</el-empty>
</div>
</div>