Commit 9ecdf986 authored by youjie's avatar youjie
parents 30d585a5 3cc9734f
...@@ -398,8 +398,7 @@ ...@@ -398,8 +398,7 @@
<el-table-column v-if="msg.IsAirTicketSelect=='1'" <el-table-column v-if="msg.IsAirTicketSelect=='1'"
prop="" prop=""
:label="$t('objFill.caiwubz')" :label="$t('objFill.caiwubz')"
show-overflow-tooltip width="160">
width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<div>{{scope.row.Remark}}</div> <div>{{scope.row.Remark}}</div>
<template v-if="scope.row.vorcherInos"> <template v-if="scope.row.vorcherInos">
......
...@@ -380,6 +380,8 @@ export default { ...@@ -380,6 +380,8 @@ export default {
this.dateTime = [sDate,eDate] this.dateTime = [sDate,eDate]
this.msg.startDate = sDate this.msg.startDate = sDate
this.msg.endDate = eDate this.msg.endDate = eDate
this.msg.LineId =14;
}else{ }else{
let eDate = moment().subtract(1, 'months').format('YYYY-MM'); let eDate = moment().subtract(1, 'months').format('YYYY-MM');
if(this.msg.startDate == this.msg.endDate && this.msg.startDate== eDate){ if(this.msg.startDate == this.msg.endDate && this.msg.startDate== eDate){
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
.ContractManage .Ec_cha:hover { .ContractManage .Ec_cha:hover {
color: red; color: red;
} }
</style> </style>
<template> <template>
...@@ -51,7 +50,8 @@ ...@@ -51,7 +50,8 @@
<ul> <ul>
<li> <li>
<span><em>{{$t('objFill.hetongbh')}}</em> <span><em>{{$t('objFill.hetongbh')}}</em>
<el-input class="w210" v-model="msg.T_ContractNum" :placeholder="$t('objFill.qingshurhtbh')" @keyup.enter.native="getList"> <el-input class="w210" v-model="msg.T_ContractNum" :placeholder="$t('objFill.qingshurhtbh')"
@keyup.enter.native="getList">
</el-input> </el-input>
</span> </span>
</li> </li>
...@@ -67,25 +67,29 @@ ...@@ -67,25 +67,29 @@
</li> </li>
<li> <li>
<span><em>{{$t('objFill.jiafangmc')}}</em> <span><em>{{$t('objFill.jiafangmc')}}</em>
<el-input class="w210" v-model="msg.Tourists_Name" :placeholder="$t('rule.EnterCusNameC')" @keyup.enter.native="getList"> <el-input class="w210" v-model="msg.Tourists_Name" :placeholder="$t('rule.EnterCusNameC')"
@keyup.enter.native="getList">
</el-input> </el-input>
</span> </span>
</li> </li>
<li> <li>
<span><em>{{$t('objFill.kehudianh')}}</em> <span><em>{{$t('objFill.kehudianh')}}</em>
<el-input class="w210" v-model="msg.Tourists_Tel" :placeholder="$t('objFill.qingsrkhdh')" @keyup.enter.native="getList"> <el-input class="w210" v-model="msg.Tourists_Tel" :placeholder="$t('objFill.qingsrkhdh')"
@keyup.enter.native="getList">
</el-input> </el-input>
</span> </span>
</li> </li>
<li> <li>
<span><em>{{$t('visa.v_tuanhao')}}</em> <span><em>{{$t('visa.v_tuanhao')}}</em>
<el-input class="w210" v-model="msg.C_TCNUM" :placeholder="$t('visa.v_shurutuanhao')" @keyup.enter.native="getList"> <el-input class="w210" v-model="msg.C_TCNUM" :placeholder="$t('visa.v_shurutuanhao')"
@keyup.enter.native="getList">
</el-input> </el-input>
</span> </span>
</li> </li>
<li> <li>
<span><em>{{$t('system.query_lineName')}}</em> <span><em>{{$t('system.query_lineName')}}</em>
<el-input class="w210" v-model="msg.C_ProductName" :placeholder="$t('system.ph_lineName')" @keyup.enter.native="getList"> <el-input class="w210" v-model="msg.C_ProductName" :placeholder="$t('system.ph_lineName')"
@keyup.enter.native="getList">
</el-input> </el-input>
</span> </span>
</li> </li>
...@@ -110,15 +114,15 @@ ...@@ -110,15 +114,15 @@
</li> </li>
<li> <li>
<span><em>{{$t('scen.sc_temID')}}</em> <span><em>{{$t('scen.sc_temID')}}</em>
<el-input class="w210" v-model="msg.TCID" :placeholder="$t('objFill.qingsrtdbh')" @keyup.enter.native="getList" clearable <el-input class="w210" v-model="msg.TCID" :placeholder="$t('objFill.qingsrtdbh')"
@clear="getList"> @keyup.enter.native="getList" clearable @clear="getList">
</el-input> </el-input>
</span> </span>
</li> </li>
<li> <li>
<span><em>{{$t('hotel.order_Number')}}</em> <span><em>{{$t('hotel.order_Number')}}</em>
<el-input class="w210" v-model="msg.OrderId" :placeholder="$t('rule.qsrdingdanhao')" @keyup.enter.native="getList" clearable <el-input class="w210" v-model="msg.OrderId" :placeholder="$t('rule.qsrdingdanhao')"
@clear="getList"> @keyup.enter.native="getList" clearable @clear="getList">
</el-input> </el-input>
</span> </span>
</li> </li>
...@@ -180,7 +184,8 @@ ...@@ -180,7 +184,8 @@
</td> </td>
<td>{{ item.T_ContractNum }}</td> <td>{{ item.T_ContractNum }}</td>
<td style="text-align:left"> <td style="text-align:left">
<span v-if="item.Tourists_Sign&&item.Tourists_Sign!=''" style="color:green;">【{{$t('objFill.yiqianzi')}}】</span> <span v-if="item.Tourists_Sign&&item.Tourists_Sign!=''"
style="color:green;">【{{$t('objFill.yiqianzi')}}】</span>
<span v-else style="color:red;">【{{$t('objFill.weiqianzi')}}】</span> <span v-else style="color:red;">【{{$t('objFill.weiqianzi')}}】</span>
{{ item.Tourists_Name }} {{ item.Tourists_Name }}
</td> </td>
...@@ -319,25 +324,21 @@ ...@@ -319,25 +324,21 @@
//提交并盖章 //提交并盖章
SubmitContract(item) { SubmitContract(item) {
var that = this; var that = this;
this.Confirm(that.$t('objFill.shifoutjbgzcht'), function () { var tipMsg = that.$t('objFill.shifoutjbgzcht');
console.log(res,'----444') var postMsg = {
this.apipost( ID: item.ID,
"travelcontract_post_UpdateTravelContractStatusService", { Status: 1
ID: item.ID, }
Status: 1 this.Confirm(tipMsg, function () {
}, that.apipost("travelcontract_post_UpdateTravelContractStatusService", postMsg,
res => { res => {
console.log(res,'----111') if (res.data.resultCode == 1) {
if (res.data.resultCode == 1) {
that.Success(res.data.message); that.Success(res.data.message);
that.getList(); that.getList();
} else { } else {
console.log('----22')
that.Error(res.data.message); that.Error(res.data.message);
} }
}, }, null);
err => { console.log(res,'----333')}
);
}); });
}, },
//复制合同 //复制合同
...@@ -525,5 +526,4 @@ ...@@ -525,5 +526,4 @@
} }
} }
}; };
</script>
</script> \ No newline at end of file
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