修改bug

This commit is contained in:
yangjun 2026-04-28 16:42:59 +08:00
parent e33d5c2485
commit a6da2e5073
4 changed files with 144 additions and 8 deletions

View File

@ -115,7 +115,6 @@ const downloadQR = () => {
display: flex;
flex-direction: column;
gap: 10px;
align-items: center; /* 可选:让二维码和按钮居中对齐 */
}
.qr-code-container a.noDisabled {

View File

@ -58,6 +58,7 @@
<a-button type="dashed" size="small" @click="handleWlsb(item)" style="margin-right:10px" >设备管理</a-button>
<a-button type="dashed" size="small" @click="handlePerssion(item)" style=" margin-right:10px" >基础功能</a-button>
<a-button type="dashed" size="small" @click="handleJcfy(item)" style=" margin-right:10px" >基础费用</a-button>
<!-- <a-button type="dashed" size="small" @click="handleKgxx(item)" style="margin-right:10px" v-if="item.areaFlag=='3'">库管信息</a-button>
<a-button type="dashed" size="small" @click="handleWlgl(item)" style=" margin-right:10px" v-if="item.areaFlag=='3'">物料管理</a-button> -->
</div>
@ -384,5 +385,4 @@ function handleChangeValidateStatus(record,checked) {
.card-3d:hover {
border: 1px solid #1890ff;
}
</style>

View File

@ -4,7 +4,25 @@
<template #detail>
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol"
name="NuBaseInfoForm">
<a-row>
<div class="container">
<!-- 头部信息 -->
<div class="header">
<span class="label">区域编码</span>
<span class="code">{{ formData.nuId }}</span>
</div>
<!-- 标题 -->
<h1 class="title">{{ formData.nuName }}</h1>
<div>
<QRCodeWithLogo
:text="formData.nuId"
:logoUrl="logoUrl"
:size="150"
:logoSize="40"
/>
</div>
</div>
<!-- <a-row>
<a-col :span="24">
<a-form-item label="区域编码" v-bind="validateInfos.nuId" id="NuBaseInfoForm-nuId" name="nuId">
<a-input v-model:value="formData.nuId" placeholder="编码自动生成" :disabled="true"
@ -26,7 +44,7 @@
/>
</a-form-item>
</a-col>
</a-row>
</a-row> -->
</a-form>
</template>
</JFormContainer>
@ -168,4 +186,48 @@ defineExpose({
.antd-modal-form {
padding: 0px;
}
.container {
font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', Arial, sans-serif;
background-color: #ffffff;
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
min-height: 70vh;
box-sizing: border-box;
border-radius: 14px;
}
.header {
width: 100%;
max-width: 600px;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 40px;
padding: 0 10px;
box-sizing: border-box;
}
.label {
font-size: 16px;
color: #333333;
font-weight: 500;
}
.code {
font-size: 16px;
color: #333333;
font-weight: 500;
}
.title {
font-size: 24px;
color: #333333;
margin: 30px 0 20px;
font-weight: bold;
text-align: center;
}
</style>

View File

@ -10,14 +10,30 @@
<a-input-number v-model:value="formData.jcfy" placeholder="请输入基础费用" max="99999" allow-clear style="width:100%"></a-input-number>
</a-form-item>
</a-col>
<a-col :span="24">
<a-form-item label="说明" >
<a-col :span="24" style="width:80%;">
<div class="billing-info-container" style="margin-left: 40px;">
<h3 class="title">说明:</h3>
<div class="content">
<div class="item">
<span class="text">计费周期:基础服务费按自然月核算每月统一按照30天标准计算执行月度固定收费标准</span>
</div>
<div class="item">
<span class="text">计费起算:自长者实际入住当日起正式开始计费</span>
</div>
<div class="item">
<span class="text">时长核算:计费最小单位为小时入住时长不足半小时免收当期时段费用;入住时长超过半小时且不足一小时统一按照1小时标准计费</span>
</div>
<div class="item">
<span class="text">基础费用仅对长者入住区域(护理单元)有效</span>
</div>
</div>
</div>
<!-- <a-form-item label="说明" >
<p>计费周期基础服务费按自然月核算每月统一按照 30 天标准计算执行月度固定收费标准</p>
<p>计费起算自长者实际入住当日起正式开始计费</p>
<p>时长核算计费最小单位为小时入住时长不足半小时免收当期时段费用入住时长超过半小时且不足一小时统一按照 1 小时标准计费</p>
<p>基础费用仅对长者入住区域护理单元有效</p>
</a-form-item>
</a-form-item> -->
</a-col>
</a-row>
</a-form>
@ -160,4 +176,63 @@ defineExpose({
.antd-modal-form {
padding: 0px;
}
.billing-info-container {
width: 80%;
max-width: 600px;
padding: 20px;
border: 2px dashed #b4d3ff;
border-radius: 8px;
background-color: #f8fbff;
font-family: "Microsoft YaHei", Arial, sans-serif;
}
.title {
font-size: 14px;
font-weight: bold;
color: #303030;
margin-bottom: 12px;
margin-top: 0;
}
.content {
display: flex;
flex-direction: column;
gap: 12px;
}
.item {
display: flex;
align-items: flex-start;
line-height: 1.6;
}
.number {
font-weight: bold;
color: #333333;
margin-right: 4px;
white-space: nowrap;
}
.text {
color: #666666;
font-size: 14px;
word-break: break-word;
}
/* 响应式设计 */
@media (max-width: 480px) {
.billing-info-container {
padding: 16px;
margin: 50px;
}
.title {
font-size: 16px;
}
.text {
font-size: 13px;
}
}
</style>