Commit 3ce25ea8 authored by liudong1993's avatar liudong1993
parents 727e5682 ac32d32a
...@@ -8156,6 +8156,10 @@ export const obj = { ...@@ -8156,6 +8156,10 @@ export const obj = {
chunxuzhong: 'Still in existence ', chunxuzhong: 'Still in existence ',
dakuanzhong: 'In progress ', dakuanzhong: 'In progress ',
lianmenght: 'Alliance Contract ', lianmenght: 'Alliance Contract ',
shenqinjsr: 'Application for Settlement Date ',
lianmeng: 'Union ',
fanyongjefw: 'Rebate Transaction Amount Range ',
qingxuanzbohtg: 'Please select Pass or reject',
}, },
//#endregion //#endregion
} }
......
...@@ -8156,6 +8156,10 @@ export const obj = { ...@@ -8156,6 +8156,10 @@ export const obj = {
chunxuzhong: '継続中です', chunxuzhong: '継続中です',
dakuanzhong: '金をかけます', dakuanzhong: '金をかけます',
lianmenght: 'リーグ契約」です', lianmenght: 'リーグ契約」です',
shenqinjsr: '決済日を申請します',
lianmeng: '同盟」です',
fanyongjefw: '取引金額の範囲です',
qingxuanzbohtg: '通過または却下を選択します',
}, },
//#endregion //#endregion
} }
......
...@@ -8159,6 +8159,7 @@ export const obj = { ...@@ -8159,6 +8159,7 @@ export const obj = {
shenqinjsr: '申请结算日期', shenqinjsr: '申请结算日期',
lianmeng: '联盟', lianmeng: '联盟',
fanyongjefw: '返佣交易金额范围', fanyongjefw: '返佣交易金额范围',
qingxuanzbohtg: '请选择通过或驳回',
}, },
//#endregion //#endregion
} }
......
...@@ -8156,6 +8156,10 @@ export const obj = { ...@@ -8156,6 +8156,10 @@ export const obj = {
chunxuzhong: '存續中', chunxuzhong: '存續中',
dakuanzhong: '打款中', dakuanzhong: '打款中',
lianmenght: '聯盟合同', lianmenght: '聯盟合同',
shenqinjsr: '申請結算日期',
lianmeng: '聯盟',
fanyongjefw: '返傭交易金額範圍',
qingxuanzbohtg: '請選擇通過或駁回'
}, },
//#endregion //#endregion
} }
......
...@@ -82,21 +82,34 @@ ...@@ -82,21 +82,34 @@
</style> </style>
<template> <template>
<div class="flexOne"> <div class="flexOne">
<div style="text-align:right;padding:10px"> <div class="query-box">
<ul>
<li> <span><em>{{$t('objFill.nianfen')}}</em>
<YearLimit :clearable="false" :dateTime="year" @change="getTime"></YearLimit>
</span></li>
<li> <div style="text-align:right;">
<input type="button" class="hollowFixedBtn" name="" id="" :value="$t('pub.searchBtn')" @click="getList()" />
<input type="button" class="hollowFixedBtn" :value="$t('pub.addBtn')" @click="add"/> <input type="button" class="hollowFixedBtn" :value="$t('pub.addBtn')" @click="add"/>
</div> </div></li>
</ul>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading='loading'> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading='loading'>
<tr> <tr>
<th>{{$t('fnc.jine')}}</th> <th>{{$t('fnc.jine')}}</th>
<th>{{$t('restaurant.res_commissionColumn')}}</th> <th>{{$t('restaurant.res_commissionColumn')}}</th>
<th>{{$t('objFill.nianfen')}}</th>
<th>{{$t('objFill.v101.Rest.chaozrxinm')}}</th> <th>{{$t('objFill.v101.Rest.chaozrxinm')}}</th>
<th>{{$t('hotel.table_operattime')}}</th> <th>{{$t('hotel.table_operattime')}}</th>
<th>{{$t('system.table_operation')}}</th> <th>{{$t('system.table_operation')}}</th>
</tr> </tr>
<tr v-for="(item,index) in DataList" :key="index+500"> <tr v-for="(item,index) in DataList" :key="index+500">
<td>{{item.Money}}</td> <td>{{item.Money}} <当前年份交易额<= {{item.MaxMoney}}</td>
<td>{{item.Ratio}}</td> <td>{{item.Ratio}}</td>
<td>{{item.Year}}</td>
<td>{{item.UpdateByName}}</td> <td>{{item.UpdateByName}}</td>
<td>{{item.UpdateTime}}</td> <td>{{item.UpdateTime}}</td>
<td> <td>
...@@ -127,19 +140,28 @@ ...@@ -127,19 +140,28 @@
<td colspan="6" align="center">{{$t('system.content_noData')}}</td> <td colspan="6" align="center">{{$t('system.content_noData')}}</td>
</tr> </tr>
</table> </table>
<!-- <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size=msg.pageSize :total=total>
</el-pagination> -->
<el-dialog <el-dialog
:title="$t('tips.tips')" :title="$t('tips.tips')"
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
width="400px"> width="400px">
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm"> <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm">
<el-form-item :label="$t('fnc.jine')" prop="Money"> <el-form-item :label="$t('objFill.jinefanwei')" required>
<el-input v-model="ruleForm.Money" @keyup.native="checkPrice(ruleForm,'Money')"></el-input> <el-col :span="11">
<el-form-item prop="Money">
<el-input v-model="ruleForm.Money" size="mini" @keyup.native="checkPrice(ruleForm,'Money')" type="number"></el-input>
</el-form-item>
</el-col>
<el-col style="text-align:center;" :span="2"> -</el-col>
<el-col :span="11">
<el-form-item prop="MaxMoney">
<el-input v-model="ruleForm.MaxMoney" size="mini" @keyup.native="checkPrice(ruleForm,'MaxMoney')" type="number"></el-input>
</el-form-item>
</el-col>
</el-form-item> </el-form-item>
<el-form-item :label="$t('restaurant.res_commissionColumn')+'(‰)'" prop="Ratio"> <el-form-item :label="$t('restaurant.res_commissionColumn')+'(‰)'" prop="Ratio">
<el-input v-model="ruleForm.Ratio" @keyup.native="checkPrice(ruleForm,'Ratio')"></el-input> <el-input v-model="ruleForm.Ratio" @keyup.native="checkPrice(ruleForm,'Ratio')" type="number"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
...@@ -152,21 +174,70 @@ ...@@ -152,21 +174,70 @@
</template> </template>
<script> <script>
import YearLimit from '../public/YearLimit.vue';
export default { export default {
components: {YearLimit},
data() { data() {
// 自定义验证规则
const validatePriceMoney = (rule, value, callback) => {
if (!value) {
return callback(new Error(this.$t('rule.qsrjine')));
}
if (Number(value) >= Number(this.ruleForm.MaxMoney)) {
callback(new Error('必须小于'+this.ruleForm.MaxMoney));
} else {
callback();
}
};
const validatePriceMaxMoney = (rule, value, callback) => {
if (!value) {
return callback(new Error(this.$t('rule.qsrjine')));
}
if (Number(value) <= Number(this.ruleForm.Money)) {
callback(new Error('必须大于'+this.ruleForm.Money));
} else {
callback();
}
};
return { return {
dialogVisible:false, dialogVisible:false,
loading: true, loading: true,
//分页 //分页
total: 0, total: 0,
pageSize: '', pageSize: '',
year:"",
currentPage:1, currentPage:1,
DataList:[], DataList:[],
dateList:[], dateList:[],
yearList:[],
Msg:{Year:0,},
rules: { rules: {
Money: [ Money: [
{ required: true, message: this.$t('rule.qsrjine'), trigger: 'blur' }, { required: true, message: this.$t('rule.qsrjine'), trigger: 'blur' },
], { validator: validatePriceMoney, trigger: 'blur' }
// { validator: (rule, value, callback) => {
// if (value > this.ruleForm.MaxMoney) {
// callback(new Error('必须小于'+this.ruleForm.MaxMoney));
// } else {
// callback();
// }
// }, trigger: 'blur' }
],
MaxMoney: [
{ required: true, message: this.$t('rule.qsrjine'), trigger: 'blur' },
{ validator: validatePriceMaxMoney, trigger: 'blur' }
// { validator: (rule, value, callback) => {
// if (value <= this.ruleForm.Money) {
// callback(new Error('必须大于'+this.ruleForm.Money));
// } else {
// callback();
// }
// }, trigger: 'blur' }
],
// [
// { required: true, message: this.$t('rule.qsrjine'), trigger: 'blur' },
// ],
Ratio: [ Ratio: [
{ required: true, message: this.$t('objFill.v101.Rest.qingshurfybl'), trigger: 'blur' }, { required: true, message: this.$t('objFill.v101.Rest.qingshurfybl'), trigger: 'blur' },
], ],
...@@ -174,18 +245,37 @@ ...@@ -174,18 +245,37 @@
ruleForm:{ ruleForm:{
Id:0, Id:0,
Money:"", Money:"",
MaxMoney:"",
Year:"",
Ratio:"", Ratio:"",
}, },
} }
}, },
created(){ created(){
var nowTime=new Date();
if (this.$route.query.year) {
this.year = this.$route.query.year;
this.Msg.Year= this.year;
this.ruleForm.Year=this.year;
} else {
this.year = nowTime.getFullYear().toString();
this.Msg.Year=this.year;
this.ruleForm.Year=this.year;
}
console.log("this.ruleForm.Year",this.ruleForm.Year);
}, },
mounted() { mounted() {
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.getList(); this.getList();
}, },
methods: { methods: {
getTime(Date){
this.Msg.Year=Date
this.ruleForm.Year=Date
this.year=Date
this.getList();
},
Delete(item){ Delete(item){
this.$confirm(this.$t('tips.shifoushanchu'), this.$t('tips.tips'), { this.$confirm(this.$t('tips.shifoushanchu'), this.$t('tips.tips'), {
confirmButtonText: this.$t('pub.sureBtn'), confirmButtonText: this.$t('pub.sureBtn'),
...@@ -211,6 +301,7 @@ ...@@ -211,6 +301,7 @@
this.ruleForm={ this.ruleForm={
Id:item.Id, Id:item.Id,
Money:item.Money, Money:item.Money,
MaxMoney:item.MaxMoney,
Ratio:item.Ratio, Ratio:item.Ratio,
} }
this.dialogVisible=true; this.dialogVisible=true;
...@@ -219,6 +310,7 @@ ...@@ -219,6 +310,7 @@
this.ruleForm={ this.ruleForm={
Id:0, Id:0,
Money:"", Money:"",
MaxMoney:"",
Ratio:"", Ratio:"",
} }
this.dialogVisible=true; this.dialogVisible=true;
...@@ -227,12 +319,14 @@ ...@@ -227,12 +319,14 @@
submitForm(formName) { submitForm(formName) {
this.$refs[formName].validate((valid) => { this.$refs[formName].validate((valid) => {
if (valid) { if (valid) {
this.ruleForm.Year=this.year;
this.apipost('customer_post_SetCustomerCommissionRatio', this.ruleForm, res => { this.apipost('customer_post_SetCustomerCommissionRatio', this.ruleForm, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.getList(); this.getList();
this.dialogVisible=false; this.dialogVisible=false;
this.$refs["ruleForm"].resetFields(); this.$refs["ruleForm"].resetFields();
} else { } else {
this.Error(res.data.message)
} }
}, err => { }, err => {
}) })
...@@ -241,9 +335,10 @@ ...@@ -241,9 +335,10 @@
} }
}); });
}, },
getList() { //获取数据 getList() { //获取数据
this.loading = true; this.loading = true;
this.apipost('customer_post_GetCustomerCommissionRatioList', {}, res => { this.apipost('customer_post_GetCustomerCommissionRatioList', this.Msg, res => {
this.loading = false this.loading = false
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.DataList = res.data.data; this.DataList = res.data.data;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
background-color: #E6E6E6; background-color: #E6E6E6;
} }
/deep/.el-form-item{ /deep/.el-form-item{
margin-bottom:5px; /* margin-bottom:5px; */
} }
/deep/.el-table .el-table__cell { /deep/.el-table .el-table__cell {
padding: 5px 0; padding: 5px 0;
...@@ -65,10 +65,10 @@ ...@@ -65,10 +65,10 @@
</td> </td>
<!-- <td>{{ item.TravelAgency_SignAddress }}</td> --> <!-- <td>{{ item.TravelAgency_SignAddress }}</td> -->
<td>{{ item.Money?item.Money:'' }}~{{ item.MaxMoney?item.Money:'' }}</td> <td>{{ item.Money?item.Money:'' }}~{{ item.MaxMoney?item.MaxMoney:'' }}</td>
<td>{{ item.Ratio?item.Ratio:'-' }}</td> <td>{{ item.Ratio?item.Ratio+'‰':'-' }}</td>
<td>{{ item.TradeMoney?item.TradeMoney:'-' }}</td> <td>{{ item.TradeMoney?item.TradeMoney:'-' }}</td>
<td>{{ item.TotalClosePrice?item.TotalClosePrice:'-' }}</td> <td>{{ item.TotalClosePrice?item.TotalClosePrice.toFixed(2):'-' }}</td>
<td> <td>
<el-popover width="500" trigger="click"> <el-popover width="500" trigger="click">
<el-table <el-table
...@@ -78,6 +78,10 @@ ...@@ -78,6 +78,10 @@
prop="CustomerName" prop="CustomerName"
:label="$t('salesModule.storeName')" :label="$t('salesModule.storeName')"
width="150"> width="150">
<template slot-scope="scope">
{{ scope.row.CustomerName }}
<span v-if="scope.row.IsMain == 1" style="color: #E95252">({{$t('Operation.Op_zhu')}})</span>
</template>
</el-table-column> </el-table-column>
<el-table-column prop="PredictPrice" :label="$t('restaurant.res_fy')"> <el-table-column prop="PredictPrice" :label="$t('restaurant.res_fy')">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -122,6 +126,7 @@ ...@@ -122,6 +126,7 @@
v-model="addMsg.C_StartDate" v-model="addMsg.C_StartDate"
:picker-options="pickerBeginDateBefore" :picker-options="pickerBeginDateBefore"
type="date" type="date"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"> value-format="yyyy-MM-dd">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -131,6 +136,7 @@ ...@@ -131,6 +136,7 @@
<el-date-picker class="h34" style="width: 100%;" <el-date-picker class="h34" style="width: 100%;"
v-model="addMsg.C_EndDate" v-model="addMsg.C_EndDate"
type="date" type="date"
value-format="yyyy-MM-dd"> value-format="yyyy-MM-dd">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
...@@ -226,14 +232,14 @@ ...@@ -226,14 +232,14 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item :label="'WORD'+$t('objFill.fj')" prop="ContractUrl"> <el-form-item :label="$t('objFill.fj')" prop="ContractUrl">
<el-upload class="upload-demo" style="display:inline-block;position:relative;top:-1px;left:3px;" <el-upload class="upload-demo" style="display:inline-block;position:relative;top:-1px;left:3px;"
:http-request="UploadAttachment" :show-file-list="false" action=""> :http-request="UploadAttachment" :show-file-list="false" action="">
<el-button size="small" type="primary">{{$t('objFill.v101.Rest.tianjiafuj')}}</el-button> <el-button size="small" type="primary">{{$t('objFill.v101.Rest.tianjiafuj')}}</el-button>
</el-upload> </el-upload>
<template v-if="addMsg.ContractUrl&& addMsg.ContractUrl!='' "> <template v-if="addMsg.ContractUrl&& addMsg.ContractUrl!='' ">
<a style="margin-left: 20px; color: blue; cursor: pointer" target="_blank" <a style="margin-left: 20px; color: blue; cursor: pointer" target="_blank"
@click="downloadFile(addMsg.ContractUrl)">{{$t('Operation.Op_downLoadword')}}</a> @click="downloadFile(addMsg.ContractUrl)">{{$t('objFill.xz')}}</a>
<a style="margin-left: 20px; color: blue; cursor: pointer" <a style="margin-left: 20px; color: blue; cursor: pointer"
@click="DeleteFile()">{{$t('system.table_delete')}}</a> @click="DeleteFile()">{{$t('system.table_delete')}}</a>
</template> </template>
...@@ -253,7 +259,7 @@ ...@@ -253,7 +259,7 @@
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="dialogFormVisible=false, iniTAddMsg">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" @click="dialogFormVisible=false, iniTAddMsg">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="UpdateDate('addMsg')">{{$t('pub.sureBtn')}}</button> <button class="normalBtn" type="primary" v-loading="saveLoading" @click="UpdateDate('addMsg')">{{$t('pub.sureBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
<!-- <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" <!-- <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
...@@ -423,7 +429,7 @@ export default { ...@@ -423,7 +429,7 @@ export default {
this.addMsg.OpenBankName = list[0].OpenBankName; this.addMsg.OpenBankName = list[0].OpenBankName;
this.addMsg.AccountHolder = list[0].AccountHolder; this.addMsg.AccountHolder = list[0].AccountHolder;
this.addMsg.BankName = list[0].BankName; this.addMsg.BankName = list[0].BankName;
this.addMsg.CardNum = list[0].CardNum; this.addMsg.CardNum = list[0].CardNum.trim();
} }
} }
}else{ }else{
...@@ -551,7 +557,6 @@ export default { ...@@ -551,7 +557,6 @@ export default {
}, },
// 保存 // 保存
UpdateDate: function (formName) { UpdateDate: function (formName) {
this.$refs[formName].validate((valid) => { this.$refs[formName].validate((valid) => {
if (valid) { if (valid) {
if(this.addMsg.ContractUrl == ''){ if(this.addMsg.ContractUrl == ''){
......
...@@ -2,10 +2,21 @@ ...@@ -2,10 +2,21 @@
.shenheInfoBox{ .shenheInfoBox{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
height: 24px;
margin-bottom: 5px; margin-bottom: 5px;
} }
.shenheInfoTitle{ .shenheInfoTitle{
width: 90px; max-width: 80px;
min-width: 25px;
color: #606266;
/* font-weight: bold; */
margin-right: 10px;
}
.shenheInfoCenter{
color: #000;
}
.shenheInfoBoxR{
justify-content: end;
} }
.ElectronicAudit .icon-shenhebohui { .ElectronicAudit .icon-shenhebohui {
color: #fff; color: #fff;
...@@ -309,7 +320,7 @@ ...@@ -309,7 +320,7 @@
{{$t('objFill.danxwtht')}} {{$t('objFill.danxwtht')}}
</template> </template>
<template v-if="item.CType == 4"> <template v-if="item.CType == 4">
{{$t('salesModule.BigBag')}} {{$t('objFill.v102.dahongbaoht')}}
</template> </template>
</td> </td>
<td>{{ item.T_ContractNum }}</td> <td>{{ item.T_ContractNum }}</td>
...@@ -382,15 +393,15 @@ ...@@ -382,15 +393,15 @@
</div> </div>
</template> </template>
<el-dialog custom-class='w500' :title="hetongTitle" <el-dialog custom-class='w550' :title="hetongTitle"
:visible.sync="isShowContract" :visible.sync="isShowContract"
center :before-close="closeContractDialog"> center :before-close="closeContractDialog">
<el-row v-if="isBoHui>0"> <el-row v-if="isBoHui>0" v-loading="inforLoading">
<el-col :span="24" class="shenheInfoBox"> <el-col :span="24" class="shenheInfoBox">
<p class="shenheInfoTitle">公司名称:</p> <p class="shenheInfoTitle">公司名称:</p>
<div class="shenheInfoCenter">{{ ContractInfor.Tourists_Name }}</div> <div class="shenheInfoCenter">{{ ContractInfor.Tourists_Name }}</div>
</el-col> </el-col>
<el-col :span="24" class="shenheInfoBox"> <el-col :span="5" class="shenheInfoBox">
<p class="shenheInfoTitle">营业执照:</p> <p class="shenheInfoTitle">营业执照:</p>
<div class="shenheInfoCenter"> <div class="shenheInfoCenter">
<el-image <el-image
...@@ -400,16 +411,16 @@ ...@@ -400,16 +411,16 @@
</el-image> </el-image>
</div> </div>
</el-col> </el-col>
<el-col :span="12" class="shenheInfoBox"> <el-col :span="13" class="shenheInfoBox">
<p class="shenheInfoTitle">法人姓名:</p>
<div class="shenheInfoCenter">{{ ContractInfor.LegalPersonName }}</div>
</el-col>
<el-col :span="12" class="shenheInfoBox">
<p class="shenheInfoTitle">经营许可证:</p> <p class="shenheInfoTitle">经营许可证:</p>
<div class="shenheInfoCenter">{{ ContractInfor.Tourists_Email }}</div> <div class="shenheInfoCenter">{{ ContractInfor.Tourists_Email }}</div>
</el-col> </el-col>
<el-col :span="24" class="shenheInfoBox"> <el-col :span="6" class="shenheInfoBox shenheInfoBoxR">
<p class="shenheInfoTitle">身份证正面:</p> <p class="shenheInfoTitle">法人:</p>
<div class="shenheInfoCenter">{{ ContractInfor.LegalPersonName }}</div>
</el-col>
<el-col :span="5" class="shenheInfoBox">
<p class="shenheInfoTitle">身份证:</p>
<div class="shenheInfoCenter"> <div class="shenheInfoCenter">
<el-image <el-image
style="width: 20px; height: 20px" style="width: 20px; height: 20px"
...@@ -423,27 +434,27 @@ ...@@ -423,27 +434,27 @@
</el-image> </el-image>
</div> </div>
</el-col> </el-col>
<el-col :span="24" class="shenheInfoBox"> <el-col :span="12" class="shenheInfoBox">
<p class="shenheInfoTitle">身份证号:</p> <p class="shenheInfoTitle">身份证号:</p>
<div class="shenheInfoCenter">{{ ContractInfor.LegalIdCardNumber }}</div> <div class="shenheInfoCenter">{{ ContractInfor.LegalIdCardNumber }}</div>
</el-col> </el-col>
<el-col :span="24" class="shenheInfoBox"> <el-col :span="7" class="shenheInfoBox shenheInfoBoxR">
<p class="shenheInfoTitle">身份证有效期:</p> <p class="shenheInfoTitle">有效期:</p>
<div class="shenheInfoCenter">{{ ContractInfor.LegalIdCardTime }}</div> <div class="shenheInfoCenter">{{ ContractInfor.LegalIdCardTime }}</div>
</el-col> </el-col>
<el-col :span="12" class="shenheInfoBox"> <el-col :span="8" class="shenheInfoBox">
<p class="shenheInfoTitle">开户支行:</p> <p class="shenheInfoTitle">开户支行:</p>
<div class="shenheInfoCenter">{{ ContractInfor.OpenBankName }}</div> <div class="shenheInfoCenter">{{ ContractInfor.OpenBankName }}</div>
</el-col> </el-col>
<el-col :span="12" class="shenheInfoBox"> <el-col :span="11" class="shenheInfoBox ">
<p class="shenheInfoTitle">所属银行:</p> <p class="shenheInfoTitle">所属银行:</p>
<div class="shenheInfoCenter">{{ ContractInfor.BankName }}</div> <div class="shenheInfoCenter">{{ ContractInfor.BankName }}</div>
</el-col> </el-col>
<el-col :span="12" class="shenheInfoBox"> <el-col :span="5" class="shenheInfoBox shenheInfoBoxR">
<p class="shenheInfoTitle">开户人:</p> <p class="shenheInfoTitle">开户人:</p>
<div class="shenheInfoCenter">{{ ContractInfor.AccountHolder }}</div> <div class="shenheInfoCenter">{{ ContractInfor.AccountHolder }}</div>
</el-col> </el-col>
<el-col :span="12" class="shenheInfoBox"> <el-col :span="24" class="shenheInfoBox">
<p class="shenheInfoTitle">卡号:</p> <p class="shenheInfoTitle">卡号:</p>
<div class="shenheInfoCenter">{{ ContractInfor.CardNum }}</div> <div class="shenheInfoCenter">{{ ContractInfor.CardNum }}</div>
</el-col> </el-col>
...@@ -467,6 +478,7 @@ ...@@ -467,6 +478,7 @@
<td> <td>
<el-date-picker v-model="BoHuiObj.C_StartDate" style="width: 100%;" <el-date-picker v-model="BoHuiObj.C_StartDate" style="width: 100%;"
format="yyyy-MM-dd" type="date" format="yyyy-MM-dd" type="date"
value-format="yyyy-MM-dd"
:picker-options="pickerBeginDateBefore3" :clearable="false"> :picker-options="pickerBeginDateBefore3" :clearable="false">
</el-date-picker> </el-date-picker>
</td> </td>
...@@ -476,6 +488,7 @@ ...@@ -476,6 +488,7 @@
<td> <td>
<el-date-picker v-model="BoHuiObj.C_EndDate" style="width: 100%;" <el-date-picker v-model="BoHuiObj.C_EndDate" style="width: 100%;"
format="yyyy-MM-dd" type="date" format="yyyy-MM-dd" type="date"
value-format="yyyy-MM-dd"
:picker-options="pickerBeginDateAfter3" :clearable="false"> :picker-options="pickerBeginDateAfter3" :clearable="false">
</el-date-picker> </el-date-picker>
</td> </td>
...@@ -509,7 +522,7 @@ ...@@ -509,7 +522,7 @@
<br/> <br/>
<el-col :span="12" class="shenheInfoBox"> <el-col :span="12" class="shenheInfoBox">
<el-radio v-model="isBoHui" :label="Number(2)" @change="auditMsg.AuditContract=isBoHui">{{$t('visa.v_tongguo')}}</el-radio> <el-radio v-model="isBoHui" :label="Number(2)" @change="auditMsg.AuditContract=isBoHui">{{$t('visa.v_tongguo')}}</el-radio>
<el-radio v-model="isBoHui" :label="Number(1)" @change="auditMsg.AuditContract=isBoHui">{{$t('fnc.bohui')}}</el-radio> <el-radio v-model="isBoHui" :label="Number(1)" @change="auditMsg.AuditContract=3">{{$t('fnc.bohui')}}</el-radio>
</el-col> </el-col>
</el-row> </el-row>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
...@@ -631,7 +644,8 @@ ...@@ -631,7 +644,8 @@
isBoHui: 0, //是否是单项、一日游、境内旅游合同驳回 isBoHui: 0, //是否是单项、一日游、境内旅游合同驳回
NightNumList: [], NightNumList: [],
hetongTitle: '', hetongTitle: '',
ContractInfor: {} ContractInfor: {},
inforLoading: false,
}; };
}, },
methods: { methods: {
...@@ -795,21 +809,26 @@ ...@@ -795,21 +809,26 @@
this.getContractInfor(item) this.getContractInfor(item)
}, },
getContractInfor(item){ getContractInfor(item){
this.inforLoading = true
this.apipost("app_customer_GetERPAuthenticationContractDetails", this.apipost("app_customer_GetERPAuthenticationContractDetails",
{ ContractId: item.Id }, { ContractId: item.ID },
res => { res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
console.log(res.data.data,'====='); console.log(res.data.data,'=====');
this.ContractInfor = res.data.data; this.ContractInfor = res.data.data;
this.inforLoading = false
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
this.inforLoading = false
} }
},err=>{
this.inforLoading = false
}); });
}, },
//提交并盖章 //提交并盖章
SubmitContract(item, status) { SubmitContract(item, status) {
if(item.CType==4&&!this.isBoHui){ if(item.CType==4){
return this.Error(this.$t('objFill.v102.qingxuanzbohtg')); if(!this.isBoHui) return this.Error(this.$t('objFill.v102.qingxuanzbohtg'));
} }
var that = this; var that = this;
if(status==2){ if(status==2){
......
...@@ -24,17 +24,19 @@ ...@@ -24,17 +24,19 @@
<th>{{$t('system.table_operation')}}</th> <th>{{$t('system.table_operation')}}</th>
</tr> </tr>
<tr v-for="(item,index) in dataList" :key="index"> <tr v-for="(item,index) in dataList" :key="index">
<td>{{item.CustomerName}} <span v-if="item.IsMain == 1" style="color: #E95252">({{$t('Operation.Op_zhu')}})</span> </td> <td>{{item.CustomerName}}
<!-- <span v-if="item.IsMain == 1" style="color: #E95252">({{$t('Operation.Op_zhu')}})</span> -->
</td>
<td>{{item.Contact}}</td> <td>{{item.Contact}}</td>
<td>{{item.ContactNumber}}</td> <td>{{item.ContactNumber}}</td>
<td>{{item.IsMember == 1 ? $t('pub.yes') : $t('pub.no')}}</td> <td>{{item.IsMember == 1 ? $t('pub.yes') : $t('pub.no')}}</td>
<td class="_icon_btn"> <td class="_icon_btn">
<el-tooltip class="item" effect="dark" :content="$t('objFill.v101.administrative.shiezhizmd')" placement="top"> <!-- <el-tooltip class="item" effect="dark" :content="$t('objFill.v101.administrative.shiezhizmd')" placement="top">
<i class="iconfont icon-guanli2" @click="clickSetAdmin(item)"></i> <i class="iconfont icon-guanli2" @click="clickSetAdmin(item)"></i>
</el-tooltip>
<!-- <el-tooltip class="item" effect="dark" :content="$t('objFill.v101.administrative.yichumend')" placement="top">
<i class="iconfont icon-img_delete_small icon-guanli2" @click="DelAllianceChild(item)"></i>
</el-tooltip> --> </el-tooltip> -->
<el-tooltip class="item" effect="dark" :content="$t('objFill.v101.administrative.yichumend')" placement="top">
<i class="iconfont icon-img_delete_small icon-guanli2" @click="DelAllianceChild(item)"></i>
</el-tooltip>
</td> </td>
</tr> </tr>
</table> </table>
......
...@@ -1124,12 +1124,12 @@ ...@@ -1124,12 +1124,12 @@
</template> </template>
</table> </table>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=1,saveHoteluseDetail(1)" <!-- <button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=1,saveHoteluseDetail(1)"
v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)" :class="{'disClick':!isSaved}">{{btnText}}</button> v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)" :class="{'disClick':!isSaved}">{{btnText}}</button>
&nbsp; &nbsp;
<button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=2;saveHoteluseDetail(2)" <button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=2;saveHoteluseDetail(2)"
v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)" v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)"
:class="{'disClick':!isSaved}">{{btnTongBu}}</button> &nbsp; :class="{'disClick':!isSaved}">{{btnTongBu}}</button> &nbsp; -->
<button class="hollowFixedBtn" :class="{'disClick':!isSaved}" <button class="hollowFixedBtn" :class="{'disClick':!isSaved}"
@click="cancelHotelUseDetail()">{{$t('pub.cancelBtn')}}</button> @click="cancelHotelUseDetail()">{{$t('pub.cancelBtn')}}</button>
<template v-if="priceData.IsOpenHotel&&priceData.IsOpenHotel==1"> <template v-if="priceData.IsOpenHotel&&priceData.IsOpenHotel==1">
......
...@@ -1109,12 +1109,12 @@ ...@@ -1109,12 +1109,12 @@
</template> </template>
</table> </table>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=1,saveHoteluseDetail(1)" <!-- <button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=1,saveHoteluseDetail(1)"
v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)" :class="{'disClick':!isSaved}">{{btnText}}</button> v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)" :class="{'disClick':!isSaved}">{{btnText}}</button>
&nbsp; &nbsp;
<button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=2;saveHoteluseDetail(2)" <button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=2;saveHoteluseDetail(2)"
v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)" v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)"
:class="{'disClick':!isSaved}">{{btnTongBu}}</button> &nbsp; :class="{'disClick':!isSaved}">{{btnTongBu}}</button> &nbsp; -->
<button class="hollowFixedBtn" :class="{'disClick':!isSaved}" <button class="hollowFixedBtn" :class="{'disClick':!isSaved}"
@click="cancelHotelUseDetail()">{{$t('pub.cancelBtn')}}</button> @click="cancelHotelUseDetail()">{{$t('pub.cancelBtn')}}</button>
<template v-if="priceData.IsOpenHotel&&priceData.IsOpenHotel==1"> <template v-if="priceData.IsOpenHotel&&priceData.IsOpenHotel==1">
......
...@@ -939,12 +939,12 @@ ...@@ -939,12 +939,12 @@
</template> </template>
</table> </table>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=1,saveHoteluseDetail(1)" <!-- <button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=1,saveHoteluseDetail(1)"
v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)" :class="{'disClick':!isSaved}">{{btnText}}</button> v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)" :class="{'disClick':!isSaved}">{{btnText}}</button>
&nbsp; &nbsp;
<button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=2;saveHoteluseDetail(2)" <button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=2;saveHoteluseDetail(2)"
v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)" v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)"
:class="{'disClick':!isSaved}">{{btnTongBu}}</button> &nbsp; :class="{'disClick':!isSaved}">{{btnTongBu}}</button> &nbsp; -->
<button class="hollowFixedBtn" :class="{'disClick':!isSaved}" <button class="hollowFixedBtn" :class="{'disClick':!isSaved}"
@click="cancelHotelUseDetail()">{{$t('pub.cancelBtn')}}</button> @click="cancelHotelUseDetail()">{{$t('pub.cancelBtn')}}</button>
<template v-if="priceData.IsOpenHotel&&priceData.IsOpenHotel==1"> <template v-if="priceData.IsOpenHotel&&priceData.IsOpenHotel==1">
......
...@@ -977,12 +977,12 @@ ...@@ -977,12 +977,12 @@
</template> </template>
</table> </table>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=1,saveHoteluseDetail(1)" <!-- <button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=1,saveHoteluseDetail(1)"
v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)" :class="{'disClick':!isSaved}">{{btnText}}</button> v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)" :class="{'disClick':!isSaved}">{{btnText}}</button>
&nbsp; &nbsp;
<button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=2;saveHoteluseDetail(2)" <button class="normalBtn" type="primary" @click="PostConfig.IsUpdateHotel=2;saveHoteluseDetail(2)"
v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)" v-if="!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)"
:class="{'disClick':!isSaved}">{{btnTongBu}}</button> &nbsp; :class="{'disClick':!isSaved}">{{btnTongBu}}</button> &nbsp; -->
<button class="hollowFixedBtn" :class="{'disClick':!isSaved}" <button class="hollowFixedBtn" :class="{'disClick':!isSaved}"
@click="cancelHotelUseDetail()">{{$t('pub.cancelBtn')}}</button> @click="cancelHotelUseDetail()">{{$t('pub.cancelBtn')}}</button>
<template v-if="priceData.IsOpenHotel&&priceData.IsOpenHotel==1"> <template v-if="priceData.IsOpenHotel&&priceData.IsOpenHotel==1">
......
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