| | |
| | | <template> |
| | | <view class="account-detail"> |
| | | <!-- 顶部标题栏 --> |
| | | <van-nav-bar |
| | | title="台账详情" |
| | | left-text="返回" |
| | | left-arrow |
| | | @click-left="goBack" |
| | | fixed |
| | | placeholder |
| | | /> |
| | | <!-- 使用通用页面头部组件 --> |
| | | <PageHeader title="台账详情" @back="goBack" /> |
| | | |
| | | <!-- 表单区域 --> |
| | | <van-form @submit="onSubmit" label-width="110px" input-align="right" style="margin-top: 10px" error-message-align="right" scroll-to-error scroll-to-error-position="center"> |
| | |
| | | }; |
| | | const setUserInfo = () => { |
| | | form.value.entryPerson = userStore.id; |
| | | form.value.entryPersonName = userStore.name; |
| | | form.value.entryPersonName = userStore.nickName; |
| | | // 设置当天日期 |
| | | const today = new Date() |
| | | const year = today.getFullYear() |
| | |
| | | font-weight: 600; |
| | | color: #333; |
| | | } |
| | | .add-btn { |
| | | border-radius: 0.25rem; |
| | | } |
| | | .product-card { |
| | | background: #FFFFFF; |
| | | box-shadow: 0 0 1.25rem 0 rgba(0,57,117,0.08); |
| | |
| | | } |
| | | .product-form { |
| | | margin-bottom: 1rem; |
| | | } |
| | | .del-btn { |
| | | border-radius: 0.25rem; |
| | | } |
| | | .footer-btns { |
| | | position: fixed; |