Commit 71a87e04 authored by youjie's avatar youjie

no message

parent 0faf7ee8
...@@ -276,12 +276,12 @@ ...@@ -276,12 +276,12 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" :gutter="35"> <el-col :span="8" :gutter="35">
<el-form-item label="合同附件:" prop="ContractUrl"> <el-form-item label="合同附件:" prop="ContractArray">
<div style="display: flex;flex-wrap: wrap;"> <div style="display: flex;flex-wrap: wrap;">
<div> <div>
<div class="_info_img" v-if="addMsg.ContractUrl&&addMsg.ContractUrl.length>0"> <div class="_info_img" v-if="addMsg.ContractArray&&addMsg.ContractArray.length>0">
<ul class="clearfix"> <ul class="clearfix">
<li v-for="(img,imgI) in addMsg.ContractUrl" <li v-for="(img,imgI) in addMsg.ContractArray"
style="margin-right: 5px;position: relative; style="margin-right: 5px;position: relative;
border:1px dashed #d1d1d1;border-radius: 6px;"> border:1px dashed #d1d1d1;border-radius: 6px;">
<img v-if="!img" src="../../assets/img/Travelslider.png" alt=""> <img v-if="!img" src="../../assets/img/Travelslider.png" alt="">
...@@ -646,7 +646,8 @@ ...@@ -646,7 +646,8 @@
ContractEndDateStr: "", ContractEndDateStr: "",
ContractStartDateInfo: [], ContractStartDateInfo: [],
FinanceNo: "", FinanceNo: "",
ContractUrl: [], ContractArray: [],
ContractUrl: "",
SettlementDate: "", SettlementDate: "",
SettlementInfo: "" SettlementInfo: ""
}, },
...@@ -760,6 +761,11 @@ ...@@ -760,6 +761,11 @@
required: true, required: true,
message: '请输入风险上限', message: '请输入风险上限',
trigger: "blur" trigger: "blur"
}],
ContractArray: [{
required: true,
message: '请上传合同',
trigger: "change"
}] }]
}, },
addCuren: true, addCuren: true,
...@@ -1264,6 +1270,8 @@ ...@@ -1264,6 +1270,8 @@
this.remoteMethod(data.InemName); this.remoteMethod(data.InemName);
this.remoteMethod2(data.OutemName); this.remoteMethod2(data.OutemName);
this.addMsg = data; this.addMsg = data;
this.LineId = this.addMsg.LineId.slice(',')
this.SettlementType = this.addMsg.SettlementType.slice(',')
Vue.set(this.addMsg, 'ContractStartDateInfo', []) Vue.set(this.addMsg, 'ContractStartDateInfo', [])
this.addMsg.ContractStartDateInfo.push(data.ContractStartDateStr) this.addMsg.ContractStartDateInfo.push(data.ContractStartDateStr)
...@@ -1355,12 +1363,12 @@ ...@@ -1355,12 +1363,12 @@
this.UploadSelfFileT(path, newArr, x => { this.UploadSelfFileT(path, newArr, x => {
let url = this.domainManager().ViittoFileUrl + x.data.FilePath let url = this.domainManager().ViittoFileUrl + x.data.FilePath
// this.ContractUrl = this.domainManager().ViittoFileUrl + x.data.FilePath // this.ContractUrl = this.domainManager().ViittoFileUrl + x.data.FilePath
this.addMsg.ContractUrl.push(url) this.addMsg.ContractArray.push(url)
that.$message.success('上传成功'); that.$message.success('上传成功');
}); });
}, },
deleteUploadFile(fIndex){ deleteUploadFile(fIndex){
this.addMsg.ContractUrl.splice(fIndex,1) this.addMsg.ContractArray.splice(fIndex,1)
}, },
getList() { getList() {
//获取列表 //获取列表
...@@ -1414,7 +1422,9 @@ ...@@ -1414,7 +1422,9 @@
// 保存 修改、新增 // 保存 修改、新增
this.addMsg.BranchList = []; this.addMsg.BranchList = [];
if (!this.addMsg.RiskLimitMoney) { if (!this.addMsg.RiskLimitMoney) {
this.addMsg.RiskLimitMoney = 0; // this.addMsg.RiskLimitMoney = 0;
this.$message.error('风险上线需大于0');
return
} }
let msg = { let msg = {
ID: 0, ID: 0,
......
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