fix: 股票信息自测问题修改。

This commit is contained in:
tianyongbao
2024-08-13 18:13:44 +08:00
parent abc31138c9
commit ffc42d6f5b
5 changed files with 12 additions and 27 deletions

View File

@@ -43,8 +43,8 @@
<u-icon slot="right" name="arrow-right"></u-icon>
</u-form-item>
<u-form-item label="手续费" prop="commission" >
<u--input v-model="form.commission" placeholder="请填写手续费"
<u-form-item label="佣金费率" prop="commission" >
<u--input v-model="form.commission" placeholder="请填写佣金费率"
inputAlign="right" border="none"></u--input>
</u-form-item>
<u-form-item label="备注" prop="remark" labelPosition="top">

View File

@@ -11,7 +11,7 @@
<u-cell title="名称:" titleStyle="font-weight:bolder" :value="detailInfo.name"></u-cell>
<u-cell title="账号:" titleStyle="font-weight:bolder" :value="detailInfo.code"></u-cell>
<u-cell title="账户状态:" titleStyle="font-weight:bolder" :value="detailInfo.status"></u-cell>
<u-cell title="手续费:" titleStyle="font-weight:bolder" center :value="detailInfo.commission"> </u-cell>
<u-cell title="佣金费率:" titleStyle="font-weight:bolder" center :value="detailInfo.commission"> </u-cell>
<u-cell title="关联储蓄卡:" titleStyle="font-weight:bolder" :value="detailInfo.bankNameCode"></u-cell>
<u-cell title="开户日期:" titleStyle="font-weight:bolder" :value="detailInfo.activationDate"></u-cell>
<u-cell title="备注:" titleStyle="font-weight:bolder" center :value="detailInfo.remark"> </u-cell>

View File

@@ -25,7 +25,7 @@
<text class="row-value">{{ item.bankNameCode }}</text>
</view>
<view class="item-row">
<text class="row-label">手续费</text>
<text class="row-label">佣金费率</text>
<text class="row-value">{{ item.commission }}</text>
</view>
<view class="item-row">

View File

@@ -3,7 +3,7 @@
<u-navbar
leftIconSize="40rpx"
leftIconColor="#333333"
title="信用卡分期账单还款明细"
title="信用卡分期还款明细"
>
</u-navbar>
<view class="section">
@@ -75,7 +75,7 @@ import {
import {reactive ,toRefs,ref,computed ,getCurrentInstance }from "vue";
const datePickShow = ref(false)
const showTeam = ref(false)
const title = ref("信用卡分期账单还款明细")
const title = ref("信用卡分期还款明细")
const postingStateList = ref([])
const data = reactive({
form: {},
@@ -94,9 +94,9 @@ onLoad((option) => {
form.value.installmentHistoryId = option.installmentHistoryId
form.value.name = option.name
if(form.value.id!=null){
title.value="信用卡分期账单还款明细-修改"
title.value="信用卡分期还款明细-修改"
}else{
title.value="信用卡分期账单还款明细-新增"
title.value="信用卡分期还款明细-新增"
}
getDict()
})
@@ -160,16 +160,7 @@ onLoad((option) => {
updateInstallmentDetail(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '修改成功', complete() {
uni.navigateTo({ url: `/pages/work/bill/creditInstallmentHistory/detailsAddEdit?id=${item.id}&installmentHistoryId=${form.value.installmentHistoryId}&name=${form.value.name}` })
}
})
})
}else {
addInstallmentDetail(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '新增成功', complete() {
uni.navigateTo({ url: `/pages/work/bill/creditInstallmentHistory/detailsAddEdit?id=${item.id}&installmentHistoryId=${form.value.installmentHistoryId}&name=${form.value.name}` })
uni.navigateTo({ url: `/pages/work/bill/creditInstallmentHistory/details?id=${form.value.installmentHistoryId}&name=${form.value.bankCardLendName}` })
}
})

View File

@@ -157,18 +157,12 @@ onLoad((option) => {
function submit() {
proxy.$refs['uForm'].validate().then(() => {
if (form.value.id != null) {
updateInstallmentDetail(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '修改成功', complete() {
uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/detailsAddEdit?id=${item.id}&installmentHistoryId=${form.value.installmentHistoryId}&name=${form.value.name}` })
}
})
})
}else {
addInstallmentDetail(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '新增成功', complete() {
uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/detailsAddEdit?id=${item.id}&installmentHistoryId=${queryParams.value.installmentHistoryId}&name=${queryParams.value.name}` })
uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/details?id=${form.value.installmentHistoryId}&name=${form.value.bankCardLendName}` })
}
})
})