Commit 1c2a393e authored by youjie's avatar youjie
parents 1ec92098 d9a41de7
...@@ -1316,6 +1316,7 @@ export const fnc = { ...@@ -1316,6 +1316,7 @@ export const fnc = {
a_hkfkshijian: 'Remittance time/payment time', a_hkfkshijian: 'Remittance time/payment time',
a_dhuanlv: 'Exchange rate', a_dhuanlv: 'Exchange rate',
a_rminbi: 'RMB', a_rminbi: 'RMB',
a_ynd:"Rupiah",
a_qcyue: 'Opening balance', a_qcyue: 'Opening balance',
a_fkshijian: 'Payment time', a_fkshijian: 'Payment time',
a_heji: 'Total', a_heji: 'Total',
......
...@@ -1262,6 +1262,7 @@ export const fnc = { ...@@ -1262,6 +1262,7 @@ export const fnc = {
a_hkfkshijian:'送金時間/支払時間', a_hkfkshijian:'送金時間/支払時間',
a_dhuanlv:'為替レート', a_dhuanlv:'為替レート',
a_rminbi:'人民元', a_rminbi:'人民元',
a_ynd:"インドネシア盾",
a_qcyue:'期首残高', a_qcyue:'期首残高',
a_fkshijian:'支払い時間', a_fkshijian:'支払い時間',
a_heji:'合計', a_heji:'合計',
......
...@@ -1306,6 +1306,7 @@ export const fnc = { ...@@ -1306,6 +1306,7 @@ export const fnc = {
a_hkfkshijian: '匯款時間/付款時間', a_hkfkshijian: '匯款時間/付款時間',
a_dhuanlv: '兌換率', a_dhuanlv: '兌換率',
a_rminbi: '人民幣', a_rminbi: '人民幣',
a_ynd:"印尼盾",
a_qcyue: '期初餘額', a_qcyue: '期初餘額',
a_fkshijian: '付款時間', a_fkshijian: '付款時間',
a_heji: '合計', a_heji: '合計',
......
...@@ -1319,6 +1319,7 @@ export const fnc = { ...@@ -1319,6 +1319,7 @@ export const fnc = {
a_hkfkshijian: '汇款时间/付款时间', a_hkfkshijian: '汇款时间/付款时间',
a_dhuanlv: '兑换率', a_dhuanlv: '兑换率',
a_rminbi: '人民币', a_rminbi: '人民币',
a_ynd:"印尼盾",
a_qcyue: '期初余额', a_qcyue: '期初余额',
a_fkshijian: '付款时间', a_fkshijian: '付款时间',
a_heji: '合计', a_heji: '合计',
......
...@@ -1364,6 +1364,36 @@ ...@@ -1364,6 +1364,36 @@
</template> </template>
</span> </span>
</div> </div>
<div style="display: flex;align-items: center;margin-top:15px;" v-if="is_financeShow && GetDetail.Type==2 && item.AuditDescription.indexOf('会计')!=-1">
<div style="display: flex;align-items: center;flex-grow: 1;">
<span style="font-size: 14px;">{{$t('objFill.xiugaidianfudx')}}:</span>
<div style="display: flex;flex-grow: 1;">
<el-select
v-model="AuditOrRefundMsg.KingdeeClientID" class="w135 _border_b_1"
filterable
remote
reserve-keyword
:placeholder="$t('pub.PleaseKeyWords')"
:remote-method="GetClientAccountListByKeyWord"
>
<el-option v-for='item in ClientKingdeeAccountList'
:label='`${item.AccountAlias}(${item.AccountHolder}/${item.CardNum})`'
:value='item.ID'
:key='item.ID'>
<div>
<span>{{`${item.AccountAlias}(${item.AccountHolder}/${item.CardNum})`}}</span>
<span style="margin-left: 15px;">
<el-tag size="mini" v-if="item.Status==1">{{$t('pub.fressSel')}}</el-tag>
</span>
</div>
</el-option>
</el-select>
</div>
<div style="display: flex;flex-grow: 1;" v-if="GetDetail.AuditNumber!=''">
<span style="font-size: 24px;">{{GetDetail.AuditNumber}}</span>
</div>
</div>
</div>
<textarea v-if="item.SpecialNode!=2||AuditOrRefundMsg.Status=='3'" class="_textarea" <textarea v-if="item.SpecialNode!=2||AuditOrRefundMsg.Status=='3'" class="_textarea"
v-model="AuditOrRefundMsg.Description" :placeholder="$t('pub.pleaseImport')+'...'"></textarea> v-model="AuditOrRefundMsg.Description" :placeholder="$t('pub.pleaseImport')+'...'"></textarea>
<div v-else-if="item.SpecialNode!==0&&AuditOrRefundMsg.Status=='5'"> <div v-else-if="item.SpecialNode!==0&&AuditOrRefundMsg.Status=='5'">
......
...@@ -414,13 +414,22 @@ export default { ...@@ -414,13 +414,22 @@ export default {
return; return;
} }
if(!(this.msg.RB_Branch_Id==1252&&(this.msg.HelpBranchId==0||this.msg.HelpBranchId==1218))){ // if(!(this.msg.RB_Branch_Id==1252&&(this.msg.HelpBranchId==0||this.msg.HelpBranchId==1218))){
this.Error('暂不支持生成结算单,请联系管理员'); // this.Error('暂不支持生成结算单,请联系管理员');
return; // return;
} // }
let TemplateId2=0; let TemplateId2=35;let FBranchId=-1;
if(this.msg.RB_Branch_Id==1252&&this.msg.HelpBranchId==0){TemplateId2=35;}
if(this.msg.RB_Branch_Id==0&&this.msg.HelpBranchId==1218){TemplateId2=35;FBranchId=1218;}
if(this.msg.RB_Branch_Id==1218&&this.msg.HelpBranchId==0){TemplateId2=35;FBranchId=1218;}
if(this.msg.RB_Branch_Id==1252&&this.msg.HelpBranchId==0){TemplateId2=35;FBranchId=1252;}
if(this.msg.RB_Branch_Id==1252&&this.msg.HelpBranchId==1218){TemplateId2=292;} if(this.msg.RB_Branch_Id==1252&&this.msg.HelpBranchId==1218){TemplateId2=292;}
if(this.msg.RB_Branch_Id==0&&this.msg.HelpBranchId==1252){TemplateId2=35;FBranchId=1252;}
if(this.msg.RB_Branch_Id==1218&&this.msg.HelpBranchId==1252){TemplateId2=292;}
if(this.msg.RB_Branch_Id==1248||this.msg.HelpBranchId==1248){TemplateId2=289;FBranchId=1248;}
if(this.msg.RB_Branch_Id==1220||this.msg.HelpBranchId==1220){TemplateId2=285;FBranchId=1220;}
let ids = this.DataList.filter(citem => citem.check).map(x=>{ return x.FrID}) let ids = this.DataList.filter(citem => citem.check).map(x=>{ return x.FrID})
this.$router.push({ this.$router.push({
...@@ -428,6 +437,7 @@ export default { ...@@ -428,6 +437,7 @@ export default {
query: { query: {
'settlementFrIds': ids.join(','), 'settlementFrIds': ids.join(','),
'IsAirTicketSelect': TemplateId2, 'IsAirTicketSelect': TemplateId2,
'settlementBranchId':FBranchId,
'tab': '新增资金调拨', 'tab': '新增资金调拨',
'blank': "y" 'blank': "y"
} }
......
...@@ -506,6 +506,9 @@ export default { ...@@ -506,6 +506,9 @@ export default {
if(this.$route.query.IsAirTicketSelect){ if(this.$route.query.IsAirTicketSelect){
this.msg.IsAirTicketSelect=this.$route.query.IsAirTicketSelect; this.msg.IsAirTicketSelect=this.$route.query.IsAirTicketSelect;
} }
if(this.$route.query.settlementBranchId && this.$route.query.settlementBranchId>0){
this.msg.RB_Branch_Id=this.$route.query.settlementBranchId;
}
} }
if(this.$route.query.frIds){ if(this.$route.query.frIds){
......
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
} }
.hotelSalesBoard .stock2 { .hotelSalesBoard .stock2 {
color: white; color: green;
} }
/* 日期样式结束*/ /* 日期样式结束*/
......
...@@ -2374,6 +2374,7 @@ ...@@ -2374,6 +2374,7 @@
//获取TCID //获取TCID
clickAirticket(item) { clickAirticket(item) {
this.updateAirticketObj.TCID = item.TCID; this.updateAirticketObj.TCID = item.TCID;
console.log(" this.updateAirticketObj",item.TCID, this.updateAirticketObj)
}, },
//开启散客机票 //开启散客机票
openAirticket() { openAirticket() {
...@@ -2406,7 +2407,7 @@ ...@@ -2406,7 +2407,7 @@
tempMsg, tempMsg,
(res) => { (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
that.Success(this.$t("objFill.kaiqichenggong")); that.Success(that.$t("objFill.kaiqichenggong"));
that.getControlList(); that.getControlList();
} else { } else {
that.Error(res.data.data); that.Error(res.data.data);
......
...@@ -71,6 +71,7 @@ ...@@ -71,6 +71,7 @@
.comSearchDiv .el-checkbox { .comSearchDiv .el-checkbox {
margin-right: 0; margin-right: 0;
} }
</style> </style>
<template> <template>
<div> <div>
...@@ -785,6 +786,48 @@ ...@@ -785,6 +786,48 @@
{{item.TicketNum}}</span> {{item.TicketNum}}</span>
</el-popover> </el-popover>
</div> </div>
<div class="TC_SeatList" v-if="CurrentUserInfo.RB_Group_id == 2">
<template v-if="item.CanSellTicketNum > 0">
<span style="color: rgb(71, 191, 140)">{{ $t("objFill.kesouskjp") }}&nbsp;
<span style="color: red; font-size: 14px; font-weight: 700">{{
item.CanSellTicketNum
}}</span>&nbsp;{{ $t("objFill.zhang") }} </span>&nbsp;&nbsp;
<a @click="closeAirticket(item.TCID)" :title="$t('objFill.dianjigbksjp')"
style="cursor: pointer; color: red; text-decoration: underline">{{ $t("pub.closeSel") }}</a>
</template>
<template v-if="item.CanSellTicketNum == 0">
<span style="color: red">{{ $t("objFill.yiguanbskjp") }}</span>&nbsp;&nbsp;
<el-popover width="300" trigger="click" popper-class="TC_customerInfo">
<table>
<tr>
<td style="width: 100px;text-align: right;height: 30px;line-height: 30px;">
{{ $t("objFill.kesoujpsl") }}:
</td>
<td style="text-align: left; height: 30px; line-height: 30px">
<el-input type="text" style="width: 100px; padding-left: 5px"
v-model="updateAirticketObj.CanSellTicketNum" maxlength="1" @keyup.native="
checkInteger(updateAirticketObj, 'CanSellTicketNum')
"></el-input>
</td>
</tr>
<tr>
<td colspan="2" style="text-align: center; height: 10px; line-height: 10px"></td>
</tr>
<tr>
<td colspan="2" style="text-align: center">
<input type="button" class="normalBtn" :value="$t('pub.saveBtn')"
@click="openAirticket()" />
</td>
</tr>
</table>
<a slot="reference" :title="$t('objFill.dianjikqksjp')" @click="clickAirticket(item)" style="
cursor: pointer;
color: rgb(71, 191, 140);
text-decoration: underline;
">{{ $t("pub.openSel") }}</a>
</el-popover>
</template>
</div>
<template v-if="item.AuditStatus==1"> <template v-if="item.AuditStatus==1">
<span class="AuditRedType">{{$t('fnc.a_shezhong')}}</span> <span class="AuditRedType">{{$t('fnc.a_shezhong')}}</span>
</template> </template>
...@@ -1403,6 +1446,11 @@ ...@@ -1403,6 +1446,11 @@
copyType: "", copyType: "",
CurrentTCNUM: "", CurrentTCNUM: "",
}, },
//更新可售机票数量
updateAirticketObj: {
TCID: 0,
CanSellTicketNum: 2,
},
saveLoading: false, //保存loading防止重复提交 saveLoading: false, //保存loading防止重复提交
pickerBeginDateBefore: { pickerBeginDateBefore: {
disabledDate: time => { disabledDate: time => {
...@@ -1419,6 +1467,52 @@ ...@@ -1419,6 +1467,52 @@
}; };
}, },
methods: { methods: {
//获取TCID
clickAirticket(item) {
this.updateAirticketObj.TCID = item.TCID;
console.log(" this.updateAirticketObj", item.TCID, this.updateAirticketObj)
},
//开启散客机票
openAirticket() {
this.apipost(
"travel_post_SetCanSellTicketNumService",
this.updateAirticketObj,
(res) => {
if (res.data.resultCode == 1) {
this.Success(this.$t("objFill.kaiqichenggong"));
this.updateAirticketObj.TCID = 0;
this.updateAirticketObj.CanSellTicketNum = 2;
this.getControlList();
} else {
this.Error(res.data.data);
}
},
null
);
},
//关闭散客机票
closeAirticket(TCID) {
var that = this;
this.Confirm(that.$t("objFill.shifouygbksjp"), function () {
var tempMsg = {
TCID: TCID,
CanSellTicketNum: 0,
};
that.apipost(
"travel_post_SetCanSellTicketNumService",
tempMsg,
(res) => {
if (res.data.resultCode == 1) {
that.Success(that.$t("objFill.kaiqichenggong"));
that.getControlList();
} else {
that.Error(res.data.data);
}
},
null
);
});
},
CancelGroupType() { CancelGroupType() {
this.GroupTypeVisible = false this.GroupTypeVisible = false
this.GroupTypeObj = {} this.GroupTypeObj = {}
...@@ -2502,4 +2596,5 @@ ...@@ -2502,4 +2596,5 @@
this.getControlList(); this.getControlList();
} }
}; };
</script>
\ No newline at end of file </script>
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<div class="QuotationFirstDiv1"> <div class="QuotationFirstDiv1">
<table style="font-size:14px;"> <table style="font-size:14px;">
<tr> <tr>
<td width="80" class="txtRightCost">{{$t('objFill.v101.kaituants')}}</td> <td width="80" class="txtRightCost">{{$t('objFill.v101.chutuanleix')}}</td>
<td width="300"> <td width="300">
<template v-if="postConfig.TeamType==1"> <template v-if="postConfig.TeamType==1">
<span style="color:red;font-weight:bold;">{{postConfig.TeamTypeName}}</span> <span style="color:red;font-weight:bold;">{{postConfig.TeamTypeName}}</span>
...@@ -680,16 +680,39 @@ ...@@ -680,16 +680,39 @@
</td> </td>
<td> <td>
{{$t('objFill.tongyexsjg')}} {{$t('objFill.tongyexsjg')}}
<br />({{$t('fnc.a_rminbi')}}) <br />
<!--台湾印象和日本印象-->
<template v-if="postConfig.OutBranchId==1218||postConfig.OutBranchId==1220">
({{$t('objFill.ribi')}})
</template>
<!--印尼印象-->
<template v-else-if="postConfig.OutBranchId==1252">
({{$t('fnc.a_ynd')}})
</template>
<template v-else>({{$t('fnc.a_rminbi')}})
</template>
</td> </td>
<td> <td>
{{$t('objFill.zhikexsjg')}} {{$t('objFill.zhikexsjg')}}
<br />({{$t('fnc.a_rminbi')}}) <br />
<!--台湾印象和日本印象-->
<template v-if="postConfig.OutBranchId==1218||postConfig.OutBranchId==1220">
({{$t('objFill.ribi')}})
</template>
<!--印尼印象-->
<template v-else-if="postConfig.OutBranchId==1252">
({{$t('fnc.a_ynd')}})
</template>
<template v-else>({{$t('fnc.a_rminbi')}})
</template>
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==14||postConfig.LineId==118"> <!--台湾印象和日本印象-->
{{$t('Airticket.Air_salesPrice')}} <template v-if="postConfig.OutBranchId==1218||postConfig.OutBranchId==1220">
<br />({{$t('objFill.ribi')}}) <template v-if="postConfig.LineId==14||postConfig.LineId==118">
{{$t('Airticket.Air_salesPrice')}}
<br />({{$t('objFill.ribi')}})
</template>
</template> </template>
</td> </td>
<td colspan="2"> <td colspan="2">
...@@ -860,8 +883,11 @@ ...@@ -860,8 +883,11 @@
{{subItem.B2CSalePrice}} {{subItem.B2CSalePrice}}
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==14||postConfig.LineId==118"> <!--台湾印象和日本印象-->
{{subItem.JPYSalePrice}} <template v-if="postConfig.OutBranchId==1218||postConfig.OutBranchId==1220">
<template v-if="postConfig.LineId==14||postConfig.LineId==118">
{{subItem.JPYSalePrice}}
</template>
</template> </template>
</td> </td>
<td colspan="2"> <td colspan="2">
...@@ -875,7 +901,7 @@ ...@@ -875,7 +901,7 @@
</tr> </tr>
<tr> <tr>
<td class="CP_ComTitle2">{{$t('objFill.shenhebz')}}</td> <td class="CP_ComTitle2">{{$t('objFill.shenhebz')}}</td>
<td colspan="5"> <td colspan="3">
<template v-if="postConfig.OpAuditDate&&postConfig.OpAuditDate!='' "> <template v-if="postConfig.OpAuditDate&&postConfig.OpAuditDate!='' ">
<p> {{postConfig.OPName}}{{postConfig.OpAuditDate}} <p> {{postConfig.OPName}}{{postConfig.OpAuditDate}}
<template v-if="postConfig.OpAuditStatus==1"> <template v-if="postConfig.OpAuditStatus==1">
...@@ -912,6 +938,7 @@ ...@@ -912,6 +938,7 @@
{{postConfig.AuditContent}} {{postConfig.AuditContent}}
</p> </p>
</template> </template>
<template <template
v-if="postConfig.ChangeManagerAduitDate&&postConfig.ChangeManagerAduitDate!=''&&postConfig.ChangeManagerAduitName&&postConfig.ChangeManagerAduitName!=''"> v-if="postConfig.ChangeManagerAduitDate&&postConfig.ChangeManagerAduitDate!=''&&postConfig.ChangeManagerAduitName&&postConfig.ChangeManagerAduitName!=''">
<br /> <br />
...@@ -925,7 +952,7 @@ ...@@ -925,7 +952,7 @@
{{postConfig.ChangeManagerAduitContent}} {{postConfig.ChangeManagerAduitContent}}
</p> </p>
</template> </template>
<template v-if=" postConfig.ChangeAduitDate&&postConfig.ChangeAduitDate!=''"> <template v-if="postConfig.ChangeAduitDate&&postConfig.ChangeAduitDate!=''">
<br /> <br />
<p> <p>
{{postConfig.ChangeAuditByName}}{{postConfig.ChangeAduitDate}} {{postConfig.ChangeAuditByName}}{{postConfig.ChangeAduitDate}}
...@@ -942,6 +969,39 @@ ...@@ -942,6 +969,39 @@
<el-input type="textarea" v-model="postConfig.CRemarks"></el-input> <el-input type="textarea" v-model="postConfig.CRemarks"></el-input>
</template> </template>
</td> </td>
<td class="CP_ComTitle2">
变更原因:
</td>
<td colspan="5">
<template v-for="(cItem,cIndex) in dayCostPrice">
<template
v-if="cItem.IsHotelChange||cItem.IsBusChange ||cItem.IsBreakfastChange||cItem.IsLunchChange||cItem.IsDinnerChange||cItem.IsScenicChange||cItem.IsOtherChange">
<p :key="cIndex">{{cItem.DayNum}}
<template v-if="cItem.IsHotelChange">
酒店:{{cItem.HotelChangeRemark}} (<font style="color:red">{{cItem.HotelChangeValue}}</font>)
</template>
<template v-if="cItem.IsBusChange">
车资:{{cItem.BusChangeRemark}} (<font style="color:red">{{cItem.BusChangeValue}}</font>)
</template>
<template v-if="cItem.IsBreakfastChange">
早餐:{{cItem.BreakfastChangeRemark}} (<font style="color:red">{{cItem.BreakfastChangeValue}}</font>)
</template>
<template v-if="cItem.IsLunchChange">
午餐:{{cItem.LunchChangeRemark}} (<font style="color:red">{{cItem.LunchChangeValue}}</font>)
</template>
<template v-if="cItem.IsDinnerChange">
晚餐:{{cItem.DinnerChangeRemark}} (<font style="color:red">{{cItem.DinnerChangeValue}}</font>)
</template>
<template v-if="cItem.IsScenicChange">
景点:{{cItem.ScenicChangeRemark}} (<font style="color:red">{{cItem.ScenicChangeValue}}</font>)
</template>
<template v-if="cItem.IsOtherChange">
其他费用:{{cItem.OtherChangeRemark}} (<font style="color:red">{{cItem.OtherChangeValue}}</font>)
</template>
</p>
</template>
</template>
</td>
<td colspan="3"> <td colspan="3">
{{$t('objFill.dangqiantdlx')}}: <template v-if="postConfig.TeamTypeName=='小包团'"> {{$t('objFill.dangqiantdlx')}}: <template v-if="postConfig.TeamTypeName=='小包团'">
<span style="color:red;font-weight:bold;">{{postConfig.TeamTypeName}}</span> <span style="color:red;font-weight:bold;">{{postConfig.TeamTypeName}}</span>
...@@ -950,14 +1010,14 @@ ...@@ -950,14 +1010,14 @@
{{postConfig.TeamTypeName}} {{postConfig.TeamTypeName}}
</template> </template>
</td> </td>
<td colspan="4"> <!-- <td colspan="4">
<el-form-item :label="$t('objFill.v101.gengctleix')"> <el-form-item :label="$t('objFill.v101.gengctleix')">
<el-select class="multiple_input" v-model="postConfig.TeamType"> <el-select class="multiple_input" v-model="postConfig.TeamType">
<el-option v-for='item in teamList' :key="item.ID" :label="item.Name" :value="item.ID"> <el-option v-for='item in teamList' :key="item.ID" :label="item.Name" :value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</td> </td> -->
</tr> </tr>
<!--报价单审核--> <!--报价单审核-->
<tr v-if="IsEdit==2"> <tr v-if="IsEdit==2">
...@@ -1017,6 +1077,10 @@ ...@@ -1017,6 +1077,10 @@
changeOffer: changeOffer, changeOffer: changeOffer,
}, },
methods: { methods: {
//获取变更原因
getChangeRemark() {
},
//关闭弹窗 //关闭弹窗
closeDialog() { closeDialog() {
this.changMsg.isShowChangeOffer = false; this.changMsg.isShowChangeOffer = false;
......
...@@ -577,16 +577,40 @@ ...@@ -577,16 +577,40 @@
</td> </td>
<td> <td>
{{$t('objFill.tongyexsjg')}} {{$t('objFill.tongyexsjg')}}
<br />({{$t('fnc.a_rminbi')}})
<br />
<!--台湾印象和日本印象-->
<template v-if="postConfig.OutBranchId==1218||postConfig.OutBranchId==1220">
({{$t('objFill.ribi')}})
</template>
<!--印尼印象-->
<template v-else-if="postConfig.OutBranchId==1252">
({{$t('fnc.a_ynd')}})
</template>
<template v-else>({{$t('fnc.a_rminbi')}})
</template>
</td> </td>
<td> <td>
{{$t('objFill.zhikexsjg')}} {{$t('objFill.zhikexsjg')}}
<br />({{$t('fnc.a_rminbi')}}) <br />
<!--台湾印象和日本印象-->
<template v-if="postConfig.OutBranchId==1218||postConfig.OutBranchId==1220">
({{$t('objFill.ribi')}})
</template>
<!--印尼印象-->
<template v-else-if="postConfig.OutBranchId==1252">
({{$t('fnc.a_ynd')}})
</template>
<template v-else>({{$t('fnc.a_rminbi')}})
</template>
</td> </td>
<td> <td>
<template v-if="postConfig.LineId==14||postConfig.LineId==118"> <!--台湾印象和日本印象-->
{{$t('Airticket.Air_salesPrice')}} <template v-if="postConfig.OutBranchId==1218||postConfig.OutBranchId==1220">
<br />({{$t('objFill.ribi')}}) <template v-if="postConfig.LineId==14||postConfig.LineId==118">
{{$t('Airticket.Air_salesPrice')}}
<br />({{$t('objFill.ribi')}})
</template>
</template> </template>
</td> </td>
<td colspan="2"> <td colspan="2">
...@@ -629,17 +653,20 @@ ...@@ -629,17 +653,20 @@
{{subItem.TotalMoney}} {{subItem.TotalMoney}}
</td> </td>
<td> <td>
<el-input type='text' class="w70" v-model="subItem.SalePrice" <el-input type='text' class="w120" v-model="subItem.SalePrice"
@keyup.native="checkPrice(subItem,'SalePrice')" maxlength="8"></el-input> @keyup.native="checkPrice(subItem,'SalePrice')" maxlength="8"></el-input>
</td> </td>
<td> <td>
<el-input type='text' class="w70" v-model="subItem.B2CSalePrice" <el-input type='text' class="w120" v-model="subItem.B2CSalePrice"
@keyup.native="checkPrice(subItem,'B2CSalePrice')" maxlength="8"></el-input> @keyup.native="checkPrice(subItem,'B2CSalePrice')" maxlength="8"></el-input>
</td> </td>
<td> <td>
<el-input v-if="postConfig.LineId==14||postConfig.LineId==118" type='text' class="w70" <!--台湾印象和日本印象-->
v-model="subItem.JPYSalePrice" @keyup.native="checkPrice(subItem,'JPYSalePrice')" maxlength="8"> <template v-if="postConfig.OutBranchId==1218||postConfig.OutBranchId==1220">
</el-input> <el-input v-if="postConfig.LineId==14||postConfig.LineId==118" type='text' class="w70"
v-model="subItem.JPYSalePrice" @keyup.native="checkPrice(subItem,'JPYSalePrice')" maxlength="8">
</el-input>
</template>
</td> </td>
<td colspan="2"> <td colspan="2">
<el-input type="textarea" v-model="subItem.CostRemark"></el-input> <el-input type="textarea" v-model="subItem.CostRemark"></el-input>
...@@ -1028,7 +1055,7 @@ ...@@ -1028,7 +1055,7 @@
this.getConvertMoney(this.otherPrice.AirTicketShareMoney) + this.getConvertMoney(this.otherPrice.AirTicketShareMoney) +
this.getConvertMoney(this.teamPrice.NightPrice) + this.getConvertMoney(this.teamPrice.NightPrice) +
this.getConvertMoney(this.teamPrice.VisaPrice) + this.getConvertMoney(this.teamPrice.VisaPrice) +
this.getConvertMoney(this.otherPrice.InlandTrainTicketMoney)+ this.getConvertMoney(this.otherPrice.InlandTrainTicketMoney) +
this.getConvertMoney(this.otherPrice.SafeMoney) - this.getConvertMoney(this.otherPrice.SafeMoney) -
this.getConvertMoney(this.otherPrice.KBMoney) this.getConvertMoney(this.otherPrice.KBMoney)
return totalMoney; return totalMoney;
......
...@@ -90,21 +90,31 @@ ...@@ -90,21 +90,31 @@
<tr> <tr>
<td width="80" class="txtRightCost">{{$t('objFill.v101.chutuanleix')}}</td> <td width="80" class="txtRightCost">{{$t('objFill.v101.chutuanleix')}}</td>
<td> <td>
<el-select class="multiple_input" v-model="postData.TeamType" <el-select class="multiple_input" v-model="postData.TeamType" @change="changeTeamType()">
@change="postData.LineId=0,postData.LineteamId=0">
<el-option v-for='item in teamList' :key="item.ID" :label="item.Name" :value="item.ID"> <el-option v-for='item in teamList' :key="item.ID" :label="item.Name" :value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
<td width="80" class="txtRightCost">{{$t('objFill.tuanduilx')}}</td> <td width="80" class="txtRightCost">
<template v-if="postData.TeamType==0||postData.TeamType==1">{{$t('objFill.tuanduilx')}}
</template>
</td>
<td> <td>
<el-select class="multiple_input" v-model="postData.PriceTeamType"> <template v-if="postData.TeamType==0||postData.TeamType==1">
<template v-for="item in TeamListArr"> <el-select class="multiple_input" v-model="postData.PriceTeamType">
<el-option v-if="item.Id==1||item.Id==2||item.Id==3||item.Id==4||item.Id==9" :key="item.Id" <template v-for="item in TeamListArr">
:label="item.Name" :value="item.Id"> <template v-if="postData.TeamType==0">
</el-option> <el-option v-if="item.Id==1||item.Id==2||item.Id==3||item.Id==9" :key="item.Id"
</template> :label="item.Name" :value="item.Id">
</el-select> </el-option>
</template>
<template v-if="postData.TeamType==1">
<el-option v-if="item.Id==3||item.Id==2" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option>
</template>
</template>
</el-select>
</template>
</td> </td>
<td width="80" class="txtRightCost">{{$t('advmanager.v_line')}}</td> <td width="80" class="txtRightCost">{{$t('advmanager.v_line')}}</td>
<td> <td>
...@@ -351,6 +361,16 @@ ...@@ -351,6 +361,16 @@
}; };
}, },
methods: { methods: {
changeTeamType() {
this.postData.LineId = 0;
this.postData.LineteamId = 0;
this.postData.PriceTeamType = '';
if (this.postData.TeamType == 0) {
this.postData.PriceTeamType = 1;
} else if (this.postData.TeamType == 1) {
this.postData.PriceTeamType = 3;
}
},
//获取所有币种 //获取所有币种
getAllCurrency() { getAllCurrency() {
this.apipost( this.apipost(
......
...@@ -172,7 +172,9 @@ ...@@ -172,7 +172,9 @@
<span>{{getTitle(item)}}</span> <span>{{getTitle(item)}}</span>
</el-tooltip> </el-tooltip>
</p> </p>
<p>{{$t('fnc.khmingcheng')}}:{{item.CustomerName}}</p> <template v-if="item.CustomerName&&item.CustomerName!=''">
<p>{{$t('fnc.khmingcheng')}}{{item.CustomerName}}</p>
</template>
<p>{{$t('scen.sc_cp')}}:{{item.OutBranchName}}</p> <p>{{$t('scen.sc_cp')}}:{{item.OutBranchName}}</p>
</div> </div>
</div> </div>
......
...@@ -911,18 +911,25 @@ ...@@ -911,18 +911,25 @@
</div> </div>
<div class="clearfix"> <div class="clearfix">
<div class="TPright clearfix"> <div class="TPright clearfix">
<el-form-item style="margin-top:1px;"> <template v-if="priceData.TeamType==0||priceData.TeamType==1">
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('objFill.tuanduilx')}}</span> <el-form-item style="margin-top:1px;">
<el-select class="w180" v-model="priceData.PriceTeamType"> <span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('objFill.tuanduilx')}}</span>
<template v-for="item in TeamListArr"> <el-select class="w180" v-model="priceData.PriceTeamType">
<!--去掉小包团2023-04-19--> <template v-for="item in TeamListArr">
<el-option v-if="item.Id==1||item.Id==2||item.Id==3||item.Id==4||item.Id==9" :key="item.Id" <template v-if="priceData.TeamType==0">
:label="item.Name" :value="item.Id"> <el-option v-if="item.Id==1||item.Id==2||item.Id==3||item.Id==9" :key="item.Id"
</el-option> :label="item.Name" :value="item.Id">
</template> </el-option>
</el-select> </template>
</el-form-item> <template v-if="priceData.TeamType==1">
<el-form-item style="margin-top:1px;"> <el-option v-if="item.Id==3||item.Id==2" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option>
</template>
</template>
</el-select>
</el-form-item>
</template>
<el-form-item style="margin-top:1px;display:none;">
<span class="TP_Sendprepend" <span class="TP_Sendprepend"
style="margin:3px -1px 0 0">{{$t('objFill.v101.myOrdersAllType.baojiaddz')}}</span> style="margin:3px -1px 0 0">{{$t('objFill.v101.myOrdersAllType.baojiaddz')}}</span>
<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;"
......
...@@ -554,7 +554,7 @@ ...@@ -554,7 +554,7 @@
<template slot="prepend">{{$t('Operation.Op_oldmanSurcharge')}}</template> <template slot="prepend">{{$t('Operation.Op_oldmanSurcharge')}}</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<!-- 团费包含签证 <!-- 团费包含签证
<el-form-item prop="VisaPrice"> <el-form-item prop="VisaPrice">
<el-input :placeholder="$t('pub.pleaseImport')" class="w190 ComSeat" v-model="priceData.VisaPrice" <el-input :placeholder="$t('pub.pleaseImport')" class="w190 ComSeat" v-model="priceData.VisaPrice"
@keyup.native="checkPrice(priceData,'VisaPrice')"> @keyup.native="checkPrice(priceData,'VisaPrice')">
...@@ -612,7 +612,7 @@ ...@@ -612,7 +612,7 @@
<template slot="prepend">{{$t('Operation.Op_childNobed')}}</template> <template slot="prepend">{{$t('Operation.Op_childNobed')}}</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item prop="BackVisaPrice"> <el-form-item prop="BackVisaPrice">
<el-input :placeholder="$t('pub.pleaseImport')" class="w190 ComSeat" <el-input :placeholder="$t('pub.pleaseImport')" class="w190 ComSeat"
v-model="priceData.BackVisaPrice" @keyup.native="checkInteger(priceData,'BackVisaPrice')"> v-model="priceData.BackVisaPrice" @keyup.native="checkInteger(priceData,'BackVisaPrice')">
...@@ -897,17 +897,25 @@ ...@@ -897,17 +897,25 @@
</div> </div>
<div class="clearfix"> <div class="clearfix">
<div class="TPright clearfix"> <div class="TPright clearfix">
<el-form-item prop="OutBranchId" style="margin-top:1px;"> <template v-if="priceData.TeamType==0||priceData.TeamType==1">
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('objFill.tuanduilx')}}</span> <el-form-item prop="OutBranchId" style="margin-top:1px;">
<el-select class="w180" v-model="priceData.PriceTeamType"> <span class="TP_Sendprepend" style="margin:3px -1px 0 0">{{$t('objFill.tuanduilx')}}</span>
<template v-for="item in TeamListArr"> <el-select class="w180" v-model="priceData.PriceTeamType">
<!--去掉小包团2023-04-19--> <template v-for="item in TeamListArr">
<el-option v-if="item.Id==2||item.Id==3" :key="item.Id" :label="item.Name" :value="item.Id"> <template v-if="priceData.TeamType==0">
</el-option> <el-option v-if="item.Id==1||item.Id==2||item.Id==3||item.Id==9" :key="item.Id"
</template> :label="item.Name" :value="item.Id">
</el-select> </el-option>
</el-form-item> </template>
<el-form-item style="margin-top:1px;"> <template v-if="priceData.TeamType==1">
<el-option v-if="item.Id==3||item.Id==2" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option>
</template>
</template>
</el-select>
</el-form-item>
</template>
<el-form-item style="margin-top:1px;display:none;">
<span class="TP_Sendprepend" <span class="TP_Sendprepend"
style="margin:3px -1px 0 0">{{$t('objFill.v101.myOrdersAllType.baojiaddz')}}</span> style="margin:3px -1px 0 0">{{$t('objFill.v101.myOrdersAllType.baojiaddz')}}</span>
<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;"
...@@ -1410,7 +1418,7 @@ ...@@ -1410,7 +1418,7 @@
ForeignPassportPrice: 0, ForeignPassportPrice: 0,
UseFlightType: this.CurrentUserInfo.UseFlightType, UseFlightType: this.CurrentUserInfo.UseFlightType,
SupplierId: 0, //供应商编号 SupplierId: 0, //供应商编号
PriceTeamType: 1, //团队类型 PriceTeamType: 3, //团队类型
PriceOfferUrl: '', //报价单地址 PriceOfferUrl: '', //报价单地址
PriceOfferName: "", //报价单名称 PriceOfferName: "", //报价单名称
IsUseCompanyBus: 0, //是否使用公司车辆 IsUseCompanyBus: 0, //是否使用公司车辆
...@@ -1419,7 +1427,7 @@ ...@@ -1419,7 +1427,7 @@
IsNeedAirportShuttle: 0, //是否需要接送服务 IsNeedAirportShuttle: 0, //是否需要接送服务
GuideNum: 0, //导游人数 GuideNum: 0, //导游人数
IsLeaderDaiTuan: 1, //领队带团/不带团 IsLeaderDaiTuan: 1, //领队带团/不带团
IsNewArrival: 0, //是否新品 IsNewArrival: 0, //是否新品
}; };
} }
this.returnPriceList.push(objItem); this.returnPriceList.push(objItem);
......
...@@ -1178,7 +1178,7 @@ ...@@ -1178,7 +1178,7 @@
ForeignPassportPrice: 0, ForeignPassportPrice: 0,
UseFlightType: this.CurrentUserInfo.UseFlightType, UseFlightType: this.CurrentUserInfo.UseFlightType,
SupplierId: 0, //供应商编号 SupplierId: 0, //供应商编号
PriceTeamType: 1, //团队类型 PriceTeamType: "", //团队类型
PriceOfferUrl: '', //报价单地址 PriceOfferUrl: '', //报价单地址
PriceOfferName: "", //报价单名称 PriceOfferName: "", //报价单名称
IsUseCompanyBus: 0, //是否使用公司车辆 IsUseCompanyBus: 0, //是否使用公司车辆
......
...@@ -1276,7 +1276,7 @@ ...@@ -1276,7 +1276,7 @@
ForeignPassportPrice: 0, ForeignPassportPrice: 0,
UseFlightType: this.CurrentUserInfo.UseFlightType, UseFlightType: this.CurrentUserInfo.UseFlightType,
SupplierId: 0, //供应商编号 SupplierId: 0, //供应商编号
PriceTeamType: 1, //团队类型 PriceTeamType: "", //团队类型
PriceOfferUrl: '', //报价单地址 PriceOfferUrl: '', //报价单地址
PriceOfferName: "", //报价单名称 PriceOfferName: "", //报价单名称
IsUseCompanyBus: 0, //是否使用公司车辆 IsUseCompanyBus: 0, //是否使用公司车辆
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<el-select <el-select
v-model="parameters.branchId" v-model="parameters.branchId"
style="margin-right: 20px;" style="margin-right: 20px;"
@change="handleDateChange()" @change="getEmpList(),parameters.empIdList=[],handleDateChange()"
> >
<el-option <el-option
v-for="(x, i) in branchs" v-for="(x, i) in branchs"
...@@ -16,6 +16,22 @@ ...@@ -16,6 +16,22 @@
:value="x.Id" :value="x.Id"
></el-option> ></el-option>
</el-select> </el-select>
<el-select
v-model="parameters.empIdList"
style="margin-right: 20px;"
@change="handleDateChange()"
multiple
filterable
collapse-tags
>
<el-option
v-for="(x, i) in empList"
:key="i"
:label="x.EmName"
:value="x.EmployeeId"
></el-option>
</el-select>
<el-date-picker <el-date-picker
v-model="parameters.dateRange" v-model="parameters.dateRange"
type="daterange" type="daterange"
...@@ -627,7 +643,7 @@ export default { ...@@ -627,7 +643,7 @@ export default {
const end = new Date(); const end = new Date();
const start = new Date(); const start = new Date();
start.setTime(start.getTime() - 3600 * 1000 * 24 * 8); start.setTime(start.getTime() - 3600 * 1000 * 24 * 8);
end.setTime(end.getTime() - 3600 * 1000 * 24 * 1); end.setTime(end.getTime());
picker.$emit("pick", [start, end]); picker.$emit("pick", [start, end]);
} }
}, },
...@@ -637,7 +653,7 @@ export default { ...@@ -637,7 +653,7 @@ export default {
const end = new Date(); const end = new Date();
const start = new Date(); const start = new Date();
start.setTime(start.getTime() - 3600 * 1000 * 24 * 31); start.setTime(start.getTime() - 3600 * 1000 * 24 * 31);
end.setTime(end.getTime() - 3600 * 1000 * 24 * 1); end.setTime(end.getTime());
picker.$emit("pick", [start, end]); picker.$emit("pick", [start, end]);
} }
}, },
...@@ -647,13 +663,13 @@ export default { ...@@ -647,13 +663,13 @@ export default {
const end = new Date(); const end = new Date();
const start = new Date(); const start = new Date();
start.setTime(start.getTime() - 3600 * 1000 * 24 * 91); start.setTime(start.getTime() - 3600 * 1000 * 24 * 91);
end.setTime(end.getTime() - 3600 * 1000 * 24 * 1); end.setTime(end.getTime());
picker.$emit("pick", [start, end]); picker.$emit("pick", [start, end]);
} }
} }
], ],
disabledDate(time) { disabledDate(time) {
return time.getTime() > new Date(Date.now() - 3600 * 1000 * 24); return time.getTime() > new Date(Date.now() );
} }
}, },
menus: [ menus: [
...@@ -679,8 +695,10 @@ export default { ...@@ -679,8 +695,10 @@ export default {
branchId: -1, branchId: -1,
dateRange: [], dateRange: [],
StartDate: "", StartDate: "",
EndDate: "" EndDate: "",
empIdList:[],
}, },
empList:[],//员工列表
coreId: 1, coreId: 1,
coreLists: [ coreLists: [
{ {
...@@ -832,10 +850,11 @@ export default { ...@@ -832,10 +850,11 @@ export default {
}, },
created() { created() {
this.getCompanyList(); this.getCompanyList();
this.getEmpList()
const end = new Date(); const end = new Date();
const start = new Date(); const start = new Date();
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7); start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
end.setTime(end.getTime() - 3600 * 1000 * 24); end.setTime(end.getTime());
this.parameters.dateRange = [ this.parameters.dateRange = [
start.toLocaleString().split(" ")[0], start.toLocaleString().split(" ")[0],
end.toLocaleString().split(" ")[0] end.toLocaleString().split(" ")[0]
...@@ -916,7 +935,26 @@ export default { ...@@ -916,7 +935,26 @@ export default {
query query
}); });
} }
},
getEmpList(){
let userInfo = this.getLocalStorage();
let msg = {
GroupId: userInfo.RB_Group_id,
BranchId: "-1",
DepartmentId: "-1",
PostId: "-1",
IsLeave: "0",
};
msg.BranchId=this.parameters.branchId;
this.apipost(
"admin_get_EmployeeGetList", msg,
(res) => {
if (res.data.resultCode == 1) {
this.empList = res.data.data;
}
},
(err) => {}
);
}, },
handleDateChange() { handleDateChange() {
this.getCustomerStatic(); this.getCustomerStatic();
......
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