Commit 20247544 authored by youjie's avatar youjie

no message

parent 8f0ccf0c
<style>
.shenheInfoBox{
display: flex;
flex-direction: row;
margin-bottom: 5px;
}
.shenheInfoTitle{
width: 90px;
}
.ElectronicAudit .icon-shenhebohui {
color: #fff;
}
......@@ -305,8 +313,8 @@
</template>
</td>
<td>{{ item.T_ContractNum }}</td>
<td>{{ item.Tourists_Name }}</td>
<td>{{ item.TravelAgency_Name }}</td>
<td>{{ item.CType!=4?item.Tourists_Name:item.TravelAgency_Name }}</td>
<td>{{ item.CType!=4?item.TravelAgency_Name:item.Tourists_Name }}</td>
<td>{{ item.TravelAgency_DealMan }}</td>
<td>{{ item.C_TCNUM }}</td>
<td>{{ item.C_ProductName }}</td>
......@@ -328,16 +336,25 @@
</template>
</td>
<td>
<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="item.CType==4?showTongGuo(item,2):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-button type="danger" icon="iconfont icon-chehui" circle @click="showBoHui(item,3)">
</el-button>
</el-tooltip>
<template v-if="item.CType!=4">
<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="item.CType==4?showTongGuo(item,2):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-button type="danger" icon="iconfont icon-chehui" circle @click="showBoHui(item,3)">
</el-button>
</el-tooltip>
</template>
<template v-else>
<el-tooltip class="item" effect="dark" :content="$t('fnc.shenhe')" placement="top-start"
v-if="item.Status==1">
<el-button type="danger" icon="el-icon-s-check" circle @click="showshenghe(item)">
</el-button>
</el-tooltip>
</template>
<template v-if="item.Status==2||item.Status==4">
<el-tooltip class="item" effect="dark"
v-if="item.IsTravelAgencySignature==null|| item.IsTravelAgencySignature==0 "
......@@ -368,14 +385,77 @@
<el-dialog custom-class='w500' :title="hetongTitle"
:visible.sync="isShowContract"
center :before-close="closeContractDialog">
<el-row v-if="isBoHui>0">
<el-col :span="24" class="shenheInfoBox">
<p class="shenheInfoTitle">公司名称:</p>
<div class="shenheInfoCenter">{{ ContractInfor.Tourists_Name }}</div>
</el-col>
<el-col :span="24" class="shenheInfoBox">
<p class="shenheInfoTitle">营业执照:</p>
<div class="shenheInfoCenter">
<el-image
style="width: 20px; height: 20px"
:src="ContractInfor.BusinessLicenseUrl"
:preview-src-list="[ContractInfor.BusinessLicenseUrl]">
</el-image>
</div>
</el-col>
<el-col :span="12" class="shenheInfoBox">
<p class="shenheInfoTitle">法人姓名:</p>
<div class="shenheInfoCenter">{{ ContractInfor.LegalPersonName }}</div>
</el-col>
<el-col :span="12" class="shenheInfoBox">
<p class="shenheInfoTitle">经营许可证:</p>
<div class="shenheInfoCenter">{{ ContractInfor.Tourists_Email }}</div>
</el-col>
<el-col :span="24" class="shenheInfoBox">
<p class="shenheInfoTitle">身份证正面:</p>
<div class="shenheInfoCenter">
<el-image
style="width: 20px; height: 20px"
:src="ContractInfor.BusinessLicenseUrl"
:preview-src-list="[ContractInfor.LegalIdCardFrontUrl]">
</el-image>
<el-image
style="width: 20px; height: 20px"
:src="ContractInfor.BusinessLicenseUrl"
:preview-src-list="[ContractInfor.LegalIdCardBackUrl]">
</el-image>
</div>
</el-col>
<el-col :span="24" class="shenheInfoBox">
<p class="shenheInfoTitle">身份证号:</p>
<div class="shenheInfoCenter">{{ ContractInfor.LegalIdCardNumber }}</div>
</el-col>
<el-col :span="24" class="shenheInfoBox">
<p class="shenheInfoTitle">身份证有效期:</p>
<div class="shenheInfoCenter">{{ ContractInfor.LegalIdCardTime }}</div>
</el-col>
<el-col :span="12" class="shenheInfoBox">
<p class="shenheInfoTitle">开户支行:</p>
<div class="shenheInfoCenter">{{ ContractInfor.OpenBankName }}</div>
</el-col>
<el-col :span="12" class="shenheInfoBox">
<p class="shenheInfoTitle">所属银行:</p>
<div class="shenheInfoCenter">{{ ContractInfor.BankName }}</div>
</el-col>
<el-col :span="12" class="shenheInfoBox">
<p class="shenheInfoTitle">开户人:</p>
<div class="shenheInfoCenter">{{ ContractInfor.AccountHolder }}</div>
</el-col>
<el-col :span="12" class="shenheInfoBox">
<p class="shenheInfoTitle">卡号:</p>
<div class="shenheInfoCenter">{{ ContractInfor.CardNum }}</div>
</el-col>
</el-row>
<table class="layerTable" border="0" cellspacing="0" cellpadding="0">
<tr v-if="isBoHui==1">
<tr v-if="isBoHui==1||!isBoHui">
<td width="80" align="right">{{$t('objFill.bohuiyy')}}:</td>
<td>
<el-input type='textarea' v-model='auditMsg.AuditContractReason' maxlength='100'></el-input>
</td>
</tr>
<template v-else>
<template v-else-if="isBoHui==2">
<tr>
<td width="100" align="right">{{$t('objFill.v102.jiesuants')}}</td>
<td>
......@@ -424,9 +504,21 @@
</template>
</table>
<el-row v-if="isBoHui>0">
<br/>
<el-col :span="12" class="shenheInfoBox">
<el-radio v-model="isBoHui" label="2">{{$t('visa.v_tongguo')}}</el-radio>
<el-radio v-model="isBoHui" label="1">{{$t('fnc.bohui')}}</el-radio>
</el-col>
</el-row>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="closeContractDialog">{{$t('pub.cancelBtn')}}</button> &nbsp;
<button class="normalBtn" type="primary" @click="!isBoHui?AuditElec():SubmitContract(BoHuiObj,auditMsg.AuditContract)">{{$t('pub.sureBtn')}}</button>
<!-- <template v-else>
<button class="hollowFixedBtn" type="" @click="showBoHui(BoHuiObj,3)">{{$t('fnc.bohui')}}</button>&nbsp;
<button class="normalBtn" type="primary" @click="showTongGuo(BoHuiObj,2)">{{$t('visa.v_tongguo')}}</button>
</template> -->
</div>
</el-dialog>
</div>
......@@ -539,6 +631,7 @@
isBoHui: 0, //是否是单项、一日游、境内旅游合同驳回
NightNumList: [],
hetongTitle: '',
ContractInfor: {}
};
},
methods: {
......@@ -619,7 +712,7 @@
} else {
this.isShowContract = true;
}
},
},
//审核通过或者驳回
AuditElec() {
this.apipost("travelcontract_get_UpdateAuditContractService", this.auditMsg, res => {
......@@ -679,18 +772,42 @@
this.hetongTitle = `${this.$t('objFill.v101.administrative.hetongbohui')}`
this.BoHuiObj = JSON.parse(JSON.stringify(item));
this.auditMsg.AuditContract = status;
this.isShowContract = true
this.isBoHui = 1;
// this.isShowContract = true
this.isBoHui = '1';
// this.getContractInfor(item)
},
showTongGuo(item, status) {
this.hetongTitle = `${this.$t('objFill.v102.hetongtongguo')}`
this.BoHuiObj = JSON.parse(JSON.stringify(item));
this.auditMsg.AuditContract = status;
// this.isShowContract = true
this.isBoHui = '2'
// this.getContractInfor(item)
},
showshenghe(item) {
this.hetongTitle = `${this.$t('fnc.shenhe')}`
this.BoHuiObj = JSON.parse(JSON.stringify(item));
this.isShowContract = true
this.isBoHui = 2
this.isBoHui = '2';
this.getContractInfor(item)
},
getContractInfor(item){
this.apipost("app_customer_GetERPAuthenticationContractDetails",
{ ContractId: item.Id },
res => {
if (res.data.resultCode === 1) {
console.log(res.data.data,'=====');
this.ContractInfor = res.data.data;
} else {
this.Error(res.data.message);
}
});
},
//提交并盖章
SubmitContract(item, status) {
if(item.CType==4&&!this.isBoHui){
return this.Error(this.$t('objFill.v102.qingxuanzbohtg'));
}
var that = this;
if(status==2){
if(item.C_DayNum==''||item.C_StartDate==''||item.C_EndDate==''||item.C_NightNum==''){
......
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