|
|
|
@ -346,7 +346,7 @@ |
|
|
|
|
</div> |
|
|
|
|
<div class="df" style="margin-top:23px"> |
|
|
|
|
<span style="margin-right:20px">(2)资产</span> |
|
|
|
|
<el-input style="width:40%;min-width:250px;" v-model="repaymentForm.repaymentAssetsName" placeholder="请输入资产名称"></el-input> |
|
|
|
|
<el-input style="width:40%;min-width:250px;" @blur="assetChange($event,'资产')" v-model="repaymentForm.repaymentAssetsName" placeholder="请输入资产名称"></el-input> |
|
|
|
|
<el-input style="width:20%;min-width:250px;margin-left:20px" :disabled="!repaymentForm.repaymentAssetsName" oninput="value=value.replace(/[^\d.]/g,'')" v-model="repaymentForm.repaymentAssetsAmount" placeholder="请输入金额"> |
|
|
|
|
<i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(repaymentForm.repaymentAssetsAmount)}}</i> |
|
|
|
|
</el-input> |
|
|
|
@ -354,7 +354,7 @@ |
|
|
|
|
</div> |
|
|
|
|
<div class="df" style="margin-top:23px"> |
|
|
|
|
<span style="margin-right:20px">(3)其他</span> |
|
|
|
|
<el-input style="width:40%;min-width:250px;" v-model="repaymentForm.repaymentOtherName" placeholder="请输入其他方式"></el-input> |
|
|
|
|
<el-input style="width:40%;min-width:250px;" @blur="assetChange" v-model="repaymentForm.repaymentOtherName" placeholder="请输入其他方式"></el-input> |
|
|
|
|
<el-input style="width:20%;min-width:250px;margin-left:20px" :disabled="!repaymentForm.repaymentOtherName" oninput="value=value.replace(/[^\d.]/g,'')" v-model="repaymentForm.repaymentOtherAmount" placeholder="请输入金额"> |
|
|
|
|
<i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(repaymentForm.repaymentOtherAmount)}}</i> |
|
|
|
|
</el-input> |
|
|
|
@ -1882,6 +1882,16 @@ export default { |
|
|
|
|
|
|
|
|
|
return chineseValue; |
|
|
|
|
}, |
|
|
|
|
assetChange(val,str){ // 判断资产和其他 |
|
|
|
|
console.log(val,'值'); |
|
|
|
|
if(!val.target.value){ |
|
|
|
|
if(str=='资产'){ |
|
|
|
|
this.$set(this.repaymentForm, 'repaymentAssetsAmount', ''); |
|
|
|
|
}else{ |
|
|
|
|
this.$set(this.repaymentForm, 'repaymentOtherAmount', ''); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|