|
|
@@ -105,14 +105,14 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col span="6">
|
|
|
- <el-form-item label="利率" prop="interestRate">
|
|
|
- <el-input type="age" v-model.trim="form.interestRate" size="small" autocomplete="off" placeholder="请输入年利率" v-input-limit="2">
|
|
|
+ <el-form-item label="年利率" prop="interestRate">
|
|
|
+ <el-input type="age" v-model="form.interestRate" size="small" autocomplete="off" placeholder="请输入年利率" v-input-limit="2">
|
|
|
<template slot="append">%</template>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col span="4">
|
|
|
- <el-form-item label="天数" prop="days">
|
|
|
+ <el-form-item label="配资天数" prop="days">
|
|
|
<el-input type="number" v-model.trim="form.days" size="small" autocomplete="off" placeholder="请输入天数" v-input-limit="2">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
@@ -125,14 +125,15 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col span="4">
|
|
|
- <el-form-item label="税率" prop="fundingRatio">
|
|
|
+ <el-form-item label="税率" prop="taxRate">
|
|
|
<el-input type="age" v-model.trim="form.taxRate" size="small" autocomplete="off" placeholder="请输入税率" v-input-limit="2">
|
|
|
+ <template slot="append">%</template>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col span="6">
|
|
|
- <el-form-item label="利息金额" prop="fundingRatio">
|
|
|
- <el-input type="age" v-model.trim="form.interestAmount" size="small" autocomplete="off" disabled placeholder="请输入多多配资比例" v-input-limit="2">
|
|
|
+ <el-form-item label="利息金额" prop="interestAmount">
|
|
|
+ <el-input type="age" v-model.trim="form.interestAmount" size="small" autocomplete="off" disabled v-input-limit="2">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -1325,6 +1326,10 @@ export default {
|
|
|
detail(id).then(async res => {
|
|
|
|
|
|
this.form = res.data.data;
|
|
|
+ this.$set(this.form, 'interestRate', res.data.data.interestRate ? res.data.data.interestRate : 9)
|
|
|
+ this.$set(this.form, 'days', res.data.data.days ? res.data.data.days : 90)
|
|
|
+ this.$set(this.form, 'fundingRatio', res.data.data.fundingRatio ? res.data.data.fundingRatio : 80)
|
|
|
+ this.$set(this.form, 'taxRate', res.data.data.taxRate ? res.data.data.taxRate : 13)
|
|
|
this.browse = this.form.status > 0 ? true : false;
|
|
|
this.arrearsCheck = this.form.specialCheckStatus == 3 ? true : false;
|
|
|
await getProfit({ Id: this.form.corpId }).then(res => {
|