| | |
| | | <template> |
| | | <view class="account-detail"> |
| | | <!-- 顶部标题栏 --> |
| | | <view class="header"> |
| | | <up-icon name="arrow-left" size="20" color="#333" @click="goBack" /> |
| | | <text class="title">台账详情</text> |
| | | </view> |
| | | <van-nav-bar |
| | | title="台账详情" |
| | | left-text="返回" |
| | | left-arrow |
| | | @click-left="goBack" |
| | | fixed |
| | | placeholder |
| | | /> |
| | | |
| | | <!-- 表单区域 --> |
| | | <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() |