Commit 790a7085 authored by youjie's avatar youjie

no message

parent d00aad5b
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
<el-tooltip class="item" effect="dark" content="追加团款" placement="top"> <el-tooltip class="item" effect="dark" content="追加团款" placement="top">
<span v-if="GetDetail.OtherType == 1" class="zhuiClass zhuiClassdetails"></span> <span v-if="GetDetail.OtherType == 1" class="zhuiClass zhuiClassdetails"></span>
</el-tooltip> </el-tooltip>
<p class="rb_tit" style="font-size: 16px !important;">{{GetDetail.CompanyName}}{{GetDetail.BranchName}}</p> <p class="rb_tit" style="font-size: 16px !important;">{{titleName?titleName:GetDetail.CompanyName}}{{GetDetail.BranchName}}</p>
<p class="rb_stit"> <p class="rb_stit">
<span :class="isPrintPage?'_rb_stit_print':''">{{GetDetail.FinanceName}}</span> <span :class="isPrintPage?'_rb_stit_print':''">{{GetDetail.FinanceName}}</span>
<i v-if="name===1">{{$t('fnc.yewulian')}}</i> <i v-if="name===1">{{$t('fnc.yewulian')}}</i>
...@@ -335,7 +335,7 @@ ...@@ -335,7 +335,7 @@
<script> <script>
import { connect } from 'net'; import { connect } from 'net';
export default { export default {
props:["ID","width","color","isPrintPage","name","OrderSource"], //接收参数 ID width color props:["ID","width","color","isPrintPage","name","OrderSource","titleName"], //接收参数 ID width color
data(){ data(){
return{ return{
loading:false, loading:false,
...@@ -444,6 +444,12 @@ export default { ...@@ -444,6 +444,12 @@ export default {
this.Financial_post_GetDetail(this.ID) this.Financial_post_GetDetail(this.ID)
}, },
deep: true deep: true
},
titleName: {
handler: function(val, oldVal) {
this.titleName = val
},
deep: true
} }
} }
} }
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
<div class="Receipt_box" :class="[GetDetail.Type==1|| GetDetail.Type==5?'':'color_blur',isPrintPage?'_PrintPageStyle':'']" :style="{width:width,backgroundColor:color}" @click.stop v-loading='loading'> <div class="Receipt_box" :class="[GetDetail.Type==1|| GetDetail.Type==5?'':'color_blur',isPrintPage?'_PrintPageStyle':'']" :style="{width:width,backgroundColor:color}" @click.stop v-loading='loading'>
<!-- <p style="font-size:48px;" @click="senCashierDetaildMsg">{{Num}}</p> //测试传值代码 --> <!-- <p style="font-size:48px;" @click="senCashierDetaildMsg">{{Num}}</p> //测试传值代码 -->
<p class="rb_tit" style="font-size: 16px !important;">{{GetDetail.CompanyName}}{{GetDetail.BranchName}}</p> <p class="rb_tit" style="font-size: 16px !important;">{{titleName?titleName:GetDetail.CompanyName}}{{GetDetail.BranchName}}</p>
<p class="rb_stit" style="position:relative"> <p class="rb_stit" style="position:relative">
<span :class="isPrintPage?'_rb_stit_print':''">{{GetDetail.FinanceName}}</span> <span :class="isPrintPage?'_rb_stit_print':''">{{GetDetail.FinanceName}}</span>
<!-- <i v-if="name===1">(客户联)</i> --> <!-- <i v-if="name===1">(客户联)</i> -->
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
</template> </template>
<script> <script>
export default { export default {
props:["ID","width","color","isPrintPage","name","Num","OrderSource"], //接收参数 ID width color isPrintPage props:["ID","width","color","isPrintPage","name","Num","OrderSource","titleName"], //接收参数 ID width color isPrintPage
data(){ data(){
return{ return{
loading: false, loading: false,
......
...@@ -20,13 +20,38 @@ ...@@ -20,13 +20,38 @@
margin-left:-145px; margin-left:-145px;
} }
} */ } */
._PrintPage_box{
position: relative;
}
._PrintPage_box .SetDiv{
position: absolute;
top:10px;
color:#106BAF;
left: -290px;
}
._PrintPage_box .SetDiv span{
color:#106BAF;
cursor: pointer;
font-size: 15px;
}
</style> </style>
<template v-loading="loading"> <template v-loading="loading">
<div class="_PrintPage"> <div class="_PrintPage">
<div class="_PrintPage_box"> <div class="_PrintPage_box">
<template v-if="type==='2'&&(Merge==='0'||Merge===null)"> <template v-if="type==='2'&&(Merge==='0'||Merge===null)">
<div class="SetDiv">
<el-select size="mini" v-model="titleName" placeholder="请选择抬头名称"
style="width: 150px;">
<el-option
v-for="item in optionsList"
:key="item.value"
:label="item.Name"
:value="item.value">
</el-option>
</el-select>
</div>
<div class="_border_1" v-for="(item,index) in loopNumT"> <div class="_border_1" v-for="(item,index) in loopNumT">
<my-Bill :ID="id" :width="widthSon" :isPrintPage="true" :color="colorSon" :OrderSource="OrderSource" :name='index+1'></my-Bill> <my-Bill :ID="id" :width="widthSon" :isPrintPage="true" :color="colorSon" :OrderSource="OrderSource" :name='index+1' :titleName="titleName"></my-Bill>
</div> </div>
</template> </template>
<template v-else-if="type==='1'&&(Merge==='0'||Merge===null)"> <template v-else-if="type==='1'&&(Merge==='0'||Merge===null)">
...@@ -55,6 +80,13 @@ import myGZBill from "./FinancialModule/FinancialSubmodule/GZBillModule.vue"; ...@@ -55,6 +80,13 @@ import myGZBill from "./FinancialModule/FinancialSubmodule/GZBillModule.vue";
export default { export default {
data(){ data(){
return{ return{
titleName:'',
optionsList:[
{Name:'和平',value:'四川和平国际旅行社'},
{Name:'微途',value:'成都微途科技有限公司'},
{Name:'欧亚',value:'成都欧亚旅行社'},
{Name:'兆鸿',value:'四川兆鸿文化传播有限公司'},
],
loading:true, loading:true,
id:null, id:null,
type:null, type:null,
......
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