Commit 6ee55061 authored by Mac's avatar Mac

1

parent 5e5b7da0
......@@ -217,9 +217,10 @@
<span
style="border-bottom:3px double black;cursor:pointer;letter-spacing:10px;font-size: 30px !important">收款收据</span>
</div>
<div style="display: flex;align-items: center; justify-content: space-between;">
<div style="display: flex;align-items: center; justify-content: space-between;margin-right: 22px;">
<div>开票日期:<span :class="[name==1?'':'color_bt']">{{GetDetail.CreateTime}}</span> </div>
<div>编号: <span class="sjbianhao" :class="[name==1?'':'color_bt']">{{GetDetail.ReceiptNo}}</span> </div>
</div>
<!-- <p class="_yewudanju" v-if="isPrintPage">打印时间:<span >{{printTime}}</span></p> -->
......@@ -252,7 +253,7 @@
<div style="writing-mode: tb-rl" v-if="name==2">第一版(红) 客户联</div>
</div>
<div class="rb_top_row _r_mt10" v-if="AuditSteps&&AuditSteps.length">
<div class="rb_top_row _r_mt10" v-if="AuditSteps&&AuditSteps.length" style="margin-right: 22px;">
<template v-for="(item,index) in AuditSteps">
<p>
<span class="_border_color_p">{{item.Name}}</span>
......@@ -269,6 +270,7 @@
</template>
</p>
</template>
</div>
</div>
</template>
......
......@@ -50,10 +50,10 @@
</div>
</div>
<div v-if="data && data.Id>0" style="padding: 10px;">
<div style="display: flex;align-items: center; justify-content: space-between;" v-if="isoneself">
<!-- <div style="display: flex;align-items: center; justify-content: space-between;" v-if="isoneself">
<div> </div>
<div>认领码: <span class="sjbianhao">{{data.ClaimCode}}</span> </div>
</div>
</div> -->
<div style="display: flex;align-items: center; justify-content: space-between;">
<div>开票日期:<span>{{data.CreateTime}}</span> </div>
<div>编号: <span class="sjbianhao">{{data.ReceiptNo}}</span> </div>
......@@ -120,8 +120,13 @@
<div class="courserefund_Div" id="proToCol"
style="display: flex;flex-direction: column;align-items: center; padding: 15px;">
<img :src="imgurl" alt="" style="width:100%;" />
<div style="margin: 25px 0;">尊敬的客户,成都市锦江区甲鹤外语培训学校 发送给您了一个财务收据,请长按识别二维码查收</div>
<div style="margin-top: 25px;width: 100%; display: flex; flex-direction: column; align-items: center;">
<div>尊敬的客户,成都市锦江区甲鹤外语培训学校</div>
<div>发送给您了一个财务收据</div>
<div>请长按识别二维码查收</div>
</div>
</div>
<div style="width: 100%;text-align: center;">认取码:{{data.ClaimCode}}</div>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="sharedialog=false">关闭</button>
<button class="normalBtn" type="primary" @click="download()">下载</button>
......
......@@ -984,6 +984,15 @@
<my-HB-Bill v-if="GetDetail.Is_Merge===1" :ID="FrID" :FrID='FrID' :GetDetail="GetDetail" :isPrintPage="false"
:width="widthSon" :color="colorSon"></my-HB-Bill>
</div>
<div v-if="ConfigInfo && ConfigInfo.Enable==1 && getreceipt() && ishowSJ ">
<p class="_splic" >
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
</p>
<div class="_tit _tit2 w890px ConfigInfoStyle">
<mySJModule :FrID='ID' :GetDetail="GetDetail" @gbError='getSJstate'></mySJModule>
</div>
</div>
<p class="_splic">
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
</p>
......@@ -1826,13 +1835,16 @@
import myJiPiaoBill from "../components/JiPiaoBillModule.vue";
import huijiBill from "../components/huijiBill.vue";
import czBillModule from "../components/czBillModule.vue";
import mySJModule from "../components/mySJModule.vue";
// import MsgBus from '../../assets/utils/msgBus.js';
import {
UploadSelfFile
} from '../../../api/common/common'
import {
getClassNameList,
queryStudyNameList
queryStudyNameList,
getReceiptConfigInfo
} from '../../../api/finance/index'
import classinfoForm from '../../../components/course/classinfo-form';
import viewquotationForm from '../../../components/sale/viewquotation-form';
......@@ -1997,7 +2009,9 @@
classObjOption: null,
isShowClassInfo: false, //是否显示课程信息
isShowviewQuo: false,
rId: 0
rId: 0,
ConfigInfo:null,//收据配置数据
ishowSJ:true,//收据是否显示
}
},
components: {
......@@ -2018,7 +2032,9 @@
'huijiBill': huijiBill,
'czBillModule': czBillModule,
'classinfo-form': classinfoForm,
'viewquotationForm': viewquotationForm
'viewquotationForm': viewquotationForm,
"mySJModule": mySJModule,
},
methods: {
//数组字符串转数组
......@@ -3438,6 +3454,23 @@
path: tempStr
});
},
getReceiptif(){
getReceiptConfigInfo({}).then(res => {
if (res.Code == 1) {
this.ConfigInfo = res.Data;
}
})
},
getreceipt(){
if(this.ConfigInfo.TempleteIds.indexOf(this.GetDetail.TemplateId)!=-1){
return true
}else{
return false
}
},
getSJstate(){
this.ishowSJ = false
},
},
created() {
if (this.$route.query.pageIndex) {
......@@ -3461,6 +3494,7 @@
this.BankAccount_post_GetAccountType();
this.AccountType_post_GetList();
this.getTuikuan();
this.getReceiptif()//获取收据配置
if (this.$route.query.Conditon) {
this.returnCode = this.$route.query.Conditon;
}
......
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