Commit efb8bb26 authored by 华国豪's avatar 华国豪 🙄

国际化...

parent d159e8c8
......@@ -936,6 +936,73 @@ export const fnc = {
shsiyao: '商户私钥',
ptgongyao: '平台公钥',
banbenhao: '版本号',
shoukuandan: '收款单',
fukuandan: '付款单',
sfytxiangguan: '是否与团相关',
spliucheng: '审批流程',
liuchengtu: '流程图',
gongzhang: '公账',
sizhang: '私账',
rmbxianjin: '人民币现金',
wbxianjin: '外币现金',
ptxnzhanghu: '平台虚拟账户',
djxnzhanghu: '地接虚拟账户',
szxiangdi: '收支相抵',
khleixing: '客户类型',
fkduixiang: '付款对象',
khmingcheng: '客户名称',
zslingdui: '正式领队/导游',
lslingdui: '临时领队/导游',
daishengcheng: '待生成',
fkzhanghu: '付款账户',
qxzfkzh: '请选择付款账户',
ldmingcheng: '领队名称',
day: '日',
fyshuoming: '费用说明',
danjia: '单价',
jine: '金额',
yuanbi: '原币',
sfjine: '实付金额',
daxie: '(大写)',
xiaoxie: '(小写)',
yjfkuanriqi: '预计付款日期',
qxzrqshijian: '选择日期时间',
fjshuoming: '附加说明',
fygsbumen: '费用归属部门',
gnpiaowu: '国内票务',
jpshouzhi: '机票收支',
xiayibu: '下一步',
tijiao: '提交',
zancun: '暂存',
jxzhidan: '继续制单',
nothanks: '不了,谢谢',
kuaijilian: '(会计联)',
yewulian: '(业务联)',
dayinshijian: '打印时间',
hnrdanwei: '汇款人(单位)',
huikuanren: '汇款人',
fkzhlshuihao: '付款账户(流水号)',
jpbianhao: '机票编号',
skjine: '收款金额',
fkjine: '付款金额',
ling: '零',
qian: '前',
cnskuandan: '出纳收款单',
cnfkuandan: '出纳付款单',
cnfshulian: '附属出纳联',
fkfangshi: '付款方式',
danhao: '单号',
zhidanren: '制单人',
wbzjine: '外币总金额',
bwbzjine: '本位币总金额',
hkshijian: '汇款时间',
jiaoyiriqi: '交易日期',
fkuanzhanghu: '收款账户',
skuanzhanghao: '收款账号',
shouxufei: '手续费',
khyuanbi: '(原币)',
khbweibi: '(本位币)',
jylshuihao: '交易流水号',
}
export const tips = {
tips: '提示',
......@@ -987,6 +1054,12 @@ export const tips = {
feiyongleixing: '费用类型?',
qxzzhleixing: '请选择账户类型!',
dzfpzxxdelete: '的支付信息配置?删除后不可撤回!',
qscWEfile: '请上传图片、word、excel类型的文件!',
czcgsfjxzhidan: '操作成功,是否继续制单?',
jpswxzxianlu: '机票尚未选择线路',
qzcpbianhao: '签证产品编号',
qishu: '期数',
jiaoyifangshi: '交易方式',
}
export const Operation = {
Op_ShortName:'线路简称',
......@@ -1072,4 +1145,15 @@ export const rule = {
qxzshleixing: '请选择账户类型',
qxzzhfenlei: '请选择账户分类',
qxzzhanghu: '请选择账户',
qsrdingdanhao: '请输入订单号',
qxzfyshuoming: '请选择费用说明',
qxzbzhong: '请选择币种',
qxzxybshren: '请选择下一步审批人',
qtxzsyxfyshuoming: '请填写至少一项费用说明!',
qxzyjfkshijian: '请选择预计付款时间!',
qxzfkduixiang: '请选择付款对象!',
qxzkhmingcheng: '请选择客户名称!',
qxzfkdzhanghu: '请选择付款账户',
qxzxybsheren: '请选择下一步审核人',
qxzzdbumen:' 请选择制单部门',
}
......@@ -42,28 +42,28 @@
<div>
<div class="w350 form_box" v-if="!R && !F">
<el-form label-width="110px" :model="ruleForm" :rules="rules" ref="ruleForm">
<el-form-item label="费用方向" prop="Type">
<el-form-item :label="$t('fnc.feiyongfangxiang')" prop="Type">
<el-radio-group v-model="ruleForm.Type" @change="Financial_post_GetCostTypeList(0)" :disabled="!!payType">
<el-radio :label="1">收入</el-radio>
<el-radio :label="2">支出</el-radio>
<el-radio :label="1">{{$t('restaurant.res_income')}}</el-radio>
<el-radio :label="2">{{$t('restaurant.res_outcome')}}</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="是否与团相关" prop="Is_TCID">
<el-form-item :label="$t('fnc.sfytxiangguan')" prop="Is_TCID">
<el-radio-group v-model="ruleForm.Is_TCID" :disabled="!!(this.orderObj && this.orderObj.TCIDList && this.orderObj.TCIDList.length)">
<el-radio :label="1">&nbsp;&nbsp;&nbsp;&nbsp;</el-radio>
<el-radio :label="0">&nbsp;&nbsp;&nbsp;&nbsp;</el-radio>
<el-radio :label="1">{{$t('fnc.yes')}}&nbsp;&nbsp;&nbsp;&nbsp;</el-radio>
<el-radio :label="0">{{$t('fnc.fou')}}&nbsp;&nbsp;&nbsp;&nbsp;</el-radio>
</el-radio-group>
</el-form-item>
<template v-for="(item, index) in TCIDAndTCNUMList" >
<el-form-item label="团号" v-if="ruleForm.Is_TCID===1" class="TCIDAndTCNUMList_item" >
<el-form-item :label="$t('visa.v_tuanhao')" v-if="ruleForm.Is_TCID===1" class="TCIDAndTCNUMList_item" >
<el-input v-model="item.TCID" class="w240"></el-input>
<span class="_add_small_btn"><span class="_add_trip _add_small" @click="addTCID">+</span> <span class="_add_trip _add_small _delete_trip" :style="{opacity: index === 0 ? '0' : '1'}" @click="deleteTCID(index)">+</span></span>
</el-form-item>
</template>
<el-form-item label="订单号" v-if="ruleForm.Is_TCID===1" >
<el-form-item :label="$t('hotel.order_Number')" v-if="ruleForm.Is_TCID===1" >
<el-input v-model="ruleForm.OrderID" class="w240"></el-input>
</el-form-item>
<el-form-item label="所属公司" prop="RB_Branch_Id" >
<el-form-item: label="$t('fnc.ssuogongsi')" prop="RB_Branch_Id" >
<el-select filterable v-model='ruleForm.RB_Branch_Id' class="w240">
<el-option v-for='item in CompanyList'
:label='item.BName'
......@@ -73,14 +73,14 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="费用类型" prop="CostTypeID" >
<el-select v-model="ruleForm.CostTypeID" placeholder="请选择费用类型" filterable class="w240">
<el-form-item :label="$t('fnc.feiyongleixing')" prop="CostTypeID" >
<el-select v-model="ruleForm.CostTypeID" :placeholder="$t('rule.qxzfyleixing')" filterable class="w240">
<el-option v-for="item in GetCostTypeList" :label="item.Name" :value="item.ID" :key="item.ID"></el-option>
</el-select>
</el-form-item>
<el-form-item>
<div style="display: inline-block;line-height: 30px" class="normalBtn" @click="submitForm('ruleForm')">确定</div>
<div style="display: inline-block;line-height: 30px" class="hollowFixedBtn" @click="resetForm('ruleForm')">取消</div>
<div style="display: inline-block;line-height: 30px" class="normalBtn" @click="submitForm('ruleForm')">{{$t('pub.sureBtn')}}</div>
<div style="display: inline-block;line-height: 30px" class="hollowFixedBtn" @click="resetForm('ruleForm')">{{$t('pub.cancelBtn')}}</div>
</el-form-item>
</el-form>
</div>
......@@ -139,16 +139,16 @@ export default {
{ required: true }
],
TCID: [
{ required: true, message: '请输入团号', trigger: 'blur' }
{ required: true, message: this.$t('visa.v_shurutuanhao'), trigger: 'blur' }
],
OrderID: [
{ required: true, message: '请输入订单号', trigger: 'blur' }
{ required: true, message: this.$t('rule.qsrdingdanhao'), trigger: 'blur' }
],
CostTypeID: [
{ required: true, message: '请选择费用类型', trigger: 'change' }
{ required: true, message: this.$t('rule.qxzfyleixing'), trigger: 'change' }
],
RB_Branch_Id: [
{ required: true, message: '请选择所属公司', trigger: 'change' }
{ required: true, message: this.$t('rule.qszssgongsi'), trigger: 'change' }
],
},
payType: null,
......
......@@ -22,12 +22,12 @@
<template>
<div>
<ul class="_nav clearfix" v-if="showTab==0">
<li :class="active==1?'_active':''" @click="active=1,tabData(1)">收款单</li>
<li :class="active==2?'_active':''" @click="active=2,tabData(2)">付款单</li>
<li :class="active==1?'_active':''" @click="active=1,tabData(1)">{{$t('fnc.shoukuandan')}}</li>
<li :class="active==2?'_active':''" @click="active=2,tabData(2)">{{$t('fnc.fukuandan')}}</li>
</ul>
<ul class="_nav clearfix" v-else>
<li :class="active==1?'_active':''" v-if="showTab==1">收款单</li>
<li :class="active==2?'_active':''" v-if="showTab==2">付款单</li>
<li :class="active==1?'_active':''" v-if="showTab==1">{{$t('fnc.shoukuandan')}}</li>
<li :class="active==2?'_active':''" v-if="showTab==2">{{$t('fnc.fukuandan')}}</li>
</ul>
<ul class="_conten">
<li v-for="(item,index) in GetList">
......@@ -39,22 +39,22 @@
</div>
</div>
<div class="_right">
<el-tooltip popper-class="item _process" effect="dark" content="流程" placement="top">
<el-tooltip popper-class="item _process" effect="dark" :content="$t('fnc.liucheng')" placement="top">
<el-popover
popper-class="detailsIT_Journal"
width="580"
trigger="click">
<div class="InfoChangeLog" >
<div class="changLog">
<p class="_log_t">收款流程</p>
<p class="_log_t">{{$t('fnc.skliucheng')}}</p>
<my-FlowChartModule :data="AuditListData"></my-FlowChartModule>
</div>
</div>
<i slot="reference" class="iconfont icon-liucheng" @click="getFlowChart(item.Id)"></i>
</el-popover>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="新增" placement="top">
<i class="edit el-icon-circle-plus-outline" @click="goUrl('addFinancialDocuments',item.Id,item.Name+'单',item.Type,item.IsUploadPic)"></i>
<el-tooltip class="item" effect="dark" :content="$t('pub.addBtn')" placement="top">
<i class="edit el-icon-circle-plus-outline" @click="goUrl('addFinancialDocuments',item.Id,item.Name+$t('visa.v_dan'),item.Type,item.IsUploadPic)"></i>
</el-tooltip>
</div>
</li>
......@@ -97,7 +97,7 @@
if(res.data.resultCode==1){
this.lastID = id
res.data.data.forEach(y=>{
y.contentTips = y.AuditDescription+(y.AuditWay=="2"?'(会签)':'(或签)')
y.contentTips = y.AuditDescription+(y.AuditWay=="2"? this.$t('fnc.huiqian') : this.$t('fnc.huoqian'))
});
this.AuditListData.AuditList = res.data.data
}else{}
......
......@@ -25,30 +25,30 @@
<div class="Receipt_box" :class="GetDetail.Type==1?'':'color_blur'" :style="{width:width,backgroundColor:color}" @click.stop v-loading='loading'>
<p class="rb_tit">{{GetDetail.CompanyName}}{{GetDetail.BranchName}}</p>
<p class="rb_stit">
<span>{{GetDetail.Type==1?'出纳收款单':'出纳付款单'}}</span>
<span>{{GetDetail.Type==1?$t('fnc.cnskuandan'):$t('fnc.cnfkuandan')}}</span>
</p>
<div class="rb_top_row _r_mb5">
<p v-if="GetDetail.Type==1">汇款人(单位)<span class="_r_name">{{GetDetail.RemitterName}}</span></p>
<p v-if="GetDetail.Type==2">付款对象<span class="_r_name">{{GetDetail.AccountHolder}}</span></p>
<p style="display:none"><span class="_r_bold">No.</span>{{GetDetail.FrID}}-附属出纳联</p>
<p v-if="GetDetail.Type==1">{{$t('fnc.hnrdanwei')}}<span class="_r_name">{{GetDetail.RemitterName}}</span></p>
<p v-if="GetDetail.Type==2">{{$t('fnc.fkduixiang')}}<span class="_r_name">{{GetDetail.AccountHolder}}</span></p>
<p style="display:none"><span class="_r_bold">No.</span>{{GetDetail.FrID}}-{{$t('fnc.cnfshulian')}}</p>
</div>
<div class="rb_top_row _r_mb5">
<p v-if="GetDetail.Type==1">付款账户(流水号)<span class="_r_name">{{GetDetail.AccountNumber}}{{GetDetail.CreateDate}}</span></p>
<p v-if="GetDetail.Type==2">付款账户:<span class="_r_name">{{GetDetail.AccountNumber}}{{GetDetail.CreateDate}}</span></p>
<p><span class="_r_bold">No.</span>{{GetDetail.FrID}}-附属出纳联</p>
<p v-if="GetDetail.Type==1">{{$t('fnc.fkzhlshuihao')}}<span class="_r_name">{{GetDetail.AccountNumber}}{{GetDetail.CreateDate}}</span></p>
<p v-if="GetDetail.Type==2">{{$t('fnc.fkzhanghu')}}<span class="_r_name">{{GetDetail.AccountNumber}}{{GetDetail.CreateDate}}</span></p>
<p><span class="_r_bold">No.</span>{{GetDetail.FrID}}-{{$t('fnc.cnfshulian')}}</p>
</div>
<table class="Receipt_table" border="1" :bordercolor="GetDetail.Type==1?'#c94052':'#106BAF'" style="border-collapse:collapse;">
<tr>
<th rowspan="2">付款方式</th>
<th rowspan="2">币种</th>
<th rowspan="2">账户类型</th>
<th colspan="3">金额</th>
<th rowspan="2" width="180">备注</th>
<th rowspan="2">{{$t('fnc.fkfangshi')}}</th>
<th rowspan="2">{{$t('hotel.hotel_Currency')}}</th>
<th rowspan="2">{{$t('fnc.zhanghuleixing')}}</th>
<th colspan="3">{{$t('fnc.jine')}}</th>
<th rowspan="2" width="180">{{$t('hotel.hotel_remark')}}</th>
</tr>
<tr>
<th width="88">原币</th>
<th width="50">汇率</th>
<th width="88">本位币</th>
<th width="88">{{$t('fnc.yuanbi')}}</th>
<th width="50">{{$t('hotel.hotel_CurrentRate')}}</th>
<th width="88">{{$t('fnc.bweibi')}}</th>
</tr>
<tr v-for="(item,index) in GetDetail.CashierDetail">
<td height="26px">{{item.Alias+item.BankNo}}</td>
......@@ -92,9 +92,9 @@
<td height="26px"></td>
</tr>
<tr>
<td>{{GetDetail.Type==1?'收款金额':'付款金额'}}<br/><span class="_font_size12">(大写)</span></td>
<td colspan="2">{{cnAllMoney==''?'零':cnAllMoney}}</td>
<td colspan="1">{{GetDetail.Type==1?'收款金额':'付款金额'}}<br/><span class="_font_size12">(小写)</span></td>
<td>{{GetDetail.Type==1?$t('fnc.skjine'):$t('fnc.fkjine')}}<br/><span class="_font_size12">{{$t('fnc.daxie')}}</span></td>
<td colspan="2">{{cnAllMoney==''?$t('fnc.ling'):cnAllMoney}}</td>
<td colspan="1">{{GetDetail.Type==1?$t('fnc.skjine'):$t('fnc.fkjine')}}<br/><span class="_font_size12">{{$t('fnc.xiaoxie')}}</span></td>
<td colspan="3">{{allMoney}}</td>
</tr>
</table>
......
......@@ -46,7 +46,7 @@
<div class="_liu_block clearfix" :class="[Math.floor((li+1)%3==0?li:(li+1)/3)%2==0?'fl text_l ':'fr text_r ']">
<span class="_array _array_h" :class="(li+1)%3!=0&&Math.floor((li+1)%3==0?li:(li+1)/3)%2!=0?'_array_h_left ':''" v-if="(li+1)%3!=0&&Math.floor((li+1)%3==0?li:(li+1)/3)%2!=0&&li!=dataList.AuditList.length-1"><span class="iconfont icon-xiaotuziCduan_2"></span></span>
<el-tooltip class="dataList" effect="dark" :content="lc.contentTips" placement="top">
<span :class="lc.AuditType==3?'_bg_org':'_bg_blue'" class="_miaoshu ">{{lc.AuditDescription}} <span v-if="lc.AuditWay!=1">({{lc.AuditWay=="2"?'会签':'或签'}})</span></span>
<span :class="lc.AuditType==3?'_bg_org':'_bg_blue'" class="_miaoshu ">{{lc.AuditDescription}} <span v-if="lc.AuditWay!=1">({{lc.AuditWay=="2"?$t('fnc.huiqian'):$t('fnc.huoqian')}})</span></span>
</el-tooltip>
<span v-if="(li+1)%3!=0&&Math.floor((li+1)%3==0?li:(li+1)/3)%2==0&&li!=dataList.AuditList.length-1" :class="(li+1)%3!=0&&Math.floor((li+1)%3==0?li:(li+1)/3)%2==0?'_array_h_right ':''" class="_array _array_h"><span class="iconfont icon-xiaotuziCduan_"></span></span>
<div class="_array_h_dbox" v-if="li!=dataList.AuditList.length-1" :class="Math.floor((li+1)%3==0?li:(li+1)/3)%2==0?'':'_array_h_dbox_l'">
......
......@@ -131,21 +131,21 @@
<!--</div>-->
<table class="Receipt_table" border="1" :class="[GetDetail.Type==1?'_border_color_r':'_border_color_b',isPrintPage?'_border_color_p':'']" :bordercolor="GetDetail.Type==1?'#c94052':'#106BAF'" style="border-collapse:collapse;">
<tr>
<th rowspan="2">所属公司</th>
<th rowspan="2">团号</th>
<th rowspan="2">单号</th>
<th rowspan="2">费 用 说 明</th>
<th rowspan="2">{{$t('system.query_company')}}</th>
<th rowspan="2">{{$t('visa.v_tuanhao')}}</th>
<th rowspan="2">{{$t('fnc.danhao')}}</th>
<th rowspan="2">{{$t('fnc.fyshuoming')}}</th>
<!--<th rowspan="2">数量</th>-->
<!--<th rowspan="2">单 价</th>-->
<th rowspan="2">币种</th>
<th colspan="3">金额</th>
<th rowspan="2">备注</th>
<th rowspan="2">制单人</th>
<th rowspan="2">{{$t('hotel.hotel_Currency')}}</th>
<th colspan="3">{{$t('fnc.jine')}}</th>
<th rowspan="2">{{$t('hotel.hotel_remark')}}</th>
<th rowspan="2">{{$t('fnc.zhidanren')}}</th>
</tr>
<tr>
<th width="88">原币</th>
<th width="50">汇率</th>
<th width="88">本位币</th>
<th width="88">{{$t('fnc.yuanbi')}}</th>
<th width="50">{{$t('hotel.hotel_CurrentRate')}}</th>
<th width="88">{{$t('fnc.bweibi')}}</th>
</tr>
<template v-if="GetDetail.MergeDetailList&&GetDetail.MergeDetailList.length">
<tr v-for="(item) in GetDetail.MergeDetailList" class="_color_b">
......@@ -211,31 +211,31 @@
</tr>
<!--v-if="GetDetail.MergeBankList&&GetDetail.MergeBankList.length>0"-->
<tr v-if="GetDetail.MergeBankList&&GetDetail.MergeBankList.length>0">
<td height="34px" class="">交易方式</td>
<td height="34px" class="">{{$t('tips.jiaoyifangshi')}}</td>
<td height="34px" colspan="9" class="_color_b">
<template v-for="(item,index) in GetDetail.MergeBankList">
<p class="_fex_cen clearfix"><span class="_bold">{{item.Alias}}-</span><span class="_bank_name">{{item.TypeName}}-</span><span class="_bank_type" :class="item.AccountType=='对私'?'':'_bank_type2'">{{item.AccountType==""?'无':item.AccountType}}</span> {{item.BankNo?'-':''}} <span>{{item.BankNo}}</span></p>
<p class="_fex_cen clearfix"><span class="_bold">{{item.Alias}}-</span><span class="_bank_name">{{item.TypeName}}-</span><span class="_bank_type" :class="item.AccountType=='对私'?'':'_bank_type2'">{{item.AccountType==""?$t('fnc.no'):item.AccountType}}</span> {{item.BankNo?'-':''}} <span>{{item.BankNo}}</span></p>
</template>
</td>
</tr>
<tr v-if="GetDetail.Merge">
<td height="34px" class="">外币总金额<span class="_font_size12"></span></td>
<td height="34px" colspan="3" class="_color_b">{{GetDetail.Merge.WBMoney==''?'零':GetDetail.WBChineseMoney}}({{GetDetail.Merge.WBMoney}})</td>
<td height="34px" class="">本位币总金额<span class="_font_size12"></span></td>
<td height="34px" colspan="5" class="_color_b">{{GetDetail.Merge.Money==''?'零':GetDetail.ChineseMoney}}({{GetDetail.Merge.Money}})</td>
<td height="34px" class="">{{$t('fnc.wbzjine')}}<span class="_font_size12"></span></td>
<td height="34px" colspan="3" class="_color_b">{{GetDetail.Merge.WBMoney==''?$t('fnc.ling'):GetDetail.WBChineseMoney}}({{GetDetail.Merge.WBMoney}})</td>
<td height="34px" class="">{{$t('fnc.bwbzjine')}}<span class="_font_size12"></span></td>
<td height="34px" colspan="5" class="_color_b">{{GetDetail.Merge.Money==''?$t('fnc.ling'):GetDetail.ChineseMoney}}({{GetDetail.Merge.Money}})</td>
</tr>
<tr class="_huik_info" v-if="GetDetail.Type==1&&GetDetail.Merge">
<td height="34px" class="">汇款人</td>
<td height="34px" class="">{{$t('fnc.huikuanren')}}</td>
<td height="34px" colspan="3">
<span class="_color_b _font_size12">{{GetDetail.Merge.RemitterNameV2}}</span>
</td>
<td height="34px" class="">汇款时间</td>
<td height="34px" class="">{{$t('fnc.hkshijian')}}</td>
<td height="34px" colspan="5">
<span class="_color_b _font_size12">{{GetDetail.Merge.TradeDateV2}}</span>
</td>
</tr>
<tr class="_huik_info" v-else-if="GetDetail.Type!=1&&GetDetail.Merge">
<td height="34px" class="">交易日期</td>
<td height="34px" class="">{{$t('fnc.jiaoyiriqi')}}</td>
<td height="34px" colspan="9">
<span class="_color_b _font_size12">{{GetDetail.Merge.TradeDateV2}}</span>
</td>
......
......@@ -163,6 +163,8 @@
<div class="link">
<p @click="goUrlT('productQuery',item.TCNUMS,'产品查询')">{{item.Titles}}</p>
<div v-show="item.DMCRemark!=''" class="colorE95252">地接备注:{{item.DMCRemark}}</div>
<div v-show="item.OPRemark!=''" class="colorE95252"> OP备注(对外):{{item.OPRemark}}</div>
<div v-show="item.OPInnerRemark!=''" class="colorE95252">OP备注(对内):{{item.OPInnerRemark}}</div>
</div>
</td>
</tr>
......
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