fix: 新功能增加,原有功能优化。

This commit is contained in:
tianyongbao
2024-06-15 15:52:47 +08:00
parent 2f1175183f
commit 7ce6161b01
33 changed files with 4630 additions and 86 deletions

View File

@@ -40,7 +40,7 @@
</view>
</view>
<u-toast ref="uToast"></u-toast>
<u-picker itemHeight="88" :show="showAccountName" :columns="accountNameList" keyName="nameCode" @cancel="handleAccountNameCancel"
<u-picker itemHeight="88" :show="showAccountName" :columns="accountNameList" keyName="nameCodeAvailableLimit" @cancel="handleAccountNameCancel"
@confirm="handleAccountNameConfirm"></u-picker>
<u-picker itemHeight="88" :show="showDealType" :columns="dealTypeList" keyName="dictLabel" @cancel="handleDealTypeCancel"
@confirm="handleDealTypeConfirm"></u-picker>
@@ -159,7 +159,7 @@ onLoad((option) => {
}
}
function handleAccountNameConfirm(e) {
form.value.accountName = e.value[0].nameCode
form.value.accountName = e.value[0].nameCodeAvailableLimit
form.value.accountId = e.value[0].id
showAccountName.value = false
}