Commit ba0e0a4c authored by 华国豪's avatar 华国豪 🙄
parents 003d5c58 dba87fa2
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
{{lItem.UseTimeStr}} {{lItem.UseTimeStr}}
</td> </td>
<td style="width:280px;"> <td style="width:280px;">
<el-checkbox :checked="subItem.IsChecked" @change="MoreUpdate(subItem)">{{subItem.NewHotelName}}</el-checkbox> <el-checkbox v-model="subItem.IsChecked" @change="MoreUpdate(subItem)">{{subItem.NewHotelName}}</el-checkbox>
</td> </td>
</tr> </tr>
</template> </template>
...@@ -605,7 +605,6 @@ ...@@ -605,7 +605,6 @@
methods: { methods: {
MoreUpdate(subItem) MoreUpdate(subItem)
{ {
subItem.IsChecked=!subItem.IsChecked;
this.IsMoreUpdate=1; this.IsMoreUpdate=1;
}, },
//付款方式切换 //付款方式切换
...@@ -764,6 +763,7 @@ ...@@ -764,6 +763,7 @@
subItem.ContractUrl=fileUrl; subItem.ContractUrl=fileUrl;
} }
subItem.IsChecked=false; subItem.IsChecked=false;
this.$forceUpdate();
}); });
}); });
this.isShowPiliangPop=false; this.isShowPiliangPop=false;
...@@ -772,6 +772,11 @@ ...@@ -772,6 +772,11 @@
{ {
this.list[this.checkedIndex].HotelOrderList[this.checkedsubIndex].ContractUrl = fileUrl; this.list[this.checkedIndex].HotelOrderList[this.checkedsubIndex].ContractUrl = fileUrl;
} }
// this.list.forEach((sItem,sIndex)=>{
// sItem.HotelOrderList.forEach((subItem,subIndex)=>{
// subItem.IsChecked=false;
// });
// });
this.IsMoreUpdate=0; this.IsMoreUpdate=0;
this.$forceUpdate() this.$forceUpdate()
}) })
......
...@@ -1414,7 +1414,7 @@ ...@@ -1414,7 +1414,7 @@
<li> <li>
<span> <span>
<em>{{$t('hotel.hotel_SerialNumber')}}</em> <em>{{$t('hotel.hotel_SerialNumber')}}</em>
<el-input v-model="msg.ID" :placeholder="$t('fnc.jpbianhao')"></el-input> <el-input v-model="msg.ID" :placeholder="$t('fnc.jpbianhao')" @keyup.native="checkInteger(msg,'ID')" maxlength="8" ></el-input>
</span> </span>
</li> </li>
<li> <li>
...@@ -2251,11 +2251,18 @@ ...@@ -2251,11 +2251,18 @@
}, },
getList() { getList() {
this.loading = true; this.loading = true;
if(this.msg.ID=="")
{
this.msg.ID=0;
}
this.apipost( this.apipost(
"AirTicket_get_GetERPAirTicketPageList", "AirTicket_get_GetERPAirTicketPageList",
this.msg, this.msg,
res => { res => {
this.loading = false; this.loading = false;
if(this.msg.ID==0) {
this.msg.ID="";
}
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.total = res.data.data.count; this.total = res.data.data.count;
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
......
...@@ -57,11 +57,11 @@ ...@@ -57,11 +57,11 @@
<!--EnterTime 进店时间--> <!--EnterTime 进店时间-->
</td> </td>
<td class="more_td"> <td class="more_td">
<el-input type="number" v-model="subItem.EnterNum" maxlength="3"></el-input> <el-input type="number" v-model="subItem.EnterNum" maxlength="3" @keyup.native="checkInteger(subItem,'EnterNum')" ></el-input>
<!--EnterNum 进店人数--> <!--EnterNum 进店人数-->
</td> </td>
<td class="more_td _height_45"> <td class="more_td _height_45">
<el-input type="number" v-model="subItem.TotalMoney"></el-input> <el-input type="number" v-model="subItem.TotalMoney" @keyup.native="checkPrice(subItem,'TotalMoney')"></el-input>
<!--TotalMoney 总金额【公司】--> <!--TotalMoney 总金额【公司】-->
</td> </td>
<td class="more_td" v-if="subIndex==0" :rowspan="item.ShopDetailsList.length"> <td class="more_td" v-if="subIndex==0" :rowspan="item.ShopDetailsList.length">
......
...@@ -79,19 +79,19 @@ ...@@ -79,19 +79,19 @@
<li> <li>
<input <input
type="button" type="button"
@click="goContract('onedayTripContract')" @click="goContract('onedayTripContract',0,'一日游合同')"
class="normalBtn" class="normalBtn"
value="一日游合同" value="一日游合同"
/> />
<input <input
type="button" type="button"
@click="goContract('DomesticTravelcontract')" @click="goContract('DomesticTravelcontract',0,'境内旅游合同')"
class="normalBtn" class="normalBtn"
value="境内旅游合同" value="境内旅游合同"
/> />
<input <input
type="button" type="button"
@click="goContract('SingleContract')" @click="goContract('SingleContract',0,'单项委托合同')"
class="normalBtn" class="normalBtn"
value="单项委托合同" value="单项委托合同"
/> />
...@@ -108,6 +108,7 @@ ...@@ -108,6 +108,7 @@
<tr> <tr>
<th width="80">编号</th> <th width="80">编号</th>
<th width="120">合同编号</th> <th width="120">合同编号</th>
<th width="120">合同类型</th>
<th width="150">客户名称</th> <th width="150">客户名称</th>
<th width="150">客户联系电话</th> <th width="150">客户联系电话</th>
<th width="150">客户地址</th> <th width="150">客户地址</th>
...@@ -119,6 +120,14 @@ ...@@ -119,6 +120,14 @@
<tr v-for="(item, index) in dataList" :key="index"> <tr v-for="(item, index) in dataList" :key="index">
<td>{{ item.ID }}</td> <td>{{ item.ID }}</td>
<td>{{ item.T_ContractNum }}</td> <td>{{ item.T_ContractNum }}</td>
<td>
<template v-if="item.CType == 2">
境内旅游合同
</template>
<template v-else-if="item.CType == 3">
一日游合同
</template>
</td>
<td>{{ item.Tourists_Name }}</td> <td>{{ item.Tourists_Name }}</td>
<td>{{ item.Tourists_Tel }}</td> <td>{{ item.Tourists_Tel }}</td>
<td>{{ item.Tourists_Addres }}</td> <td>{{ item.Tourists_Addres }}</td>
...@@ -132,12 +141,22 @@ ...@@ -132,12 +141,22 @@
content="修改" content="修改"
placement="top-start" placement="top-start"
> >
<el-button <template v-if="item.CType == 3">
type="primary" <el-button
icon="el-icon-edit" type="primary"
circle icon="el-icon-edit"
@click="goContract('onedayTripContract', item.ID)" circle
></el-button> @click="goContract('onedayTripContract', item.ID,'一日游合同')"
></el-button>
</template>
<template v-else-if="item.CType == 2">
<el-button
type="primary"
icon="el-icon-edit"
circle
@click="goContract('DomesticTravelcontract', item.ID,'境内旅游合同')"
></el-button>
</template>
</el-tooltip> </el-tooltip>
<el-tooltip <el-tooltip
class="item" class="item"
...@@ -257,7 +276,7 @@ export default { ...@@ -257,7 +276,7 @@ export default {
this.msg.pageIndex = val; this.msg.pageIndex = val;
this.getList(); this.getList();
}, },
goContract(path, Id) { goContract(path, Id,title) {
var nId = 0; var nId = 0;
if (Id && Id > 0) { if (Id && Id > 0) {
nId = Id; nId = Id;
...@@ -267,7 +286,7 @@ export default { ...@@ -267,7 +286,7 @@ export default {
query: { query: {
id: nId, id: nId,
blank: "y", blank: "y",
tab: "一日游合同" tab: title
} }
}); });
} }
......
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
<div v-if="isXuan === true"> <div v-if="isXuan === true">
<i :class="'iconfont ' + icon.xuan" @click="toXuan"></i> <i :class="'iconfont ' + icon.xuan" @click="toXuan"></i>
</div> </div>
<div v-if="isAdd === true" style="display:none;">
<i :class="'' + icon.add" @click="toAdd"></i>
</div>
<div v-if="isDelete === true"> <div v-if="isDelete === true">
<i :class="'iconfont ' + icon.delete" @click="toDelete"></i> <i :class="'iconfont ' + icon.delete" @click="toDelete"></i>
</div> </div>
...@@ -75,6 +78,11 @@ ...@@ -75,6 +78,11 @@
type: Boolean, type: Boolean,
default: true default: true
}, },
//是否显示添加
isAdd: {
type: Boolean,
default: true
},
// 是否显示删除 // 是否显示删除
isDelete: { isDelete: {
type: Boolean, type: Boolean,
...@@ -100,7 +108,8 @@ ...@@ -100,7 +108,8 @@
rightZ: 'icon-right', rightZ: 'icon-right',
bottomY: 'icon-arrowdown', bottomY: 'icon-arrowdown',
bottomZ: 'icon-zhidi', bottomZ: 'icon-zhidi',
reset: 'icon-zhongzhi' reset: 'icon-zhongzhi',
add: 'el-icon-plus'
} }
} }
}, },
...@@ -158,6 +167,11 @@ ...@@ -158,6 +167,11 @@
}, },
toReset: function () { toReset: function () {
this.$emit('toReset', this.name, this.index1, this.index2) this.$emit('toReset', this.name, this.index1, this.index2)
},
//添加
toAdd:function()
{
this.$emit('toAdd', this.name, this.index1, this.index2)
} }
} }
} }
......
...@@ -1628,7 +1628,6 @@ export default { ...@@ -1628,7 +1628,6 @@ export default {
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var tempObj = res.data.data; var tempObj = res.data.data;
console.log(tempObj,'tempobj');
this.CtObj.ID = tempObj.ID; this.CtObj.ID = tempObj.ID;
this.CtObj.CType = tempObj.CType; this.CtObj.CType = tempObj.CType;
this.CtObj.T_ContractNum = tempObj.T_ContractNum; this.CtObj.T_ContractNum = tempObj.T_ContractNum;
...@@ -1766,7 +1765,6 @@ export default { ...@@ -1766,7 +1765,6 @@ export default {
gItem.IsShow = 0; gItem.IsShow = 0;
}); });
} }
console.log(this.CtObj.ContractGuestList,'this.CtObj.ContractGuestList');
if ( if (
tempObj.ContractTripList && tempObj.ContractTripList &&
tempObj.ContractTripList != null && tempObj.ContractTripList != null &&
......
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