Commit 7e3a28fb authored by caimeng's avatar caimeng

修改备注信息字数

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