Commit 7e3a28fb authored by caimeng's avatar caimeng

修改备注信息字数

parent 746411f5
<template>
<div style="width: 600px">
<block-header title="创建百灵美选结清减免单" />
<el-form
size="small"
label-suffix=":"
:model="ruleForm"
:rules="rules"
ref="ruleForm"
label-width="120px"
class="demo-ruleForm"
>
<el-form size="small" label-suffix=":" :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px"
class="demo-ruleForm">
<el-form-item label="借款编号" prop="loanNo">
<el-col :span="20">
<el-input
v-model="ruleForm.loanNo"
placeholder="请正确填写借款编号"
></el-input>
<el-input v-model="ruleForm.loanNo" placeholder="请正确填写借款编号"></el-input>
</el-col>
<el-button type="primary" @click="settlement">结清试算</el-button>
</el-form-item>
......@@ -53,12 +43,7 @@
</el-form-item>
<el-form-item label="减免金额" prop="derateAmt">
<el-col :span="20">
<el-input
type="number"
v-model="ruleForm.derateAmt"
placeholder="请输入减免金额"
@blur="submitAmt"
></el-input>
<el-input type="number" v-model="ruleForm.derateAmt" placeholder="请输入减免金额" @blur="submitAmt"></el-input>
</el-col>
</el-form-item>
<el-form-item v-if="settleData.principleAmt">
......@@ -87,16 +72,12 @@
</el-form-item>
<el-form-item label="描述信息" prop="applyDesc">
<el-col :span="20">
<el-input
v-model="ruleForm.applyDesc"
placeholder="请输入减免描述信息"
></el-input>
<el-input type="textarea" :row="8" maxlength="500" show-word-limit v-model="ruleForm.applyDesc"
placeholder="请输入减免描述信息"></el-input>
</el-col>
</el-form-item>
<el-form-item>
<el-button size="small" type="primary" @click="createDerate('ruleForm')"
>确 定</el-button
>
<el-button size="small" type="primary" @click="createDerate('ruleForm')">确 定</el-button>
</el-form-item>
</el-form>
</div>
......@@ -179,7 +160,7 @@ export default {
},
/** 提交点击 */
createDerate() {
const {derateBen,derateBreak,derateBurden,derateFu,derateXi}=this.derateData
const { derateBen, derateBreak, derateBurden, derateFu, derateXi } = this.derateData
this.$refs["ruleForm"].validate((valid) => {
if (!valid) {
return false;
......@@ -197,7 +178,7 @@ export default {
applyUser: this.loginName,
derateBen,
derateBreak,
derateBurden,derateFu,derateXi
derateBurden, derateFu, derateXi
})
.then((res) => {
if (res.data.code != 200) {
......@@ -231,16 +212,20 @@ export default {
border: 1px solid #eee;
/* padding: 20px; */
}
.tableBox .boxItem {
border-bottom: 1px solid #eee;
display: flex;
}
.tableBox .boxItem:last-child {
border: none;
}
.tableBox .boxItem p {
padding: 5px 10px;
}
.tableBox .Itemleft {
border-right: 1px solid #eee;
width: 45%;
......
......@@ -22,6 +22,8 @@
</el-form-item>
<el-form-item label="备注信息:" prop="memo">
<el-input
style="width: 400px;"
type="textarea" :row="2" maxlength="500" show-word-limit
placeholder="请输入备注信息"
v-model="loanInfo.memo"
></el-input>
......
......@@ -19,7 +19,7 @@
</el-form-item>
<el-form-item label="描述信息" prop="applyDesc">
<el-col :span="20">
<el-input v-model="ruleForm.applyDesc" placeholder="请输入减免描述信息"></el-input>
<el-input v-model="ruleForm.applyDesc" type="textarea" :row="8" maxlength="500" show-word-limit placeholder="请输入减免描述信息"></el-input>
</el-col>
</el-form-item>
<el-form-item>
......
......@@ -37,7 +37,7 @@
</el-table-column>
<el-table-column align="center" prop="settlePlanIndex" label="限制提前结清期数"></el-table-column>
<el-table-column align="center" prop="cancelMemo" label="备注"></el-table-column>
<el-table-column align="center" prop="followUpTeam" label="委案商"></el-table-column>
<el-table-column align="center" prop="followUpTeam" label="委案商/跟进团队"></el-table-column>
<el-table-column align="center" label="查看详情">
<template slot-scope="scope">
<el-button type="text" size="small" @click="handleClick(scope.row)">详情</el-button>
......
......@@ -25,7 +25,7 @@
<el-table-column align="center" prop="realName" label="客户姓名"></el-table-column>
<el-table-column align="center" prop="mobile" label="手机号"></el-table-column>
<el-table-column align="center" prop="idCard" label="证件号"></el-table-column>
<el-table-column align="center" prop="caseName" label="委案商"></el-table-column>
<el-table-column align="center" prop="followUpTeam" label="委案商/跟进团队"></el-table-column>
</el-table>
</div>
......@@ -63,33 +63,9 @@ export default {
const form = Object.assign({}, params)
const res = await this.$$post('/outsourcing/collectionSearch', { ...form })
if (res.status === 200 && res.data.success) {
const records = res.data.result.records;
const records = res.data.result;
console.log(records, '记录')
try {
if (records && records.length) {
console.log('===')
const data = []
records.forEach(item => {
if (item.loanCase && item.loanCase.length) {
const obj = {}
obj.loanName = item.loanCase[0]['loanName'];
obj.loanNo = item.loanCase[0]['loanNo'];
obj.realName = item.client.realName;
obj.mobile = item.client.mobile;
obj.idCard = item.client.idCard;
obj.caseName = `${item.userDetailNewVO.customerName}- ${item.userDetailNewVO.orgName}`
data.push(obj)
}
})
console.log(data, '==')
this.data = data;
}
} catch (err) {
console.log(err, 'oo')
}
this.data = records;
} else {
this.$message.error(res.data.message);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment