Commit a9abe45a authored by youjie's avatar youjie

no message

parent 332d2d43
......@@ -1448,6 +1448,16 @@
e.target.value = (e.target.value.match(/^\d*(\.?\d{0,1})/g)[0]) || null
},
AddFinancial(z) { //保存
if(this.describeList&&this.describeList.length>0){
let num = 0
this.msg.detailList.forEach(x=>{
num+=Number(x.Number)
})
if(this.describeList.length!=num){
this.Error('费用总数量与旅客名单人数不符!')
return
}
}
for(let i=0;i<this.msg.detailList.length;i++){
if(!this.msg.detailList[i].CurrencyId){
this.Error('请完善费用的相关信息')
......
......@@ -354,7 +354,6 @@
Id: row.Id
}, res => {
if (res.data.resultCode == 1) {
console.log(res.data.data,'-----------')
this.form = res.data.data
this.form.LineId = res.data.data.LineInfo.split(',').map(x=>{ return Number(x) })
} else {
......
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