Commit 6e6ec6dd authored by youjie's avatar youjie

修复

parent f375415f
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
{{$t('objFill.keyongfh')}} {{$t('objFill.keyongfh')}}
<span> <span>
<i v-for="item in orderHouseList" v-show="showHouse"> <i v-for="item in orderHouseList" v-show="showHouse">
{{item.houseNo}}{{$t('objFill.v101.Rest.hao')}}{{item.houseType|houseTypeFormat(item.houseType)}} {{item.houseNo}}{{$t('objFill.v101.Rest.hao')}}{{houseTypeFormat(item.houseType)}}
</i> </i>
</span> </span>
</div> </div>
...@@ -307,6 +307,7 @@ export default { ...@@ -307,6 +307,7 @@ export default {
let _index=this.list.findIndex(item=>item.id==this.moveObj.id) //及时跟新列表分房号,和修改拖动状态 let _index=this.list.findIndex(item=>item.id==this.moveObj.id) //及时跟新列表分房号,和修改拖动状态
let _index1=this.orderHouseList.findIndex(item=>item.houseNo==obj.houseNo) // 拖入房间在数组中的索引,添加房间成员 let _index1=this.orderHouseList.findIndex(item=>item.houseNo==obj.houseNo) // 拖入房间在数组中的索引,添加房间成员
if(_index1!=-1){ if(_index1!=-1){
if(obj.houseType==1) if(obj.houseType==1)
{ {
if(this.moveObj.isBed==1){ if(this.moveObj.isBed==1){
...@@ -331,6 +332,7 @@ export default { ...@@ -331,6 +332,7 @@ export default {
} }
if(obj.houseType==2||obj.houseType==3){ if(obj.houseType==2||obj.houseType==3){
let isBedNum=0 let isBedNum=0
let notBedNum=0 let notBedNum=0
this.orderHouseList[_index1].orderGuestHouse.forEach(item=>{ this.orderHouseList[_index1].orderGuestHouse.forEach(item=>{
...@@ -395,7 +397,7 @@ export default { ...@@ -395,7 +397,7 @@ export default {
} }
if(obj.houseType==5) if(obj.houseType==5)
{ {console.log('--------4')
let isBedNum=0 let isBedNum=0
let notBedNum=0 let notBedNum=0
let otherIsBedNum=0 let otherIsBedNum=0
...@@ -575,8 +577,10 @@ export default { ...@@ -575,8 +577,10 @@ export default {
}, },
mounted(){ mounted(){
console.log(this.$route.query)
this.getList() this.getList()
this.TNumber=this.$route.query.tcmun if(this.$route.query.tcnum) this.TNumber= this.$route.query.tcnum
if(this.$route.query.tcmun)this.TNumber= this.$route.query.tcmun
} }
} }
</script> </script>
......
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