Commit 1d1a9b55 authored by youjie's avatar youjie

no message

parent 08435889
...@@ -468,7 +468,7 @@ ...@@ -468,7 +468,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" :gutter="35"> <el-col :span="4" :gutter="35">
<el-form-item label="所属线路" prop="LineId"> <el-form-item label="所属线路">
<el-select filterable multiple v-model="LineId" collapse-tags <el-select filterable multiple v-model="LineId" collapse-tags
@change="getLineId"> @change="getLineId">
<el-option :label="$t('pub.unlimitedSel')" value="-1" <el-option :label="$t('pub.unlimitedSel')" value="-1"
...@@ -627,12 +627,11 @@ ...@@ -627,12 +627,11 @@
BranchIdS: 0, BranchIdS: 0,
OutCharge: 0, OutCharge: 0,
InCharge: 0, InCharge: 0,
LineList: '-1',
RiskLowerLimitMoney: "", RiskLowerLimitMoney: "",
SettlementType: '1', SettlementType: '1',
Royalty: 0, Royalty: 0,
Bond: 0, Bond: 0,
SigningLine: '', SigningLine: '-1',
Remark: '', Remark: '',
BindBankID: null, BindBankID: null,
HaveContract: '0', HaveContract: '0',
...@@ -809,7 +808,7 @@ ...@@ -809,7 +808,7 @@
methods: { methods: {
getLineId(){ getLineId(){
let data = this.LineId.join(',') let data = this.LineId.join(',')
this.addMsg.LineList = data this.addMsg.SigningLine = data
if(this.LineId.length>1&&data.indexOf('-1')!=-1){ if(this.LineId.length>1&&data.indexOf('-1')!=-1){
this.LineId.forEach((x,index)=>{ this.LineId.forEach((x,index)=>{
if(x=='-1'){ if(x=='-1'){
...@@ -1270,7 +1269,8 @@ ...@@ -1270,7 +1269,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.LineList.slice(',') let SigningLine = this.addMsg.SigningLine.slice(',')
this.LineId = SigningLine.length==1&&SigningLine[0]=='0'?['-1']:SigningLine
this.SettlementType = this.addMsg.SettlementType.slice(',') this.SettlementType = this.addMsg.SettlementType.slice(',')
Vue.set(this.addMsg, 'ContractStartDateInfo', []) Vue.set(this.addMsg, 'ContractStartDateInfo', [])
......
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