Commit 51b1213f authored by 黄奎's avatar 黄奎

合同查询修改

parent acb2339c
...@@ -101,30 +101,27 @@ ...@@ -101,30 +101,27 @@
<div class="commonContent" v-loading="loadingOut"> <div class="commonContent" v-loading="loadingOut">
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<th>{{$t('objFill.hetongbh')}}</th> <th width="215">{{$t('objFill.hetongbh')}}</th>
<th>{{$t('hotel.order_Number')}}</th> <th width="80">{{$t('hotel.order_Number')}}</th>
<th>{{$t('visa.v_tuanhao')}}</th> <th width="80">{{$t('visa.v_tuanhao')}}</th>
<th>{{$t('hotel.product_name')}}</th> <th>{{$t('hotel.product_name')}}</th>
<th>{{$t('hotel.hotel_StarDate')}}</th> <th width="100">{{$t('hotel.hotel_StarDate')}}</th>
<th>{{$t('sm.fanhuiDate')}}</th> <th width="100">{{$t('sm.fanhuiDate')}}</th>
<th>{{$t('hotel.hotel_status')}}</th> <th width="80">{{$t('hotel.hotel_status')}}</th>
<th>{{$t('objFill.shifougz')}}</th> <th width="80">{{$t('objFill.shifougz')}}</th>
<th width="125">{{$t('active.cl_addPp')}}</th>
<th width="200">{{$t('hotel.table_operat')}}</th> <th width="200">{{$t('hotel.table_operat')}}</th>
</tr> </tr>
<tr v-for="item in dataListOut"> <tr v-for="item in dataListOut">
<td>{{item.ContractNum}}</td> <td>{{item.ContractNum}}</td>
<td>{{item.OrderId}}</td> <td>{{item.OrderId}}</td>
<td>{{item.TCID}}</td> <td>{{item.TCID}}</td>
<td>{{item.ProductName}}</td> <td style="text-align:left;">{{item.ProductName}}</td>
<td> <td>
<template v-if="item.StartDate!=null"> {{item.StartDate}}
{{getDate(item.StartDate)}}
</template>
</td> </td>
<td> <td>
<template v-if="item.ReturnDate!=null"> {{item.ReturnDate}}
{{getDate(item.ReturnDate)}}
</template>
</td> </td>
<td> <td>
<span v-if="item.AuditContract==3" style="color:red;">{{$t('objFill.yibohui')}}</span> <span v-if="item.AuditContract==3" style="color:red;">{{$t('objFill.yibohui')}}</span>
...@@ -135,6 +132,10 @@ ...@@ -135,6 +132,10 @@
<span v-if="item.IsTravelAgencySignature==0">{{$t('objFill.weigaizhang')}}</span> <span v-if="item.IsTravelAgencySignature==0">{{$t('objFill.weigaizhang')}}</span>
<span v-if="item.IsTravelAgencySignature==1" style="color:green;">{{$t('objFill.yigaizhnag')}}</span> <span v-if="item.IsTravelAgencySignature==1" style="color:green;">{{$t('objFill.yigaizhnag')}}</span>
</td> </td>
<td>
{{item.CreateByName}}<br />
{{item.CreateTime}}
</td>
<td> <td>
<el-row> <el-row>
<el-tooltip class="item" effect="dark" :content="$t('objFill.shenhetongguo')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('objFill.shenhetongguo')" placement="top-start">
...@@ -145,8 +146,8 @@ ...@@ -145,8 +146,8 @@
<el-button type="danger" v-if="item.AuditContract!=3" icon="iconfont icon-shenhebohui" <el-button type="danger" v-if="item.AuditContract!=3" icon="iconfont icon-shenhebohui"
@click="showContractDialog(item,3)" circle></el-button> @click="showContractDialog(item,3)" circle></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" v-if="item.IsTravelAgencySignature==0" :content="$t('objFill.v101.administrative.gaizhang')" <el-tooltip class="item" effect="dark" v-if="item.IsTravelAgencySignature==0"
placement="top-start"> :content="$t('objFill.v101.administrative.gaizhang')" placement="top-start">
<el-button type="success" icon="iconfont icon-gaizhang" circle @click="OutGaiZhang(item.Id)" <el-button type="success" icon="iconfont icon-gaizhang" circle @click="OutGaiZhang(item.Id)"
style="padding:4px;"></el-button> style="padding:4px;"></el-button>
</el-tooltip> </el-tooltip>
...@@ -208,8 +209,8 @@ ...@@ -208,8 +209,8 @@
</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="resetOtherQuery" <el-input class="w210" v-model="msg.C_TCNUM" :placeholder="$t('visa.v_shurutuanhao')"
clearable @clear="resetOtherQuery"> @keyup.enter.native="resetOtherQuery" clearable @clear="resetOtherQuery">
</el-input> </el-input>
</span> </span>
</li> </li>
...@@ -240,15 +241,15 @@ ...@@ -240,15 +241,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="resetOtherQuery" <el-input class="w210" v-model="msg.TCID" :placeholder="$t('objFill.qingsrtdbh')"
clearable @clear="resetOtherQuery"> @keyup.enter.native="resetOtherQuery" clearable @clear="resetOtherQuery">
</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="resetOtherQuery" <el-input class="w210" v-model="msg.OrderId" :placeholder="$t('rule.qsrdingdanhao')"
clearable @clear="resetOtherQuery"> @keyup.enter.native="resetOtherQuery" clearable @clear="resetOtherQuery">
</el-input> </el-input>
</span> </span>
</li> </li>
...@@ -322,18 +323,20 @@ ...@@ -322,18 +323,20 @@
</template> </template>
</td> </td>
<td> <td>
<el-tooltip class="item" effect="dark" :content="$t('objFill.shenhetongguo')" placement="top-start" v-if="item.Status==1"> <el-tooltip class="item" effect="dark" :content="$t('objFill.shenhetongguo')" placement="top-start"
v-if="item.Status==1">
<el-button type="primary" icon="iconfont icon-shenpi" circle @click="SubmitContract(item,2)"> <el-button type="primary" icon="iconfont icon-shenpi" circle @click="SubmitContract(item,2)">
</el-button> </el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('fnc.bohui')" placement="top-start" v-if="item.Status==1"> <el-tooltip class="item" effect="dark" :content="$t('fnc.bohui')" placement="top-start"
v-if="item.Status==1">
<el-button type="danger" icon="iconfont icon-chehui" circle @click="SubmitContract(item,3)"> <el-button type="danger" icon="iconfont icon-chehui" circle @click="SubmitContract(item,3)">
</el-button> </el-button>
</el-tooltip> </el-tooltip>
<template v-if="item.Status==2||item.Status==4"> <template v-if="item.Status==2||item.Status==4">
<el-tooltip class="item" effect="dark" <el-tooltip class="item" effect="dark"
v-if="item.IsTravelAgencySignature==null|| item.IsTravelAgencySignature==0 " :content="$t('objFill.v101.administrative.gaizhang')" v-if="item.IsTravelAgencySignature==null|| item.IsTravelAgencySignature==0 "
placement="top-start"> :content="$t('objFill.v101.administrative.gaizhang')" placement="top-start">
<el-button type="success" icon="iconfont icon-gaizhang" circle @click="GaiZhang(item.ID)" <el-button type="success" icon="iconfont icon-gaizhang" circle @click="GaiZhang(item.ID)"
style="padding:4px;"></el-button> style="padding:4px;"></el-button>
</el-tooltip> </el-tooltip>
...@@ -357,8 +360,8 @@ ...@@ -357,8 +360,8 @@
</div> </div>
</template> </template>
<el-dialog custom-class='w500' :title="$t('objFill.v101.administrative.hetongbohui')" :visible.sync="isShowContract" center <el-dialog custom-class='w500' :title="$t('objFill.v101.administrative.hetongbohui')" :visible.sync="isShowContract"
:before-close="closeContractDialog"> center :before-close="closeContractDialog">
<table class="layerTable" border="0" cellspacing="0" cellpadding="0"> <table class="layerTable" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td width="80" align="right">{{$t('objFill.bohuiyy')}}:</td> <td width="80" align="right">{{$t('objFill.bohuiyy')}}:</td>
...@@ -583,23 +586,25 @@ ...@@ -583,23 +586,25 @@
if (status == 3) { if (status == 3) {
message = this.$t('fnc.bohui'); message = this.$t('fnc.bohui');
} }
this.Confirm(this.$t('objFill.shifou')+"【" + message + "】"+this.$t('objFill.v101.administrative.chihet')+"?", function () { this.Confirm(this.$t('objFill.shifou') + "【" + message + "】" + this.$t('objFill.v101.administrative.chihet') +
that.apipost( "?",
"travelcontract_post_UpdateTravelContractStatusService", { function () {
ID: item.ID, that.apipost(
Status: status "travelcontract_post_UpdateTravelContractStatusService", {
}, ID: item.ID,
res => { Status: status
if (res.data.resultCode == 1) { },
that.Success(res.data.message); res => {
that.getOtherList(); if (res.data.resultCode == 1) {
} else { that.Success(res.data.message);
that.Error(res.data.message); that.getOtherList();
} } else {
}, that.Error(res.data.message);
err => {} }
); },
}); err => {}
);
});
}, },
//单项、一日游、境内旅游合同 //单项、一日游、境内旅游合同
getOtherList() { getOtherList() {
......
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