Commit 71a87e04 authored by youjie's avatar youjie

no message

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