|
|
@ -94,35 +94,37 @@ |
|
|
|
<el-form-item><el-input class="addinputInfo" style="width: 30%" v-model="formobj.parkFees" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<div class="title">挂车信息</div> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">车架号</div> |
|
|
|
<el-form-item><el-input class="addinputInfo" style="width: 50%" v-model="formobj.loanReturnInboundTrailer.vinNo" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">车牌号</div> |
|
|
|
<el-form-item><el-input class="addinputInfo" style="width: 50%" v-model="formobj.loanReturnInboundTrailer.vehMark" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">入库价(元)</div> |
|
|
|
<el-form-item><el-input class="addinputInfo" style="width: 50%" v-model="formobj.loanReturnInboundTrailer.inboundMoney" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">挂车类型</div> |
|
|
|
<el-form-item> |
|
|
|
<el-select class="addinputInfo" v-model="formobj.loanReturnInboundTrailer.trailerTypeKey" @change="trailerChange" placeholder="请选择" filterable> |
|
|
|
<el-option v-for="item in trailer_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="16"> |
|
|
|
<div class="span-sty">备注</div> |
|
|
|
<el-form-item><el-input class="addinputInfo" style="width: 50%" v-model="formobj.loanReturnInboundTrailer.remarks" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<div v-if="formobj.tralier === '是'"> |
|
|
|
<div class="title">挂车信息</div> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">车架号</div> |
|
|
|
<el-form-item><el-input class="addinputInfo" style="width: 50%" v-model="formobj.loanReturnInboundTrailer.vinNo" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">车牌号</div> |
|
|
|
<el-form-item><el-input class="addinputInfo" style="width: 50%" v-model="formobj.loanReturnInboundTrailer.vehMark" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">入库价(元)</div> |
|
|
|
<el-form-item><el-input class="addinputInfo" style="width: 50%" v-model="formobj.loanReturnInboundTrailer.inboundMoney" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">挂车类型</div> |
|
|
|
<el-form-item> |
|
|
|
<el-select class="addinputInfo" v-model="formobj.loanReturnInboundTrailer.trailerTypeKey" @change="trailerChange" placeholder="请选择" filterable> |
|
|
|
<el-option v-for="item in trailer_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="16"> |
|
|
|
<div class="span-sty">备注</div> |
|
|
|
<el-form-item><el-input class="addinputInfo" style="width: 50%" v-model="formobj.loanReturnInboundTrailer.remarks" clearable placeholder="" /></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</div> |
|
|
|
<div class="title">已还与欠款情况</div> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
@ -266,7 +268,7 @@ export default { |
|
|
|
if (resp.success) { |
|
|
|
this.formobj = resp.data |
|
|
|
// 主车入库价 = 逾期金额 + 未到期应收(金额) |
|
|
|
this.formobj.inboundMoney = parseFloat(this.formobj.currentBeMoney === '' ? 0 : this.formobj.currentBeMoney) + parseFloat(this.formobj.unexpiredMoney === '' ? 0 : this.unexpiredMoney.currentBeMoney) |
|
|
|
this.formobj.inboundMoney = parseFloat(this.formobj.currentBeMoney === '' ? 0 : this.formobj.currentBeMoney) + parseFloat(this.formobj.unexpiredMoney === '' ? 0 : this.formobj.unexpiredMoney) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|