添加 账户简称

This commit is contained in:
浅念
2025-09-17 15:54:35 +08:00
parent 65f7f4a123
commit fa764852ab
5 changed files with 24 additions and 17 deletions
+3 -4
View File
@@ -653,15 +653,14 @@
@change="
(val) =>
(payment.account_id =
(accountOptions || []).find((x: any) => x.account_number === val)?.id ||
'')
(accountOptions || []).find((x: any) => x.short_desc === val)?.id || '')
"
>
<ElOption
v-for="item in accountOptions"
:key="item.id"
:label="item.account_number"
:value="item.account_number"
:label="item.short_desc"
:value="item.id"
/>
</ElSelect>
<ElInput v-model="payment.account_id" type="hidden" />