| | |
| | | <template> |
| | | <view class="account-detail"> |
| | | <!-- 使用通用页面头部组件 --> |
| | | <PageHeader title="新增回款" @back="onClickLeft" /> |
| | | <PageHeader title="编辑回款" @back="onClickLeft" /> |
| | | |
| | | <!-- 表单内容 --> |
| | | <van-form @submit="onSubmit" ref="formRef" label-width="110px" input-align="right" error-message-align="right" scroll-to-error scroll-to-error-position="center"> |
| | |
| | | const row = JSON.parse(rowStr) |
| | | form.value = { ...row} |
| | | form.value.receiptPaymentTypeName = formatReceiptType(row.receiptPaymentType); |
| | | form.value.id = ""; |
| | | currentNoReceiptAmount.value = row.noReceiptAmount |
| | | } |
| | | const formatReceiptType = (type) => { |