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

合同查询修改

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