Commit 300caca3 authored by 黄奎's avatar 黄奎

页面修改

parent 577ec548
...@@ -22,6 +22,19 @@ export function getClassNameList(data) { ...@@ -22,6 +22,19 @@ export function getClassNameList(data) {
data data
}) })
} }
/**
* 根据 留学就业ids 获取留学就业信息
*
*/
export function queryStudyNameList(data) {
return request({
url: '/order/GetStudyNameList',
method: 'post',
data
})
}
/** /**
*获取简易报表数据 *获取简易报表数据
*/ */
......
...@@ -1233,7 +1233,8 @@ ...@@ -1233,7 +1233,8 @@
getSchoolPage getSchoolPage
} from '../../../api/school/index' } from '../../../api/school/index'
import { import {
getClassNameList getClassNameList,
queryStudyNameList
} from '../../../api/finance/index' } from '../../../api/finance/index'
export default { export default {
...@@ -1944,7 +1945,8 @@ ...@@ -1944,7 +1945,8 @@
this.total = res.data.data.count; this.total = res.data.data.count;
this.loading = false; this.loading = false;
this.noData = false; this.noData = false;
let da = [] let da = [];
let study = [];
if (this.total == 0) { if (this.total == 0) {
this.DataList = []; this.DataList = [];
this.noData = true; this.noData = true;
...@@ -1953,12 +1955,16 @@ ...@@ -1953,12 +1955,16 @@
x.modelShow = false; x.modelShow = false;
this.checkAllList.push(x.FrID) this.checkAllList.push(x.FrID)
if (x.TCIDList.length > 0) { if (x.TCIDList.length > 0) {
if (x.OrderSource == 17) {
da = da.concat(x.TCIDList) da = da.concat(x.TCIDList)
} else if (x.OrderSource == 18) {
study = study.concat(x.TCIDList)
}
} }
}) })
this.DataList = data; this.DataList = data;
if (da.length > 0) { if (da && da.length > 0) {
let str = da.join(',') let str = da.join(',')
getClassNameList({ getClassNameList({
ClassIds: str ClassIds: str
...@@ -1976,6 +1982,24 @@ ...@@ -1976,6 +1982,24 @@
}) })
}).catch(() => {}) }).catch(() => {})
} }
if (study && study.length > 0) {
let str = study.join(',')
queryStudyNameList({
Ids: str
}).then(res => {
this.DataList.forEach(x => {
if (x.TCIDList.length > 0) {
x.TCIDList.forEach(z => {
res.Data.forEach(j => {
if (z == j.ClassId) {
x.TCIDAndTCNUMList.push(j)
}
})
})
}
})
}).catch(() => {})
}
} }
} else { } else {
this.loading = false; this.loading = false;
......
<style scoped> <style scoped>
@import "../css/cssReset.css"; @import "../css/cssReset.css";
@media print{ @media print {
._none_print{display:none} ._none_print {
display: none
} }
._none_print{ }
._none_print {
position: relative; position: relative;
z-index: 2; z-index: 2;
} }
._none_print_tips{
._none_print_tips {
position: absolute; position: absolute;
top: 80px; top: 80px;
z-index: 1; z-index: 1;
} }
.page_bdm{padding: 20px 0;}
._tit{padding-left: 10px;border-left: 3px solid #E95252;font-size: 14px} .page_bdm {
._conten{position: relative} padding: 20px 0;
._conten,._process{margin-top: 20px;width: 890px;} }
._explain{padding: 20px 15px;border-top: 1px dashed #BFBFBF;border-bottom: 1px dashed #BFBFBF;background-color: white;}
._explain>p{color: #1273BC;font-size: 12px;} ._tit {
._explain>div{display: flex;justify-content: space-between;font-size: 12px;color: #333333;margin-top: 10px;align-items: center;} padding-left: 10px;
._tit2{ border-left: 3px solid #E95252;
border:none; font-size: 14px
}
._conten {
position: relative
}
._conten,
._process {
margin-top: 20px;
width: 890px;
}
._explain {
padding: 20px 15px;
border-top: 1px dashed #BFBFBF;
border-bottom: 1px dashed #BFBFBF;
background-color: white;
}
._explain>p {
color: #1273BC;
font-size: 12px;
}
._explain>div {
display: flex;
justify-content: space-between;
font-size: 12px;
color: #333333;
margin-top: 10px;
align-items: center;
}
._tit2 {
border: none;
background-color: white; background-color: white;
border: 1px solid #DDDDDD; border: 1px solid #DDDDDD;
} }
._tit._tit2>p{
._tit._tit2>p {
padding-left: 10px; padding-left: 10px;
font-size: 14px; font-size: 14px;
color: #000; color: #000;
...@@ -33,124 +73,396 @@ ...@@ -33,124 +73,396 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
._tit._tit2 ._rotate{
transform:rotate(180deg); ._tit._tit2 ._rotate {
transform: rotate(180deg);
} }
._tit._tit2 ._btn{
._tit._tit2 ._btn {
font-size: 12px; font-size: 12px;
color: #333333; color: #333333;
cursor: pointer; cursor: pointer;
} }
._tit._tit2 ._btn:hover{
._tit._tit2 ._btn:hover {
color: #E95252; color: #E95252;
} }
._tit._tit2 ._btn .iconfont{
._tit._tit2 ._btn .iconfont {
font-size: 12px; font-size: 12px;
display: inline-block; display: inline-block;
margin-left: 10px; margin-left: 10px;
} }
._tit._tit2 ._text{
._tit._tit2 ._text {
border-left: 3px solid #e95252; border-left: 3px solid #e95252;
padding-left: 10px; padding-left: 10px;
} }
._process{background-color: white;padding: 20px 15px;position: relative;}
._process_box{border-top: 1px dashed #BFBFBF;padding-top: 30px;padding-bottom: 40px;} ._process {
._flow_chart{position:absolute;display: inline-block;right: 15px;top: 7px;padding:5px 25px;font-size: 12px;color: #FFFFFF;background-color: #E95252;border-radius: 14px;cursor: pointer;} background-color: white;
._pb_son{position: relative;padding-left: 75px;min-height: 100px;padding-bottom: 30px} padding: 20px 15px;
._left_radius{width: 40px;height: 40px;border-radius: 50%;text-align: center;line-height: 40px;background-color: #2BBB7E;color: white;font-size: 12px;position: absolute;left: 15px;z-index: 2;} position: relative;
._left_radius_err{background-color: #E95252 !important;} }
._left_radius_sus{background-color: #1273BC !important;}
._pb_son::after{content: '';width: 4px;height: 100%;background-color: #2BBB7E;display: inline-block;position: absolute;clear: both;left: 33px;top: 0;z-index: 1} ._process_box {
._pb_son._none_after::after{content: '';display: none} border-top: 1px dashed #BFBFBF;
._pb_son._bohui_after::after{background-color: #E95252 !important;display: inline-block} padding-top: 30px;
._status_color_f{background-color: #8B8B8B !important} padding-bottom: 40px;
._right_content ._name ._n{font-size: 14px;color: #333333;font-weight: bold;} }
._right_content ._name ._m{color: #FFFFFF;font-size: 12px;display: inline-block;padding: 2px 5px;background-color: #E95252;margin-left: 5px;border-radius: 4px;}
._right_content ._name ._sm{color: #FFFFFF;font-size: 12px;display: inline-block;padding: 2px 5px;background-color: #FF9600;margin-left: 5px;border-radius: 4px;font-weight: 100;} ._flow_chart {
._right_content ._name ._sn{color: #FFFFFF;font-size: 12px;display: inline-block;padding: 2px 5px;background-color: #2BBB7E;margin-left: 5px;border-radius: 4px;} position: absolute;
._right_content ._time,._time{font-size: 12px;color: #666666;padding-top: 5px;} display: inline-block;
._right_content ._pp_info,._textarea{border-radius: 4px; border: 1px solid #E5E5E5;background:rgba(245,245,245,1);font-size: 12px;color: #333333;padding: 12px 14px;margin-top: 13px;position: relative;} right: 15px;
._right_content ._pp_info:before{display:block;content:'';border-width:8px 8px 8px 8px;border-style:solid;border-color: transparent transparent #dedede transparent;position:absolute;left:10px;top:-16px;} top: 7px;
._mgt_15{margin-top: 15px;} padding: 5px 25px;
font-size: 12px;
color: #FFFFFF;
background-color: #E95252;
border-radius: 14px;
cursor: pointer;
}
._pb_son {
position: relative;
padding-left: 75px;
min-height: 100px;
padding-bottom: 30px
}
._left_radius {
width: 40px;
height: 40px;
border-radius: 50%;
text-align: center;
line-height: 40px;
background-color: #2BBB7E;
color: white;
font-size: 12px;
position: absolute;
left: 15px;
z-index: 2;
}
._left_radius_err {
background-color: #E95252 !important;
}
._left_radius_sus {
background-color: #1273BC !important;
}
._pb_son::after {
content: '';
width: 4px;
height: 100%;
background-color: #2BBB7E;
display: inline-block;
position: absolute;
clear: both;
left: 33px;
top: 0;
z-index: 1
}
._pb_son._none_after::after {
content: '';
display: none
}
._pb_son._bohui_after::after {
background-color: #E95252 !important;
display: inline-block
}
._status_color_f {
background-color: #8B8B8B !important
}
._right_content ._name ._n {
font-size: 14px;
color: #333333;
font-weight: bold;
}
._right_content ._name ._m {
color: #FFFFFF;
font-size: 12px;
display: inline-block;
padding: 2px 5px;
background-color: #E95252;
margin-left: 5px;
border-radius: 4px;
}
._right_content ._name ._sm {
color: #FFFFFF;
font-size: 12px;
display: inline-block;
padding: 2px 5px;
background-color: #FF9600;
margin-left: 5px;
border-radius: 4px;
font-weight: 100;
}
._right_content ._name ._sn {
color: #FFFFFF;
font-size: 12px;
display: inline-block;
padding: 2px 5px;
background-color: #2BBB7E;
margin-left: 5px;
border-radius: 4px;
}
._right_content ._time,
._time {
font-size: 12px;
color: #666666;
padding-top: 5px;
}
._right_content ._pp_info,
._textarea {
border-radius: 4px;
border: 1px solid #E5E5E5;
background: rgba(245, 245, 245, 1);
font-size: 12px;
color: #333333;
padding: 12px 14px;
margin-top: 13px;
position: relative;
}
._right_content ._pp_info:before {
display: block;
content: '';
border-width: 8px 8px 8px 8px;
border-style: solid;
border-color: transparent transparent #dedede transparent;
position: absolute;
left: 10px;
top: -16px;
}
._mgt_15 {
margin-top: 15px;
}
/* ._more ._right_content{padding: 0 10px;padding-right: 0;} */ /* ._more ._right_content{padding: 0 10px;padding-right: 0;} */
._more ._right_content .iconfont{color: #AAAAAA} ._more ._right_content .iconfont {
._more ._right_content ._name ._n{font-size: 14px;color: #333333;font-weight: bold;padding-left: 3px;} color: #AAAAAA
._info_img ul{padding: 10px 0} }
._info_img ul li{float: left;position: relative;cursor: pointer}
._info_img ul li:hover ._see_img{opacity: 1;} ._more ._right_content ._name ._n {
._info_img ul li img{width:88px;height:59px;} font-size: 14px;
._see_img{position: absolute;top: 0;width: 100%;height: 59px;padding-top: 16px;line-height: 34px;text-align: center;background-color: rgba(2, 2, 2, 0.3);display: inherit;opacity: 0;transition: all linear .5s} color: #333333;
._see_img i.iconfont{display: inline-block;width: 32px;height: 32px;border-radius: 50%;color: #FFFFFF !important;background-color: rgba(255, 255, 255, 0.5);} font-weight: bold;
._show_img_box{position: fixed; background: rgba(0,0,0,.6); left: 0; top:0; width: 100%; height: 100%; z-index: 999; text-align: center;overflow: auto;} padding-left: 3px;
._textarea{width: 690px;height: 50px;background-color: white} }
._upload_box ul li{float: left;height:82px;width:143px;padding:20px 20px 20px 0;text-align: center;position: relative;cursor: pointer;margin-right: 10px;}
._upload_box ul li img{height:82px;width:143px;} ._info_img ul {
._upload_box ul li:hover ._delete_img{opacity: 1;} padding: 10px 0
._delete_img{position: absolute;top: 20px;height:82px;width:143px;line-height: 34px;text-align: center;background-color: rgba(2, 2, 2, 0.6);display: inherit;opacity: 0;transition: all linear .5s} }
._delete_img i.iconfont{display: inline-block;width: 32px;height: 32px;border-radius: 50%;color: #E95252 !important;background-color:rgba(251, 251, 251, 0.9); margin-top: 26px;}
._radio_lsit{padding-top: 15px} ._info_img ul li {
._upload_tips{font-size: 12px;position: absolute;top: 66%;width: 100%;left: 0;text-align: center;color: #949494;} float: left;
._log_t{padding: 10px;} position: relative;
._time_n{float: right;} cursor: pointer
.w890px{width: 890px;padding: 0;margin: 0;} }
.w600px{
._info_img ul li:hover ._see_img {
opacity: 1;
}
._info_img ul li img {
width: 88px;
height: 59px;
}
._see_img {
position: absolute;
top: 0;
width: 100%;
height: 59px;
padding-top: 16px;
line-height: 34px;
text-align: center;
background-color: rgba(2, 2, 2, 0.3);
display: inherit;
opacity: 0;
transition: all linear .5s
}
._see_img i.iconfont {
display: inline-block;
width: 32px;
height: 32px;
border-radius: 50%;
color: #FFFFFF !important;
background-color: rgba(255, 255, 255, 0.5);
}
._show_img_box {
position: fixed;
background: rgba(0, 0, 0, .6);
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 999;
text-align: center;
overflow: auto;
}
._textarea {
width: 690px;
height: 50px;
background-color: white
}
._upload_box ul li {
float: left;
height: 82px;
width: 143px;
padding: 20px 20px 20px 0;
text-align: center;
position: relative;
cursor: pointer;
margin-right: 10px;
}
._upload_box ul li img {
height: 82px;
width: 143px;
}
._upload_box ul li:hover ._delete_img {
opacity: 1;
}
._delete_img {
position: absolute;
top: 20px;
height: 82px;
width: 143px;
line-height: 34px;
text-align: center;
background-color: rgba(2, 2, 2, 0.6);
display: inherit;
opacity: 0;
transition: all linear .5s
}
._delete_img i.iconfont {
display: inline-block;
width: 32px;
height: 32px;
border-radius: 50%;
color: #E95252 !important;
background-color: rgba(251, 251, 251, 0.9);
margin-top: 26px;
}
._radio_lsit {
padding-top: 15px
}
._upload_tips {
font-size: 12px;
position: absolute;
top: 66%;
width: 100%;
left: 0;
text-align: center;
color: #949494;
}
._log_t {
padding: 10px;
}
._time_n {
float: right;
}
.w890px {
width: 890px;
padding: 0;
margin: 0;
}
.w600px {
width: 600px; width: 600px;
padding: 15px; padding: 15px;
margin: 0 auto; margin: 0 auto;
} }
._explain ._addUpload_box{
._explain ._addUpload_box {
display: block; display: block;
padding-bottom: 14px; padding-bottom: 14px;
} }
._explain2>div{
._explain2>div {
margin-top: 0; margin-top: 0;
} }
._explain2{
._explain2 {
border: none; border: none;
padding: 20px 0 0 14px; padding: 20px 0 0 14px;
background-color: aliceblue; background-color: aliceblue;
} }
._addUpload_box>div:hover{
._addUpload_box>div:hover {
background-color: #f5f5f5; background-color: #f5f5f5;
} }
._addFile_name{
._addFile_name {
overflow: hidden; overflow: hidden;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
font-size: 12px; font-size: 12px;
} }
.FinancialDocumentsDetail ._fujian_box{
.FinancialDocumentsDetail ._fujian_box {
position: absolute; position: absolute;
left: 895px; left: 895px;
top: -0; top: -0;
width: 440px; width: 440px;
} }
._wenjian{
._wenjian {
padding: 15px; padding: 15px;
width: 91px; width: 91px;
height: 80px; height: 80px;
border:1px solid rgba(221,221,221,1); border: 1px solid rgba(221, 221, 221, 1);
float: left; float: left;
cursor: pointer; cursor: pointer;
margin-right: 10px; margin-right: 10px;
margin-top: 10px; margin-top: 10px;
} }
._wenjian_P{
._wenjian_P {
font-size: 30px; font-size: 30px;
text-align: center; text-align: center;
color: #41D2A1; color: #41D2A1;
} }
.shangchuanfujian{
.shangchuanfujian {
text-align: right; text-align: right;
margin-top: 20px; margin-top: 20px;
} }
.el-carousel__item{
.el-carousel__item {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
display: flex; display: flex;
} }
._splic{
._splic {
width: 890px; width: 890px;
overflow: hidden; overflow: hidden;
font-size: 12px; font-size: 12px;
...@@ -158,25 +470,30 @@ ...@@ -158,25 +470,30 @@
margin-top: 15px; margin-top: 15px;
line-height: 10px; line-height: 10px;
} }
._fujian_box_tit{
._fujian_box_tit {
display: flex; display: flex;
justify-content:space-between; justify-content: space-between;
font-size: 14px; font-size: 14px;
color: #333333; color: #333333;
} }
._fujian_box_tit .iconfont{
._fujian_box_tit .iconfont {
font-size: 14px; font-size: 14px;
display: inline-block; display: inline-block;
margin-right: 8px; margin-right: 8px;
} }
._fujian_box_tit .iconfont.icon-bangdingzhagnhuxinxi{
._fujian_box_tit .iconfont.icon-bangdingzhagnhuxinxi {
color: #E95252; color: #E95252;
} }
._fujian_box_tit .iconfont.icon-gengduo{
transform:rotate(90deg); ._fujian_box_tit .iconfont.icon-gengduo {
transform: rotate(90deg);
font-size: 12px; font-size: 12px;
} }
._fujian_zhankai{
._fujian_zhankai {
color: white; color: white;
width: 64px; width: 64px;
height: 0; height: 0;
...@@ -190,7 +507,8 @@ ...@@ -190,7 +507,8 @@
left: -32px; left: -32px;
bottom: -27px; bottom: -27px;
} }
._fujian_zhankai>span{
._fujian_zhankai>span {
display: inline-block; display: inline-block;
height: 100%; height: 100%;
width: 50%; width: 50%;
...@@ -200,98 +518,120 @@ ...@@ -200,98 +518,120 @@
-webkit-transform: rotate(90deg); -webkit-transform: rotate(90deg);
transform: rotate(90deg); transform: rotate(90deg);
} }
._fujian_zhankai>span:nth-child(2){
._fujian_zhankai>span:nth-child(2) {
left: 18px; left: 18px;
bottom: 3px; bottom: 3px;
} }
._border_bottom_none{
._border_bottom_none {
border-bottom: none !important; border-bottom: none !important;
} }
._jump_page{
._jump_page {
cursor: pointer; cursor: pointer;
text-decoration: underline; text-decoration: underline;
} }
._jump_page:hover{
._jump_page:hover {
color: #c94052; color: #c94052;
} }
._TCIDAndTCNUMList{
._TCIDAndTCNUMList {
display: flex; display: flex;
} }
._TCIDAndTCNUMList ._TCIDAndTCNUMList_item span{
._TCIDAndTCNUMList ._TCIDAndTCNUMList_item span {
display: inline-block; display: inline-block;
padding-bottom: 5px; padding-bottom: 5px;
} }
._font_bold{
._font_bold {
font-weight: bold; font-weight: bold;
} }
._TCIDAndTCNUMList_item{
._TCIDAndTCNUMList_item {
max-width: 160px; max-width: 160px;
} }
._fujiashuoming_tr td{
._fujiashuoming_tr td {
font-size: 12px; font-size: 12px;
color: #696969; color: #696969;
padding: 5px 10px; padding: 5px 10px;
} }
._zhuan_msg{
._zhuan_msg {
font-size: 12px; font-size: 12px;
margin-top:10px; margin-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
} }
._zhuan_msg span{
._zhuan_msg span {
display: inline-block; display: inline-block;
margin-right: 5px; margin-right: 5px;
color: #696969; color: #696969;
} }
._zhuan_msg span:last-child{
._zhuan_msg span:last-child {
margin-left: 5px; margin-left: 5px;
} }
._zhuan_msg p:nth-child(2){
._zhuan_msg p:nth-child(2) {
color: #696969; color: #696969;
} }
._zhuan_msg ._color_green{
._zhuan_msg ._color_green {
color: #2BBB7E color: #2BBB7E
} }
._Printing{
._Printing {
position: relative; position: relative;
z-index: 30; z-index: 30;
font-size: 12px; font-size: 12px;
cursor: pointer; cursor: pointer;
color: #3980C8; color: #3980C8;
} }
._Printing:hover{
._Printing:hover {
text-decoration: underline; text-decoration: underline;
color: rgb(255, 0, 0); color: rgb(255, 0, 0);
} }
.FinancialDocumentsDetail ._addUpload_box_btm{
.FinancialDocumentsDetail ._addUpload_box_btm {
padding-top: 20px; padding-top: 20px;
max-height: 230px; max-height: 230px;
overflow: auto; overflow: auto;
} }
._addUpload_box_btm img{
._addUpload_box_btm img {
width: 100%; width: 100%;
} }
._addUpload_box_btm>div{
._addUpload_box_btm>div {
float: left; float: left;
width:138px; width: 138px;
height:92px; height: 92px;
border:1px dashed rgba(210,210,210,1); border: 1px dashed rgba(210, 210, 210, 1);
border-radius:2px; border-radius: 2px;
cursor: pointer; cursor: pointer;
margin-bottom: 10px; margin-bottom: 10px;
padding: 5px; padding: 5px;
margin-right: 10px; margin-right: 10px;
position: relative; position: relative;
} }
._addUpload_box_btm>div:hover{
._addUpload_box_btm>div:hover {
background-color: #f5f5f5; background-color: #f5f5f5;
} }
._addFile_name{
._addFile_name {
padding-left: 15px; padding-left: 15px;
max-width: 450px; max-width: 450px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
._addUpload_box_btm .icon-guanbi1 { ._addUpload_box_btm .icon-guanbi1 {
font-size: 12px; font-size: 12px;
color: white; color: white;
...@@ -307,67 +647,131 @@ ...@@ -307,67 +647,131 @@
text-align: center; text-align: center;
line-height: 20px; line-height: 20px;
} }
._addUpload_box_btm .icon-guanbi1:hover { ._addUpload_box_btm .icon-guanbi1:hover {
font-size: 12px; font-size: 12px;
color: #c94052; color: #c94052;
} }
._addUpload_box_btm .icon-excel{
._addUpload_box_btm .icon-excel {
text-align: center; text-align: center;
font-size: 38px; font-size: 38px;
color: green; color: green;
line-height: 75px; line-height: 75px;
} }
._show_img_box{position: fixed; background: rgba(0,0,0,.6); left: 0; top:0; width: 100%; height: 100%; z-index: 999; text-align: center;}
._addUpload_tips{ ._show_img_box {
position: fixed;
background: rgba(0, 0, 0, .6);
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 999;
text-align: center;
}
._addUpload_tips {
font-size: 12px; font-size: 12px;
color: #999999; color: #999999;
} }
.InfoChangeLog{height: auto;max-height: 220px;background-color: #FFFFFF;}
.changLogList{padding-left: 20px;max-height: 180px;overflow: auto;} .InfoChangeLog {
.changLogList_l{border-left: 1px solid #E9E9E9;position: relative;padding-bottom: 10px;padding-left: 20px;padding-top: 10px;} height: auto;
._radius_green{background-color: #47BF8C;width: 7px;height: 7px;border-radius: 50%;display: inline-block;position: absolute;left: -4px;top: 19px;} max-height: 220px;
.changLog_time{color: #666666;font-size: 12px;display: inline-block;padding-right: 10px} background-color: #FFFFFF;
.color_shz{color: #1273BC} }
.color_tg{color: #4BCA81}
.color_bh{color: #c94052} .changLogList {
.page_fdd .sqs:hover{ padding-left: 20px;
max-height: 180px;
overflow: auto;
}
.changLogList_l {
border-left: 1px solid #E9E9E9;
position: relative;
padding-bottom: 10px;
padding-left: 20px;
padding-top: 10px;
}
._radius_green {
background-color: #47BF8C;
width: 7px;
height: 7px;
border-radius: 50%;
display: inline-block;
position: absolute;
left: -4px;
top: 19px;
}
.changLog_time {
color: #666666;
font-size: 12px;
display: inline-block;
padding-right: 10px
}
.color_shz {
color: #1273BC
}
.color_tg {
color: #4BCA81
}
.color_bh {
color: #c94052
}
.page_fdd .sqs:hover {
text-decoration: underline; text-decoration: underline;
color: rgb(255, 0, 0); color: rgb(255, 0, 0);
} }
.page_fdd .Note_span:hover{
.page_fdd .Note_span:hover {
text-decoration: underline; text-decoration: underline;
color: rgb(255, 0, 0); color: rgb(255, 0, 0);
} }
.page_fdd .sqs{
.page_fdd .sqs {
position: relative; position: relative;
cursor: pointer; cursor: pointer;
color: #3980C8; color: #3980C8;
font-size: 12px; font-size: 12px;
} }
.page_fdd .Note_span{
.page_fdd .Note_span {
position: relative; position: relative;
cursor: pointer; cursor: pointer;
color: #3980C8; color: #3980C8;
font-size: 12px; font-size: 12px;
} }
.FD_remark_list{
margin-top:10px; .FD_remark_list {
color:#E95252; margin-top: 10px;
color: #E95252;
} }
.FD_remark_list span:first-child{
.FD_remark_list span:first-child {
display: inline-block; display: inline-block;
width:26px; width: 26px;
vertical-align: top; vertical-align: top;
} }
.FD_remark_list span:last-child{
.FD_remark_list span:last-child {
display: inline-block; display: inline-block;
width:90%; width: 90%;
} }
.FD_yijian{
margin-left:20px; .FD_yijian {
cursor:pointer; margin-left: 20px;
cursor: pointer;
text-decoration: underline; text-decoration: underline;
} }
</style> </style>
<template> <template>
...@@ -376,108 +780,166 @@ ...@@ -376,108 +780,166 @@
<p class="_tit"> <p class="_tit">
{{GetDetail.FinanceName}} {{GetDetail.FinanceName}}
<span :class="{color_shz:(GetDetail.StatusStr!=='通过' && GetDetail.StatusStr!=='驳回' && GetDetail.StatusStr!=='作废'),color_tg:GetDetail.StatusStr==='通过',color_bh:GetDetail.StatusStr==='驳回'}">{{GetDetail.StatusStr}}</span> <span
:class="{color_shz:(GetDetail.StatusStr!=='通过' && GetDetail.StatusStr!=='驳回' && GetDetail.StatusStr!=='作废'),color_tg:GetDetail.StatusStr==='通过',color_bh:GetDetail.StatusStr==='驳回'}">{{GetDetail.StatusStr}}</span>
</p> </p>
<div style="width: 890px;position: relative;text-align: right;"> <div style="width: 890px;position: relative;text-align: right;">
<span v-if="GetDetail.TemplateId==36 || GetDetail.TemplateId==37 || GetDetail.TemplateId==53 || GetDetail.TemplateId==43 || GetDetail.TemplateId==56 || GetDetail.TemplateId==48" class="Note_span" @click="goUrl('DebitNote',GetDetail.FrID)">借支单下载</span> <span
<span v-if="GetDetail.TemplateId==36 || GetDetail.TemplateId==37 || GetDetail.TemplateId==53 ||GetDetail.TemplateId==48 || (GetDetail.TemplateId==43&&GetDetail.IsPublic==4) || (GetDetail.TemplateId==56&&GetDetail.IsPublic==4)" class="sqs" @click="goUrl('Application',GetDetail.FrID)"> v-if="GetDetail.TemplateId==36 || GetDetail.TemplateId==37 || GetDetail.TemplateId==53 || GetDetail.TemplateId==43 || GetDetail.TemplateId==56 || GetDetail.TemplateId==48"
class="Note_span" @click="goUrl('DebitNote',GetDetail.FrID)">借支单下载</span>
<span
v-if="GetDetail.TemplateId==36 || GetDetail.TemplateId==37 || GetDetail.TemplateId==53 ||GetDetail.TemplateId==48 || (GetDetail.TemplateId==43&&GetDetail.IsPublic==4) || (GetDetail.TemplateId==56&&GetDetail.IsPublic==4)"
class="sqs" @click="goUrl('Application',GetDetail.FrID)">
申请书{{GetDetail.FApplyForNumber}}下载 申请书{{GetDetail.FApplyForNumber}}下载
</span> </span>
<span v-show="huijiShow" class="_Printing" @click="goPrintPageNew(GetDetail.Type,GetDetail.FrID,GetDetail.Is_Merge,OrderSource)">凭证打印</span> <span v-show="huijiShow" class="_Printing"
<!-- <span v-show="GetDetail.AccountantMergeDetailList && GetDetail.AccountantMergeDetailList.length>0" class="_Printing" @click="goPrintPage2(GetDetail.Type,GetDetail.FrID,GetDetail.Is_Merge,OrderSource)">会计合并打印</span>--> @click="goPrintPageNew(GetDetail.Type,GetDetail.FrID,GetDetail.Is_Merge,OrderSource)">凭证打印</span>
<span class="_Printing" style="margin-left:10px;" @click="goPrintPage(GetDetail.Type,GetDetail.FrID,GetDetail.Is_Merge,OrderSource)">打印单据</span> <!-- <span v-show="GetDetail.AccountantMergeDetailList && GetDetail.AccountantMergeDetailList.length>0" class="_Printing" @click="goPrintPage2(GetDetail.Type,GetDetail.FrID,GetDetail.Is_Merge,OrderSource)">会计合并打印</span>-->
<span class="_Printing" style="margin-left:10px;"
@click="goPrintPage(GetDetail.Type,GetDetail.FrID,GetDetail.Is_Merge,OrderSource)">打印单据</span>
</div> </div>
<div class="_conten"> <div class="_conten">
<my-Bill v-if="GetDetail.Type===2 && GetDetail.Type!==5" :isPrintPage="false" :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-Bill> <my-Bill v-if="GetDetail.Type===2 && GetDetail.Type!==5" :isPrintPage="false" :ID="GetDetail.FrID"
<my-RVB-Bill v-else-if="GetDetail.Type===1" :ID="GetDetail.FrID" :isPrintPage="false" :width="widthSon" :color="colorSon"></my-RVB-Bill> :width="widthSon" :color="colorSon"></my-Bill>
<my-GZ-Bill v-else-if="GetDetail.Type===7" :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-GZ-Bill> <my-RVB-Bill v-else-if="GetDetail.Type===1" :ID="GetDetail.FrID" :isPrintPage="false" :width="widthSon"
:color="colorSon"></my-RVB-Bill>
<my-GZ-Bill v-else-if="GetDetail.Type===7" :ID="GetDetail.FrID" :width="widthSon" :color="colorSon">
</my-GZ-Bill>
<div class="_explain"> <div class="_explain">
<p>附加说明: <span class="fr" v-if="GetDetail.ComplainID > 0" @click="goComplain('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)"> <p>附加说明: <span class="fr" v-if="GetDetail.ComplainID > 0"
<span style="color:#000">投诉单号:</span> <span class="cursorpointer text-decoration">{{GetDetail.ComplainID}}</span></span> @click="goComplain('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)">
<span style="color:#000">投诉单号:</span> <span
<span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==15" @click="goassets(GetDetail.ReFinanceId,GetDetail.OtherType)"> 电商采购单:{{GetDetail.ReFinanceId}}</span> class="cursorpointer text-decoration">{{GetDetail.ComplainID}}</span></span>
<span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==16" @click="goassets(GetDetail.ReFinanceId,GetDetail.OtherType)"> 电商出库单:{{GetDetail.ReFinanceId}}</span>
<span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==17" @click="lookbreakage(GetDetail.ReFinanceId)"> 报损/报溢单:{{GetDetail.ReFinanceId}}</span> <span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==15"
<span v-if="GetDetail.TemplateId==28 || GetDetail.TemplateId==30" @click="Gourl(GetDetail)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span> @click="goassets(GetDetail.ReFinanceId,GetDetail.OtherType)"> 电商采购单:{{GetDetail.ReFinanceId}}</span>
<span v-if="(GetDetail.TemplateId==29 || GetDetail.TemplateId==31) && OPState" @click="GoOPurl(GetDetail)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span> <span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==16"
<span v-if="CostTypeState" @click="GourlCostType('VisitRecord',1)" style="margin:0 10px;cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">拜访记录</span> @click="goassets(GetDetail.ReFinanceId,GetDetail.OtherType)"> 电商出库单:{{GetDetail.ReFinanceId}}</span>
<span v-if="CostTypeState" @click="GourlCostType('yingyanMap',2)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">鹰眼轨迹</span> <span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==17"
<span v-if="GetDetail.OtherType==5" @click="GourlHotelZr" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">酒店折让</span> @click="lookbreakage(GetDetail.ReFinanceId)"> 报损/报溢单:{{GetDetail.ReFinanceId}}</span>
<span v-if="GetDetail.TemplateId==28 || GetDetail.TemplateId==30" @click="Gourl(GetDetail)"
style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span>
<span v-if="(GetDetail.TemplateId==29 || GetDetail.TemplateId==31) && OPState" @click="GoOPurl(GetDetail)"
style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span>
<span v-if="CostTypeState" @click="GourlCostType('VisitRecord',1)"
style="margin:0 10px;cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">拜访记录</span>
<span v-if="CostTypeState" @click="GourlCostType('yingyanMap',2)"
style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">鹰眼轨迹</span>
<span v-if="GetDetail.OtherType==5" @click="GourlHotelZr"
style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">酒店折让</span>
<span v-if="GetDetail.OtherType==6" style="cursor: pointer;float: right;color: #000;font-size: 12px;"> <span v-if="GetDetail.OtherType==6" style="cursor: pointer;float: right;color: #000;font-size: 12px;">
<span style="text-decoration: underline;margin-right:10px" @click="goHand(1,GetDetail)">团号:{{GetDetail.TCNUM}}</span> <span style="text-decoration: underline;margin-right:10px"
<span style="text-decoration: underline;" @click="goHand(2,GetDetail)">相关单据:{{GetDetail.ReFinanceId}}</span> @click="goHand(1,GetDetail)">团号:{{GetDetail.TCNUM}}</span>
<span style="text-decoration: underline;"
@click="goHand(2,GetDetail)">相关单据:{{GetDetail.ReFinanceId}}</span>
</span> </span>
<span v-if="GetDetail.OtherType==18&&GetDetail.ReFinanceId>0" style="cursor: pointer;float: right;color: #000;font-size: 12px;"> <span v-if="GetDetail.OtherType==18&&GetDetail.ReFinanceId>0"
style="cursor: pointer;float: right;color: #000;font-size: 12px;">
<span @click="goOrderDetails(GetDetail.ReFinanceId)">账单:{{GetDetail.ReFinanceId}}</span> <span @click="goOrderDetails(GetDetail.ReFinanceId)">账单:{{GetDetail.ReFinanceId}}</span>
</span> </span>
<span v-if="GetDetail.OtherType==29&&GetDetail.ReFinanceId>0" style="float: right;color: #000;font-size: 12px;">报价单: <span v-if="GetDetail.OtherType==29&&GetDetail.ReFinanceId>0"
<span style="color:blue;cursor:pointer;text-decoration:underline;" @click="showViewOrder">{{GetDetail.ReFinanceId}}</span> style="float: right;color: #000;font-size: 12px;">报价单:
<span style="color:blue;cursor:pointer;text-decoration:underline;"
@click="showViewOrder">{{GetDetail.ReFinanceId}}</span>
</span> </span>
</p> </p>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-if="GetDetail.TCIDAndTCNUMList.length>0"> <table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%"
v-if="GetDetail.TCIDAndTCNUMList.length>0">
<tr v-for="(o,ox) in GetDetail.TCIDAndTCNUMList" class="_fujiashuoming_tr"> <tr v-for="(o,ox) in GetDetail.TCIDAndTCNUMList" class="_fujiashuoming_tr">
<td :colspan="4" v-if="GetDetail.Is_Merge===1">单据号:{{o.FinanceId}}</td> <td :colspan="4" v-if="GetDetail.Is_Merge===1">单据号:{{o.FinanceId}}</td>
<template v-if="GetDetail.OrderSource==17">
<td :colspan="3" class="_jump_page" @click="getClassInfo(o)"> <td :colspan="3" class="_jump_page" @click="getClassInfo(o)">
{{o.ClassName}}{{o.ClassId}} {{o.ClassName}}{{o.ClassId}}
<span v-if="GetDetail.IsShowGuestUrl && GetDetail.IsShowGuestUrl===1" @click="goInves('investigationList',o.TCID)" class="FD_yijian">旅客意见 <span v-if="GetDetail.IsShowGuestUrl && GetDetail.IsShowGuestUrl===1"
@click="goInves('investigationList',o.TCID)" class="FD_yijian">旅客意见
<span>{{o.GuestSurveyNum?o.GuestSurveyNum:0}}</span>/ <span>{{o.GuestSurveyNum?o.GuestSurveyNum:0}}</span>/
<span>{{o.GuestTotalNum?o.GuestTotalNum:0}}</span> <span>{{o.GuestTotalNum?o.GuestTotalNum:0}}</span>
</span> </span>
<span v-if="GetDetail.IsShowGuestUrl && GetDetail.IsShowGuestUrl===1 && GetDetail.ClientType===7" @click="goGuideAccount('GuideAccount',GetDetail.ClientID)" class="FD_yijian"> <span v-if="GetDetail.IsShowGuestUrl && GetDetail.IsShowGuestUrl===1 && GetDetail.ClientType===7"
@click="goGuideAccount('GuideAccount',GetDetail.ClientID)" class="FD_yijian">
领队导游往来 领队导游往来
</span> </span>
<span v-if="GetDetail.IsShowDiJieChargeUrl==1" style="margin-left:10px;cursor:pointer;" @click="jumpHotelContract('HotelContract',o)">手配费详情</span> <span v-if="GetDetail.IsShowDiJieChargeUrl==1" style="margin-left:10px;cursor:pointer;"
@click="jumpHotelContract('HotelContract',o)">手配费详情</span>
</td> </td>
<td @click="jumpbjPage('classManage',o)"> <span class="_jump_page _font_bold">查看班级</span> </td> <td @click="jumpbjPage('classManage',o)"> <span class="_jump_page _font_bold">查看班级</span> </td>
<td @click="jumpbjPage('classorder',o)"> <span class="_jump_page _font_bold">查看报名</span> </td> <td @click="jumpbjPage('classorder',o)"> <span class="_jump_page _font_bold">查看报名</span> </td>
<td @click="jumpbjPage('paymentDetail',o)"> <span class="_jump_page _font_bold">班级收支</span> </td> <td @click="jumpbjPage('paymentDetail',o)"> <span class="_jump_page _font_bold">班级收支</span> </td>
<td v-if="qjGroupId==userInfo.Group_Id || TeamShouZhi" @click="GetDetail.TCIDAndTCNUMList.length==1?jumpPage('TeamBalancePayment',o.TCID,5):jumpPage('TeamBalancePayment',o.TCID,6)"> <span class="_jump_page _font_bold">团队收支</span> </td> </template>
<td v-if="OrderSource==9&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail,2)"> <span class="_jump_page _font_bold">国内票务</span> </td> <template v-if="GetDetail.OrderSource==18">
<td v-else-if="OrderSource==10&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail,3)"> <span class="_jump_page _font_bold">签证收支</span> </td> <td :colspan="3" class="_jump_page">
<td v-else-if="OrderSource==4&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail,4)"> <span class="_jump_page _font_bold">机票收支</span> </td> {{o.ClassName}}{{o.ClassId}}
<td v-if="GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53|| GetDetail.TemplateId === 56 </td>
<td @click="jumpbjStudyPage('studyjob',o)"> <span class="_jump_page _font_bold">查看留学就业产品</span> </td>
<td @click="jumpbjStudyPage('studyemploymentorder',o)"> <span class="_jump_page _font_bold">查看报名</span>
</td>
<td @click="jumpbjStudyPage('studypayment',o)"> <span class="_jump_page _font_bold">留学就业收支</span> </td>
</template>
<td v-if="qjGroupId==userInfo.Group_Id || TeamShouZhi"
@click="GetDetail.TCIDAndTCNUMList.length==1?jumpPage('TeamBalancePayment',o.TCID,5):jumpPage('TeamBalancePayment',o.TCID,6)">
<span class="_jump_page _font_bold">团队收支</span> </td>
<td v-if="OrderSource==9&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail,2)"> <span
class="_jump_page _font_bold">国内票务</span> </td>
<td v-else-if="OrderSource==10&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail,3)">
<span class="_jump_page _font_bold">签证收支</span> </td>
<td v-else-if="OrderSource==4&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail,4)">
<span class="_jump_page _font_bold">机票收支</span> </td>
<td
v-if="GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53|| GetDetail.TemplateId === 56
|| GetDetail.TemplateId === 49 || GetDetail.TemplateId === 50 || GetDetail.TemplateId === 51|| GetDetail.TemplateId === 52 || GetDetail.TemplateId === 49 || GetDetail.TemplateId === 50 || GetDetail.TemplateId === 51|| GetDetail.TemplateId === 52
|| GetDetail.TemplateId === 54 || GetDetail.TemplateId === 55 || GetDetail.TemplateId === 57|| GetDetail.TemplateId === 58 || GetDetail.TemplateId === 98 || GetDetail.TemplateId === 99 || GetDetail.TemplateId === 54 || GetDetail.TemplateId === 55 || GetDetail.TemplateId === 57|| GetDetail.TemplateId === 58 || GetDetail.TemplateId === 98 || GetDetail.TemplateId === 99
|| GetDetail.IsShowPlanUrl === 1 && (qjGroupId==userInfo.Group_Id || F_Disbursement_Schedule)" @click="jumpPlanPage('leaderReimbursement',o.TCID)"> <span class="_jump_page _font_bold">用款计划</span> </td> || GetDetail.IsShowPlanUrl === 1 && (qjGroupId==userInfo.Group_Id || F_Disbursement_Schedule)"
<td v-if="GetDetail.IsShowPlanUrl === 1 && (qjGroupId==userInfo.Group_Id || F_Disbursement_Schedule)" @click="jumpPlanPage('leaderPay2',o.TCID)"> <span class="_jump_page _font_bold">领队报账</span> </td> @click="jumpPlanPage('leaderReimbursement',o.TCID)"> <span class="_jump_page _font_bold">用款计划</span>
<td v-if="GetDetail.TemplateId === 49 || GetDetail.TemplateId === 50 || GetDetail.TemplateId === 57 || GetDetail.TemplateId === 58" @click="jumpCheZiPage('BusApportionManagement',o.TCID)"> <span class="_jump_page _font_bold">车资分摊</span> </td> </td>
<td v-if="GetDetail.IsShowPlanUrl === 1 && (qjGroupId==userInfo.Group_Id || F_Disbursement_Schedule)"
@click="jumpPlanPage('leaderPay2',o.TCID)"> <span class="_jump_page _font_bold">领队报账</span> </td>
<td
v-if="GetDetail.TemplateId === 49 || GetDetail.TemplateId === 50 || GetDetail.TemplateId === 57 || GetDetail.TemplateId === 58"
@click="jumpCheZiPage('BusApportionManagement',o.TCID)"> <span class="_jump_page _font_bold">车资分摊</span>
</td>
</tr> </tr>
</table> </table>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-else-if="OrderSource==10"> <table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%"
v-else-if="OrderSource==10">
<tr class="_fujiashuoming_tr"> <tr class="_fujiashuoming_tr">
<td>签证产品编号:<span @click="jumpPage('VisaProductOrder',GetDetail,8)" class="_jump_page _font_bold">{{GetDetail.SourceID}}</span></td> <td>签证产品编号:<span @click="jumpPage('VisaProductOrder',GetDetail,8)"
class="_jump_page _font_bold">{{GetDetail.SourceID}}</span></td>
<td @click="jumpPage('FinancialOrder',GetDetail,3)"> <span class="_jump_page _font_bold">签证收支</span></td> <td @click="jumpPage('FinancialOrder',GetDetail,3)"> <span class="_jump_page _font_bold">签证收支</span></td>
</tr> </tr>
</table> </table>
<table border="1" borderCashierDetailcolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-else-if="OrderSource==9"> <table border="1" borderCashierDetailcolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;"
width="100%" v-else-if="OrderSource==9">
<tr class="_fujiashuoming_tr"> <tr class="_fujiashuoming_tr">
<td>期数:{{GetDetail.Term}}</td> <td>期数:{{GetDetail.Term}}</td>
<td @click="jumpPage('FinancialOrder',GetDetail,2)"> <span class="_jump_page _font_bold">国内票务</span></td> <td @click="jumpPage('FinancialOrder',GetDetail,2)"> <span class="_jump_page _font_bold">国内票务</span></td>
</tr> </tr>
</table> </table>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-else-if="OrderSource==4"> <table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%"
v-else-if="OrderSource==4">
<tr class="_fujiashuoming_tr"> <tr class="_fujiashuoming_tr">
<td>机票编号:{{GetDetail.SourceID}}</td> <td>机票编号:{{GetDetail.SourceID}}</td>
<td v-if="(GetDetail.TCIDAndTCNUMList && GetDetail.TCIDAndTCNUMList.length===0) || !GetDetail.TCIDAndTCNUMList">线路:{{GetDetail.LineName?GetDetail.LineName:'机票尚未选择线路'}}</td> <td
v-if="(GetDetail.TCIDAndTCNUMList && GetDetail.TCIDAndTCNUMList.length===0) || !GetDetail.TCIDAndTCNUMList">
线路:{{GetDetail.LineName?GetDetail.LineName:'机票尚未选择线路'}}</td>
<td @click="jumpPage('FinancialOrder',GetDetail,4)"> <span class="_jump_page _font_bold">机票收支</span></td> <td @click="jumpPage('FinancialOrder',GetDetail,4)"> <span class="_jump_page _font_bold">机票收支</span></td>
</tr> </tr>
</table> </table>
<div> <div>
<p v-if="GetDetail.Type!==7">费用归属部门:<span class="_font_bold">{{GetDetail.DepartName}}</span></p> <p v-if="GetDetail.Type!==7">费用归属部门:<span class="_font_bold">{{GetDetail.DepartName}}</span></p>
<div> <div>
<el-popover <el-popover popper-class="detailsIT_Journal" width="250" trigger="click">
popper-class="detailsIT_Journal" <div class="InfoChangeLog">
width="250"
trigger="click">
<div class="InfoChangeLog" >
<div class="changLog"> <div class="changLog">
<p class="_log_t">流程日志</p> <p class="_log_t">流程日志</p>
<ul class="changLogList" v-if="GetFinancLogList" v-loading='LogLoading'> <ul class="changLogList" v-if="GetFinancLogList" v-loading='LogLoading'>
<li class="changLogList_l" v-for="(log,li) in GetFinancLogList"> <li class="changLogList_l" v-for="(log,li) in GetFinancLogList">
<span style="background-color: #47BF8C" class="_radius_green"></span> <span style="background-color: #47BF8C" class="_radius_green"></span>
<p> <span class="_color_blue">{{log.EmName}}</span> <span class="fr changLog_time">{{log.UpdateDate}}</span> </p> <p> <span class="_color_blue">{{log.EmName}}</span> <span
class="fr changLog_time">{{log.UpdateDate}}</span> </p>
<p class="_dtel">{{log.StartValue}}</p> <p class="_dtel">{{log.StartValue}}</p>
</li> </li>
</ul> </ul>
...@@ -486,12 +948,14 @@ ...@@ -486,12 +948,14 @@
</ul> </ul>
</div> </div>
</div> </div>
<span slot="reference" style="text-decoration: underline;cursor: pointer;" @click="Financial_post_GetFinancLogList()">单据操作日志</span> <span slot="reference" style="text-decoration: underline;cursor: pointer;"
@click="Financial_post_GetFinancLogList()">单据操作日志</span>
</el-popover> </el-popover>
</div> </div>
</div> </div>
</div> </div>
<my-HB-Bill v-if="GetDetail.Is_Merge===1 && ZhiDanRen!==bossID" :ID="FrID" :FrID='FrID' :GetDetail="GetDetail" :isPrintPage="false" :width="widthSon" :color="colorSon"></my-HB-Bill> <my-HB-Bill v-if="GetDetail.Is_Merge===1 && ZhiDanRen!==bossID" :ID="FrID" :FrID='FrID' :GetDetail="GetDetail"
:isPrintPage="false" :width="widthSon" :color="colorSon"></my-HB-Bill>
<!-- <myDJieBill v-if="GetDetail.DijieBathFinanceList && GetDetail.DijieBathFinanceList.length" :ID="GetDetail.FrID" :isPrintPage="false" :width="widthSon" :color="colorSon"/> --> <!-- <myDJieBill v-if="GetDetail.DijieBathFinanceList && GetDetail.DijieBathFinanceList.length" :ID="GetDetail.FrID" :isPrintPage="false" :width="widthSon" :color="colorSon"/> -->
<!--<my-C-Bill v-if="GetDetail.CashierDetail&&GetDetail.CashierDetail.length&&GetDetail.Type!=1" :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-C-Bill>--> <!--<my-C-Bill v-if="GetDetail.CashierDetail&&GetDetail.CashierDetail.length&&GetDetail.Type!=1" :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-C-Bill>-->
<div class="_fujian_box" v-if="(GetDetail.VorcherInos&&GetDetail.VorcherInos.length>0) || saveMsg.length>0"> <div class="_fujian_box" v-if="(GetDetail.VorcherInos&&GetDetail.VorcherInos.length>0) || saveMsg.length>0">
...@@ -517,14 +981,16 @@ ...@@ -517,14 +981,16 @@
<div class="clearfix" style="border:none"> <div class="clearfix" style="border:none">
<template v-for="(file,fIndex) in GetDetail.VorcherInos" v-if="file.Type===1"> <template v-for="(file,fIndex) in GetDetail.VorcherInos" v-if="file.Type===1">
<div class="_wenjian" @click="showUpLoadFile(file)"> <div class="_wenjian" @click="showUpLoadFile(file)">
<p v-if="file.Type==1" class="_wenjian_P iconfont" :class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"></p> <p v-if="file.Type==1" class="_wenjian_P iconfont"
:class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'">
</p>
<!-- <p class="_addFile_name">{{file.Content}}</p> --> <!-- <p class="_addFile_name">{{file.Content}}</p> -->
</div> </div>
</template> </template>
</div> </div>
</div> </div>
<div > <div>
<div class="_addUpload_box _addUpload_box_btm clearfix" > <div class="_addUpload_box _addUpload_box_btm clearfix">
<template v-for="(file,fIndex) in saveMsg"> <template v-for="(file,fIndex) in saveMsg">
<div v-if="file.Type==3"> <div v-if="file.Type==3">
<div style="width:100%;height:100%;overflow: hidden;"> <div style="width:100%;height:100%;overflow: hidden;">
...@@ -533,7 +999,9 @@ ...@@ -533,7 +999,9 @@
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span> <span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span>
</div> </div>
<div v-if="file.Type==1"> <div v-if="file.Type==1">
<div class="iconfont _wenjian_P" :class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'" @click="showUpLoadFileT(file)"> <div class="iconfont _wenjian_P"
:class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@click="showUpLoadFileT(file)">
</div> </div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span> <span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span>
...@@ -544,10 +1012,7 @@ ...@@ -544,10 +1012,7 @@
<div style="margin-top: 80px;"> <div style="margin-top: 80px;">
<div class="_pic_upload" v-if="GetDetail.IsUploadPic===1"> <div class="_pic_upload" v-if="GetDetail.IsUploadPic===1">
<!--<div class="_pic_upload" v-if="saveMsg.length!==5 && ((saveMsg.length + GetDetail.VorcherInos.length) < 5)">--> <!--<div class="_pic_upload" v-if="saveMsg.length!==5 && ((saveMsg.length + GetDetail.VorcherInos.length) < 5)">-->
<el-upload <el-upload drag :http-request="uploadFileBtn" :multiple="true" :show-file-list="false" action="">
drag
:http-request="uploadFileBtn"
:multiple="true" :show-file-list="false" action="">
<i class="el-icon-plus avatar-uploader-icon"></i> <i class="el-icon-plus avatar-uploader-icon"></i>
<div class="el-upload__text">点击/拖拽上传</div> <div class="el-upload__text">点击/拖拽上传</div>
</el-upload> </el-upload>
...@@ -555,14 +1020,12 @@ ...@@ -555,14 +1020,12 @@
<div class="shangchuanfujian"><button class="hollowFixedBtn" @click="upLoadFuJian">上传附件</button></div> <div class="shangchuanfujian"><button class="hollowFixedBtn" @click="upLoadFuJian">上传附件</button></div>
</div> </div>
</div> </div>
<div class="_fujian_box" v-if="GetDetail.VorcherInos&&GetDetail.VorcherInos.length===0&&GetDetail.IsUploadPic===1&&saveMsg.length===0"> <div class="_fujian_box"
v-if="GetDetail.VorcherInos&&GetDetail.VorcherInos.length===0&&GetDetail.IsUploadPic===1&&saveMsg.length===0">
<div style="margin-top: 80px;"> <div style="margin-top: 80px;">
<div class="_pic_upload" v-if="GetDetail.IsUploadPic===1"> <div class="_pic_upload" v-if="GetDetail.IsUploadPic===1">
<!--<div class="_pic_upload" v-if="saveMsg.length!==5 && ((saveMsg.length + GetDetail.VorcherInos.length) < 5)">--> <!--<div class="_pic_upload" v-if="saveMsg.length!==5 && ((saveMsg.length + GetDetail.VorcherInos.length) < 5)">-->
<el-upload <el-upload drag :http-request="uploadFileBtn" :multiple="true" :show-file-list="false" action="">
drag
:http-request="uploadFileBtn"
:multiple="true" :show-file-list="false" action="">
<i class="el-icon-plus avatar-uploader-icon"></i> <i class="el-icon-plus avatar-uploader-icon"></i>
<div class="el-upload__text">点击/拖拽上传</div> <div class="el-upload__text">点击/拖拽上传</div>
</el-upload> </el-upload>
...@@ -571,25 +1034,32 @@ ...@@ -571,25 +1034,32 @@
</div> </div>
</div> </div>
</div> </div>
<p class="_splic">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</p> <p class="_splic">
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
</p>
<div class="_tit _tit2 w890px"> <div class="_tit _tit2 w890px">
<!-- 预付款冲抵 电商商品--> <!-- 预付款冲抵 电商商品-->
<czBillModule :FrID='ID' /> <czBillModule :FrID='ID' />
<myGuanBill :ID="FrID" :FrID='FrID' :TemplateId='GetDetail.TemplateId' v-if="(((GetDetail.TemplateId === 36 || GetDetail.TemplateId === 37) && LeadState) || GetDetail.TemplateId === 63 || GetDetail.TemplateId === 59 || GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53 || GetDetail.TemplateId === 56) && showModel" /> <myGuanBill :ID="FrID" :FrID='FrID' :TemplateId='GetDetail.TemplateId'
<myJiPiaoBill :ID="FrID" :FrID='FrID' :TemplateId='GetDetail.TemplateId' v-if="GetDetail.TemplateId === 2 || GetDetail.TemplateId === 12 && showModel" /> v-if="(((GetDetail.TemplateId === 36 || GetDetail.TemplateId === 37) && LeadState) || GetDetail.TemplateId === 63 || GetDetail.TemplateId === 59 || GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53 || GetDetail.TemplateId === 56) && showModel" />
<huijiBill :ID="ID" :disabled="true" :loopNumN="1" :FrID='FrID' :TemplateId='GetDetail.TemplateId' v-if="GetDetail.AccountantMergeDetailList && GetDetail.AccountantMergeDetailList.length>0" /> <myJiPiaoBill :ID="FrID" :FrID='FrID' :TemplateId='GetDetail.TemplateId'
v-if="GetDetail.TemplateId === 2 || GetDetail.TemplateId === 12 && showModel" />
<huijiBill :ID="ID" :disabled="true" :loopNumN="1" :FrID='FrID' :TemplateId='GetDetail.TemplateId'
v-if="GetDetail.AccountantMergeDetailList && GetDetail.AccountantMergeDetailList.length>0" />
</div> </div>
<div class="w890px"> <div class="w890px">
<SaleOrderModule v-if="OrderSource==10&&SourceID&&OrderID" :SourceID='SourceID' :OrderID='OrderID'/> <SaleOrderModule v-if="OrderSource==10&&SourceID&&OrderID" :SourceID='SourceID' :OrderID='OrderID' />
<TicketFinace v-if="OrderSource==4&&SourceID&&Callback&&ID" :SourceID='SourceID' :Callback='Callback' :id='ID'/> <TicketFinace v-if="OrderSource==4&&SourceID&&Callback&&ID" :SourceID='SourceID' :Callback='Callback'
<TicketingModule v-if="OrderSource==9&&FrID&&ID" :FrID='FrID' :id='ID'/> :id='ID' />
<ChongDiPage v-if="GetDetail.Type === 7 || isChongDi" :dataList="ChongDiList" :type="danjuType"/> <TicketingModule v-if="OrderSource==9&&FrID&&ID" :FrID='FrID' :id='ID' />
<ChongDiPage v-if="GetDetail.Type === 7 || isChongDi" :dataList="ChongDiList" :type="danjuType" />
</div> </div>
<div class="_tit _tit2 w890px"> <div class="_tit _tit2 w890px">
<p> <p>
<span class="_text">审核流程</span> <span class="_text">审核流程</span>
<span class="_btn" v-if="tableShow" @click="tableShow=false">收起 <i class="iconfont icon-gengduo _rotate"></i> </span> <span class="_btn" v-if="tableShow" @click="tableShow=false">收起 <i class="iconfont icon-gengduo _rotate"></i>
</span>
<span class="_btn" v-else @click="tableShow=true">展开 <i class="iconfont icon-gengduo"></i> </span> <span class="_btn" v-else @click="tableShow=true">展开 <i class="iconfont icon-gengduo"></i> </span>
</p> </p>
<div v-show="tableShow"> <div v-show="tableShow">
...@@ -603,10 +1073,11 @@ ...@@ -603,10 +1073,11 @@
<div class="_tit _tit2 w890px _border_bottom_none"> <div class="_tit _tit2 w890px _border_bottom_none">
<p> <p>
<span class="_text">原路退款</span> <span class="_text">原路退款</span>
<span class="_btn" v-if="tableShowTuikuan" @click="tableShowTuikuan=false">收起 <i class="iconfont icon-gengduo _rotate"></i> </span> <span class="_btn" v-if="tableShowTuikuan" @click="tableShowTuikuan=false">收起 <i
class="iconfont icon-gengduo _rotate"></i> </span>
<span class="_btn" v-else @click="tableShowTuikuan=true">展开 <i class="iconfont icon-gengduo"></i> </span> <span class="_btn" v-else @click="tableShowTuikuan=true">展开 <i class="iconfont icon-gengduo"></i> </span>
</p> </p>
<div v-show="tableShowTuikuan" > <div v-show="tableShowTuikuan">
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<th width="250">平台单号</th> <th width="250">平台单号</th>
...@@ -648,14 +1119,17 @@ ...@@ -648,14 +1119,17 @@
</el-popover> --> </el-popover> -->
<div class="_process_box"> <div class="_process_box">
<template v-for="(item,index) in GetDetail.AuditSteps"> <template v-for="(item,index) in GetDetail.AuditSteps">
<div class="_pb_son" :class="{_none_after:(item.NextStep==1||item.Status==4),_bohui_after:(GetDetail.Status==3 && !IsBoHui && index===GetDetail.AuditSteps.length-1)}" v-if="item.Sort==0 || (item.Status==1 && item.NextStep==1) || (item.Status==2 && item.Sort!=0) || (item.Status==4)"> <div class="_pb_son"
:class="{_none_after:(item.NextStep==1||item.Status==4),_bohui_after:(GetDetail.Status==3 && !IsBoHui && index===GetDetail.AuditSteps.length-1)}"
v-if="item.Sort==0 || (item.Status==1 && item.NextStep==1) || (item.Status==2 && item.Sort!=0) || (item.Status==4)">
<div class="_left_radius" v-if="item.Sort==0">发起</div> <div class="_left_radius" v-if="item.Sort==0">发起</div>
<div class="_left_radius _left_radius_sus" v-if="item.NextStep==1">待审</div> <div class="_left_radius _left_radius_sus" v-if="item.NextStep==1">待审</div>
<div class="_left_radius" v-if="item.Sort!=0 && item.Status==2">通过</div> <div class="_left_radius" v-if="item.Sort!=0 && item.Status==2">通过</div>
<div class="_left_radius _left_radius_err" v-else-if="item.Status==4">驳回</div> <div class="_left_radius _left_radius_err" v-else-if="item.Status==4">驳回</div>
<div class="_right_content" v-if="item.AuditWay==2 || item.AuditWay==3"> <div class="_right_content" v-if="item.AuditWay==2 || item.AuditWay==3">
<p class="_name"> <p class="_name">
<span class="_n">{{item.AuditDescription}}<span class="_sm">({{item.AuditWay==2?'会签':'或签'}})</span></span> <span class="_n">{{item.AuditDescription}}<span
class="_sm">({{item.AuditWay==2?'会签':'或签'}})</span></span>
</p> </p>
<div class="_more _mgt_15" v-for="(son,sindex) in item.AuditRecordList" v-if="son.AuditStatus==2"> <div class="_more _mgt_15" v-for="(son,sindex) in item.AuditRecordList" v-if="son.AuditStatus==2">
<div class="_right_content"> <div class="_right_content">
...@@ -672,7 +1146,7 @@ ...@@ -672,7 +1146,7 @@
</template> </template>
<div class="_pp_info" v-if="son.AuditStatus!=1"> <div class="_pp_info" v-if="son.AuditStatus!=1">
<p>{{son.Remark!=''?son.Remark:'无'}}</p> <p>{{son.Remark!=''?son.Remark:'无'}}</p>
<div class="_info_img" v-if="son.Image!=null&&son.AuditStatus==2" > <div class="_info_img" v-if="son.Image!=null&&son.AuditStatus==2">
<ul class="clearfix" v-if="son.Image.length&&son.Image.length>=1"> <ul class="clearfix" v-if="son.Image.length&&son.Image.length>=1">
<li v-for="(img,imgI) in son.Image"> <li v-for="(img,imgI) in son.Image">
<img v-if="!img" src="../image/Travelslider.png" alt=""> <img v-if="!img" src="../image/Travelslider.png" alt="">
...@@ -703,7 +1177,7 @@ ...@@ -703,7 +1177,7 @@
</template> </template>
<div class="_pp_info" v-if="item.Status!=1"> <div class="_pp_info" v-if="item.Status!=1">
<p>{{son.Remark!=''?son.Remark:'无'}}</p> <p>{{son.Remark!=''?son.Remark:'无'}}</p>
<div class="_info_img" v-if="son.Image!=null&&item.Status!=1" > <div class="_info_img" v-if="son.Image!=null&&item.Status!=1">
<ul class="clearfix" v-if="son.Image.length&&son.Image.length>=1"> <ul class="clearfix" v-if="son.Image.length&&son.Image.length>=1">
<li v-for="(img,imgI) in son.Image"> <li v-for="(img,imgI) in son.Image">
<img v-if="!img" src="../image/Travelslider.png" alt=""> <img v-if="!img" src="../image/Travelslider.png" alt="">
...@@ -732,7 +1206,7 @@ ...@@ -732,7 +1206,7 @@
</template> </template>
<div class="_pp_info" v-if="item.Status!=1"> <div class="_pp_info" v-if="item.Status!=1">
<p>{{son.Remark!=''?son.Remark:'无'}}</p> <p>{{son.Remark!=''?son.Remark:'无'}}</p>
<div class="_info_img" v-if="son.Image!=null&&item.Status!=1" > <div class="_info_img" v-if="son.Image!=null&&item.Status!=1">
<ul class="clearfix" v-if="son.Image.length&&son.Image.length>=1"> <ul class="clearfix" v-if="son.Image.length&&son.Image.length>=1">
<li v-for="(img,imgI) in son.Image"> <li v-for="(img,imgI) in son.Image">
<img v-if="!img" src="../image/Travelslider.png" alt=""> <img v-if="!img" src="../image/Travelslider.png" alt="">
...@@ -761,7 +1235,7 @@ ...@@ -761,7 +1235,7 @@
</template> </template>
<div class="_pp_info" v-if="item.Status!=1"> <div class="_pp_info" v-if="item.Status!=1">
<p>{{son.Remark!=''?son.Remark:'无'}}</p> <p>{{son.Remark!=''?son.Remark:'无'}}</p>
<div class="_info_img" v-if="son.Image!=null&&item.Status!=1" > <div class="_info_img" v-if="son.Image!=null&&item.Status!=1">
<ul class="clearfix" v-if="son.Image.length&&son.Image.length>=1"> <ul class="clearfix" v-if="son.Image.length&&son.Image.length>=1">
<li v-for="(img,imgI) in son.Image"> <li v-for="(img,imgI) in son.Image">
<img v-if="!img" src="../image/Travelslider.png" alt=""> <img v-if="!img" src="../image/Travelslider.png" alt="">
...@@ -785,7 +1259,7 @@ ...@@ -785,7 +1259,7 @@
<div class="_right_content"> <div class="_right_content">
<div class="_pp_info" v-if="item.NextStep!=1"> <div class="_pp_info" v-if="item.NextStep!=1">
<p>{{son.Remark==''?'无':son.Remark}}</p> <p>{{son.Remark==''?'无':son.Remark}}</p>
<div class="_info_img" v-if="son.Image!=null" > <div class="_info_img" v-if="son.Image!=null">
<ul class="clearfix" v-if="son.Image.length&&son.Image.length>=1"> <ul class="clearfix" v-if="son.Image.length&&son.Image.length>=1">
<li v-for="(img,imgI) in son.Image"> <li v-for="(img,imgI) in son.Image">
<img v-if="!img" src="../image/Travelslider.png" alt=""> <img v-if="!img" src="../image/Travelslider.png" alt="">
...@@ -807,21 +1281,20 @@ ...@@ -807,21 +1281,20 @@
</div> </div>
<div class="_pb_son" :class="GetDetail.Status==2?'_none_after':''" v-if="GetDetail.Status==2"> <div class="_pb_son" :class="GetDetail.Status==2?'_none_after':''" v-if="GetDetail.Status==2">
<div class="_left_radius" >结束</div> <div class="_left_radius">结束</div>
<div class="_right_content"> <div class="_right_content">
<p class="_time">累计耗时:{{endDate}}</p> <p class="_time">累计耗时:{{endDate}}</p>
</div> </div>
</div> </div>
<div style="padding-left: 75px;"> <div style="padding-left: 75px;">
<!-- <button class="hollowFixedBtn" v-if="(bossID===1 || bossID===5||bossID===1903) && (GetDetail.Status===2 || GetDetail.Status===5 || GetDetail.Status===1)" @click="bohui()">驳回</button>--> <button class="hollowFixedBtn" v-if="showbohui && (GetDetail.Status==1 || GetDetail.Status==2)"
<button class="hollowFixedBtn" v-if="showbohui && (GetDetail.Status==1 || GetDetail.Status==2)" @click="bohui()">驳回</button> @click="bohui()">驳回</button>
<button class="hollowFixedBtn" @click="AuditOrRefund()">返回</button> <button class="hollowFixedBtn" @click="AuditOrRefund()">返回</button>
</div> </div>
</div> </div>
</div> </div>
<div v-if='picIsShow' class="_show_img_box" @click="picIsShow=false,picObj=''"> <div v-if='picIsShow' class="_show_img_box" @click="picIsShow=false,picObj=''">
<img :src="picObj" style="margin-top: 80px;"/> <img :src="picObj" style="margin-top: 80px;" />
</div> </div>
</div> </div>
<div class="_none_print_tips"> <div class="_none_print_tips">
...@@ -870,176 +1343,162 @@ ...@@ -870,176 +1343,162 @@
import czBillModule from "../components/czBillModule.vue"; import czBillModule from "../components/czBillModule.vue";
import {UploadSelfFile} from '../../../api/common/common' import {
import {getClassNameList} from '../../../api/finance/index' UploadSelfFile
} from '../../../api/common/common'
import {
getClassNameList,
queryStudyNameList
} from '../../../api/finance/index'
import classinfoForm from '../../../components/course/classinfo-form'; import classinfoForm from '../../../components/course/classinfo-form';
import viewquotationForm from '../../../components/sale/viewquotation-form'; import viewquotationForm from '../../../components/sale/viewquotation-form';
export default { export default {
data(){ data() {
return{ return {
TeamShouZhi:false, TeamShouZhi: false,
F_Disbursement_Schedule:false, F_Disbursement_Schedule: false,
userInfo:{}, userInfo: {},
qjGroupId:-1, qjGroupId: -1,
OPState:false, OPState: false,
LeadState:false, LeadState: false,
//驳回弹窗 //驳回弹窗
finacialDialog:false, finacialDialog: false,
ZhiDanRen: -1, ZhiDanRen: -1,
imageOptions:{ imageOptions: {
navbar:false, navbar: false,
title:false title: false
}, },
images: [], images: [],
ID:0, ID: 0,
GetDetail:{ GetDetail: {
AuditSteps:[{ AuditSteps: [{
AuditRecordList:[{ AuditRecordList: [{
AuditName:'' AuditName: ''
}] }]
}], }],
TCIDList:[], TCIDList: [],
TCIDAndTCNUMList:[] TCIDAndTCNUMList: []
}, },
AuditOrRefundMsg:{ AuditOrRefundMsg: {
WorkFlowId:'', WorkFlowId: '',
Description:'' Description: ''
}, },
AuditListData:{ AuditListData: {
AuditList:[] AuditList: []
}, },
imageUrl:'', imageUrl: '',
uploadImgList:[], uploadImgList: [],
FuImgList:[], FuImgList: [],
picIsShow:false, picIsShow: false,
picObj:'', picObj: '',
initialIndex:0, initialIndex: 0,
widthSon:"100%", widthSon: "100%",
colorSon:"#ffffff", colorSon: "#ffffff",
endDate:'', endDate: '',
returnCode:'', returnCode: '',
pageIndex:1, pageIndex: 1,
OrderSource:null, OrderSource: null,
OrderID:null, OrderID: null,
TCID:null, TCID: null,
FrID:null, FrID: null,
Callback:null, Callback: null,
SourceID:null, SourceID: null,
tableShow:false, tableShow: false,
tableShowTeam:false, tableShowTeam: false,
fujianShow:true, fujianShow: true,
sonTCIDList:null, sonTCIDList: null,
bossID:null, bossID: null,
saveMsg:[], saveMsg: [],
GetFinancLogList:[], GetFinancLogList: [],
LogLoading:false, LogLoading: false,
IsBoHui: false, IsBoHui: false,
tuiDataList:[], tuiDataList: [],
tableShowTuikuan:false, tableShowTuikuan: false,
queryMsg:{ queryMsg: {
pageIndex:1, pageIndex: 1,
pageSize:10, pageSize: 10,
FinanceId:'', FinanceId: '',
Type:2, Type: 2,
currentPage:1, currentPage: 1,
total: 0, total: 0,
}, },
isChongDi: false, isChongDi: false,
ChongDiList: [], ChongDiList: [],
danjuType: '', danjuType: '',
showModel: false, showModel: false,
CostTypeState:false, CostTypeState: false,
huijiShow:true, huijiShow: true,
classObjOption: null, classObjOption: null,
isShowClassInfo: false, //是否显示课程信息 isShowClassInfo: false, //是否显示课程信息
isShowviewQuo:false, //是否显示预览报价单 isShowviewQuo: false, //是否显示预览报价单
rId:0, rId: 0,
showbohui:false,//5-10新加 showbohui: false, //5-10新加
} }
}, },
components:{ components: {
'my-FlowChartModule': myFlowChartModule, 'my-FlowChartModule': myFlowChartModule,
'my-Bill': myBill, 'my-Bill': myBill,
// 'my-C-Bill': myCBill, // 'my-C-Bill': myCBill,
'my-RVB-Bill':myrbvBill, 'my-RVB-Bill': myrbvBill,
'my-HB-Bill':myhrBill, 'my-HB-Bill': myhrBill,
"my-GZ-Bill": myGZBill, "my-GZ-Bill": myGZBill,
'teamProductModule':teamProductModule, 'teamProductModule': teamProductModule,
'TicketingModule':TicketingModule, 'TicketingModule': TicketingModule,
'SaleOrderModule':SaleOrderModule, 'SaleOrderModule': SaleOrderModule,
'TicketFinace':TicketFinace, 'TicketFinace': TicketFinace,
'myDJieBill': myDJieBill, 'myDJieBill': myDJieBill,
'ChongDiPage': ChongDiPage, 'ChongDiPage': ChongDiPage,
'myGuanBill': myGuanBill, 'myGuanBill': myGuanBill,
'myJiPiaoBill': myJiPiaoBill, 'myJiPiaoBill': myJiPiaoBill,
'huijiBill': huijiBill, 'huijiBill': huijiBill,
"czBillModule": czBillModule,
"czBillModule":czBillModule, 'classinfo-form': classinfoForm,
'classinfo-form':classinfoForm, 'viewquotationForm': viewquotationForm
'viewquotationForm':viewquotationForm
}, },
created(){ created() {
this.ID = this.$route.query.id; this.ID = this.$route.query.id;
this.pageIndex = this.$route.query.pageIndex; this.pageIndex = this.$route.query.pageIndex;
let userinfo = this.getLocalStorage(); let userinfo = this.getLocalStorage();
this.bossID = userinfo.Id; this.bossID = userinfo.Id;
// let ActionMenuCode=userinfo.ActionMenuCode;
// if(ActionMenuCode.indexOf('F_Update_KJCostType')!=-1){
// this.huijiShow=true;
// }
// 5-10新加 驳回判断 // 5-10新加 驳回判断
var localStorageData = window.localStorage["loginUserInfo"]; var localStorageData = window.localStorage["loginUserInfo"];
let ActionMenuList = JSON.parse(localStorageData).data.ActionMenuList let ActionMenuList = JSON.parse(localStorageData).data.ActionMenuList
console.log(ActionMenuList) if (ActionMenuList && ActionMenuList.length > 0) {
ActionMenuList.forEach(x => {
if(ActionMenuList && ActionMenuList.length>0){ if (x.FunctionCode == 'Finance_SpecialRejected') {
ActionMenuList.forEach(x=>{
if(x.FunctionCode == 'Finance_SpecialRejected'){
this.showbohui = true this.showbohui = true
} }
}) })
} }
}, },
methods:{ methods: {
//查看报价单 //查看报价单
showViewOrder(){ showViewOrder() {
this.isShowviewQuo=true; this.isShowviewQuo = true;
}, },
GetAuth() { GetAuth() {
var actionCode = this.$AuthCode.TeamShouZhi; var actionCode = this.$AuthCode.TeamShouZhi;
// this.CheckUserAuth(actionCode, res => {
// if (res.data.resultCode == 1 && res.data.data == 1) {
// this.TeamShouZhi = true;
// }
// });
var actionCodeNew = this.$AuthCode.F_Disbursement_Schedule; var actionCodeNew = this.$AuthCode.F_Disbursement_Schedule;
// this.CheckUserAuth(actionCodeNew, res => {
// if (res.data.resultCode == 1 && res.data.data == 1) {
// this.F_Disbursement_Schedule = true;
// }
// });
}, },
goHand(type,GetDetail){ goHand(type, GetDetail) {
if(type==1){ if (type == 1) {
this.$router.push({ this.$router.push({
name: 'TeamBalancePayment', name: 'TeamBalancePayment',
query: { query: {
id:GetDetail.TCID, id: GetDetail.TCID,
IsHaveAuth:true, IsHaveAuth: true,
blank: "y", blank: "y",
tab: "团队收支明细" tab: "团队收支明细"
} }
}); });
} } else {
else{
this.$router.push({ this.$router.push({
name: 'FinancialDocumentsDetail', name: 'FinancialDocumentsDetail',
query: { query: {
id:GetDetail.ReFinanceId, id: GetDetail.ReFinanceId,
blank: "y", blank: "y",
tab: "单据详情" tab: "单据详情"
} }
...@@ -1047,81 +1506,79 @@ ...@@ -1047,81 +1506,79 @@
} }
}, },
//跳转至电商订单详情 //跳转至电商订单详情
goOrderDetails(id){ goOrderDetails(id) {
this.$router.push({ this.$router.push({
name: 'EleBillDetail', name: 'EleBillDetail',
query: { query: {
BillId:id, BillId: id,
blank: "y", blank: "y",
tab: "账单详情" tab: "账单详情"
} }
}); });
}, },
GourlHotelZr(){ GourlHotelZr() {
this.$router.push({ this.$router.push({
name: 'HotelDiscount', name: 'HotelDiscount',
query: { query: {
FinanceId:this.ID, FinanceId: this.ID,
blank: "y", blank: "y",
tab: "酒店折让" tab: "酒店折让"
} }
}); });
}, },
GourlCostType(path,num){ GourlCostType(path, num) {
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
blank: "y", blank: "y",
EmployeeId:this.GetDetail.CreateBy, EmployeeId: this.GetDetail.CreateBy,
} }
}); });
}, },
GoOPurl(GetDetail){ GoOPurl(GetDetail) {
this.$router.push({ this.$router.push({
name: 'OpComPersonDetails', name: 'OpComPersonDetails',
query: { query: {
EmployeeId:GetDetail.AccountEmployeeId, EmployeeId: GetDetail.AccountEmployeeId,
PeriodsId:GetDetail.OPPeriodsId, PeriodsId: GetDetail.OPPeriodsId,
RB_Branch_Id:GetDetail.RB_Branch_Id, RB_Branch_Id: GetDetail.RB_Branch_Id,
blank: "y", blank: "y",
tab: "op提成明细" tab: "op提成明细"
} }
}); });
}, },
Gourl(GetDetail){ Gourl(GetDetail) {
this.$router.push({ this.$router.push({
name: 'CommissionDetail', name: 'CommissionDetail',
query: { query: {
periods:GetDetail.Periods, periods: GetDetail.Periods,
companyID:GetDetail.RB_Branch_Id, companyID: GetDetail.RB_Branch_Id,
blank: "y", blank: "y",
tab: "提成详情" tab: "提成详情"
} }
}); });
}, },
// 获取冲抵列表 // 获取冲抵列表
getChongDiList(data){ getChongDiList(data) {
this.danjuType = data.Type this.danjuType = data.Type
let cmd = 'Financial_post_GetHangingAccountList' let cmd = 'Financial_post_GetHangingAccountList'
if (data.Type === 7){ if (data.Type === 7) {
cmd = 'Financial_post_GetHangingMatchFinanceList' cmd = 'Financial_post_GetHangingMatchFinanceList'
} }
this.apipost(cmd,{FrID: data.FrID}, res => { this.apipost(cmd, {
if(res.data.resultCode == 1) { FrID: data.FrID
}, res => {
if (res.data.resultCode == 1) {
let data = res.data.data; let data = res.data.data;
this.ChongDiList = data; this.ChongDiList = data;
} }
}, err => {}) }, err => {})
}, },
chongJudge(data){ chongJudge(data) {
// 收支冲抵显示 // 收支冲抵显示
let p1 = false; let p1 = false;
data.DetailList.map(item=>{ data.DetailList.map(item => {
if (item.CostTypeName === '挂账单冲抵') { if (item.CostTypeName === '挂账单冲抵') {
p1 = true p1 = true
} }
...@@ -1140,48 +1597,51 @@ ...@@ -1140,48 +1597,51 @@
} }
}); });
}, },
goComplain(path, id,OrderId){ goComplain(path, id, OrderId) {
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
id: id, id: id,
orderId:OrderId, orderId: OrderId,
blank: "y" blank: "y"
} }
}); });
}, },
goInves(path,TCID){ goInves(path, TCID) {
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
TCID:TCID, TCID: TCID,
blank:'y' blank: 'y'
} }
}); });
}, },
goGuideAccount(path,ClientID){ goGuideAccount(path, ClientID) {
if(ClientID==0){ if (ClientID == 0) {
this.Error('临时导游,无往来'); this.Error('临时导游,无往来');
return; return;
} }
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
ClientID:ClientID, ClientID: ClientID,
blank:'y' blank: 'y'
} }
}); });
}, },
inited (viewer){ inited(viewer) {
this.$viewer = viewer this.$viewer = viewer
}, },
Financial_post_GetFinancLogList(){ // 获取单据日志 Financial_post_GetFinancLogList() { // 获取单据日志
if(this.checkboxShow) return if (this.checkboxShow) return
this.LogLoading = true; this.LogLoading = true;
this.apipost('Financial_post_GetFinancLogList',{ID:this.ID,Type:2}, res => { this.apipost('Financial_post_GetFinancLogList', {
if(res.data.resultCode == 1) { ID: this.ID,
Type: 2
}, res => {
if (res.data.resultCode == 1) {
let data = res.data.data; let data = res.data.data;
data.forEach(x=>{ data.forEach(x => {
x.UpdateDate = this.$commonUtils.formatMsgTime(x.UpdateDate) x.UpdateDate = this.$commonUtils.formatMsgTime(x.UpdateDate)
}) })
this.LogLoading = false; this.LogLoading = false;
...@@ -1189,104 +1649,150 @@ ...@@ -1189,104 +1649,150 @@
} }
}, err => {}) }, err => {})
}, },
upLoadFuJian: function() { upLoadFuJian: function () {
if (this.saveMsg.length===0) return this.$message.error('请上传文件!'); if (this.saveMsg.length === 0) return this.$message.error('请上传文件!');
let msg = { let msg = {
FrID: this.ID, FrID: this.ID,
vorcherInos: this.saveMsg vorcherInos: this.saveMsg
}; };
this.apipost('Financial_post_SetVoucher', msg, res=>{ this.apipost('Financial_post_SetVoucher', msg, res => {
if (res.data.resultCode===1) { if (res.data.resultCode === 1) {
this.Financial_post_GetDetail(this.ID) this.Financial_post_GetDetail(this.ID)
} else { } else {
this.$message.error(res.data.message); this.$message.error(res.data.message);
} }
}, null) }, null)
}, },
bohui(){ bohui() {
this.finacialDialog = true; this.finacialDialog = true;
this.AuditOrRefundMsg.WorkFlowId = this.ID; this.AuditOrRefundMsg.WorkFlowId = this.ID;
}, },
//确定驳回 //确定驳回
setBoHui(){ setBoHui() {
this.apipost('Financial_post_PersonRefund',this.AuditOrRefundMsg,res=>{ this.apipost('Financial_post_PersonRefund', this.AuditOrRefundMsg, res => {
if(res.data.resultCode==1){ if (res.data.resultCode == 1) {
this.Success(res.data.message); this.Success(res.data.message);
this.finacialDialog = false; this.finacialDialog = false;
this.Financial_post_GetDetail(this.ID) this.Financial_post_GetDetail(this.ID)
}else{ } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
},err=>{}) }, err => {})
}, },
goPrintPageNew(type,id,Merge,OrderSource){ goPrintPageNew(type, id, Merge, OrderSource) {
if(type===1){ if (type === 1) {
let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
path: '/financial/financalDocument/PrintPageN', path: '/financial/financalDocument/PrintPageN',
query: { type: type,id:id,isKehu:0,Merge:Merge,OrderSource:OrderSource?OrderSource:-1} query: {
type: type,
id: id,
isKehu: 0,
Merge: Merge,
OrderSource: OrderSource ? OrderSource : -1
}
}); });
window.open(routeData.href, "_blank"); window.open(routeData.href, "_blank");
}else{ } else {
let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
path: '/financial/financalDocument/PrintPageN', path: '/financial/financalDocument/PrintPageN',
query: { type: type,id:id,Merge:Merge,OrderSource:OrderSource?OrderSource:-1} query: {
type: type,
id: id,
Merge: Merge,
OrderSource: OrderSource ? OrderSource : -1
}
}); });
window.open(routeData.href, "_blank"); window.open(routeData.href, "_blank");
} }
}, },
goPrintPage2(type,id,Merge,OrderSource){ goPrintPage2(type, id, Merge, OrderSource) {
if(type===1){ if (type === 1) {
let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
name: 'PrintPageH', name: 'PrintPageH',
query: { huiji:true,type: type,id:id,isKehu:0,Merge:Merge,OrderSource:OrderSource?OrderSource:-1} query: {
huiji: true,
type: type,
id: id,
isKehu: 0,
Merge: Merge,
OrderSource: OrderSource ? OrderSource : -1
}
}); });
window.open(routeData.href, "_blank"); window.open(routeData.href, "_blank");
}else{ } else {
let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
name: 'PrintPageH', name: 'PrintPageH',
query: { huiji:true,type: type,id:id,Merge:Merge,OrderSource:OrderSource?OrderSource:-1} query: {
huiji: true,
type: type,
id: id,
Merge: Merge,
OrderSource: OrderSource ? OrderSource : -1
}
}); });
window.open(routeData.href, "_blank"); window.open(routeData.href, "_blank");
} }
}, },
goPrintPage(type,id,Merge,OrderSource){ goPrintPage(type, id, Merge, OrderSource) {
if(type===1){ if (type === 1) {
let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
path: '/financial/financalDocument/PrintPage', path: '/financial/financalDocument/PrintPage',
query: { type: type,id:id,isKehu:0,Merge:Merge,OrderSource:OrderSource?OrderSource:-1} query: {
type: type,
id: id,
isKehu: 0,
Merge: Merge,
OrderSource: OrderSource ? OrderSource : -1
}
}); });
window.open(routeData.href, "_blank"); window.open(routeData.href, "_blank");
}else{ } else {
let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
path: '/financial/financalDocument/PrintPage', path: '/financial/financalDocument/PrintPage',
query: { type: type,id:id,Merge:Merge,OrderSource:OrderSource?OrderSource:-1} query: {
type: type,
id: id,
Merge: Merge,
OrderSource: OrderSource ? OrderSource : -1
}
}); });
window.open(routeData.href, "_blank"); window.open(routeData.href, "_blank");
} }
}, },
jumpCheZiPage(path, id){ jumpCheZiPage(path, id) {
this.apipost('bus_post_GetCarfareTravelInfo', {TCID: id}, res=>{ this.apipost('bus_post_GetCarfareTravelInfo', {
if(res.data.resultCode==1){ TCID: id
}, res => {
if (res.data.resultCode == 1) {
this.$router.push({ this.$router.push({
name: path, name: path,
query: { num: res.data.data, blank: 'y'} query: {
num: res.data.data,
blank: 'y'
}
}) })
} }
}, null) }, null)
}, },
jumpPlanPage(path, id){ jumpPlanPage(path, id) {
this.apipost('dmcstatistics_post_GetTCIDsByOneTCID', {TCID: id}, res=>{ this.apipost('dmcstatistics_post_GetTCIDsByOneTCID', {
if(res.data.resultCode==1){ TCID: id
}, res => {
if (res.data.resultCode == 1) {
this.$router.push({ this.$router.push({
name: path, name: path,
query: { id: res.data.data.TCIDs, isUpdate: false, blank: 'y'} query: {
id: res.data.data.TCIDs,
isUpdate: false,
blank: 'y'
}
}) })
} }
}, null) }, null)
}, },
jumpPage(path,id,type){ jumpPage(path, id, type) {
if(type==1){ if (type == 1) {
// let routeData = this.$router.resolve({ // let routeData = this.$router.resolve({
// name: path, // name: path,
// query: { TCIDList: id} // query: { TCIDList: id}
...@@ -1294,104 +1800,109 @@ ...@@ -1294,104 +1800,109 @@
// window.open(routeData.href, "_blank"); // window.open(routeData.href, "_blank");
this.$router.push({ this.$router.push({
name: path, name: path,
query: { tcmun: id,blank:'y'} query: {
tcmun: id,
blank: 'y'
}
}) })
}else if(type==2){ } else if (type == 2) {
// let routeData = this.$router.resolve({
// name: path,
// query: { OrderSource: id.OrderSource,SourceID: id.SourceID}
// });
// window.open(routeData.href, "_blank");
this.$router.push({ this.$router.push({
name: path, name: path,
query: { OrderSource: id.OrderSource,SourceID: id.SourceID,blank:'y'} query: {
OrderSource: id.OrderSource,
SourceID: id.SourceID,
blank: 'y'
}
}) })
}else if(type==3){ } else if (type == 3) {
// let routeData = this.$router.resolve({
// name: path,
// query: { OrderSource: id.OrderSource,SourceID: id.SourceID}
// });
// window.open(routeData.href, "_blank");
this.$router.push({ this.$router.push({
name: path, name: path,
query: { OrderSource: id.OrderSource,SourceID: id.SourceID,blank:'y'} query: {
OrderSource: id.OrderSource,
SourceID: id.SourceID,
blank: 'y'
}
}) })
}else if(type==4){ } else if (type == 4) {
// let routeData = this.$router.resolve({
// name: path,
// query: { OrderSource: id.OrderSource,SourceID: id.SourceID}
// });
// window.open(routeData.href, "_blank");
this.$router.push({ this.$router.push({
name: path, name: path,
query: { OrderSource: id.OrderSource,SourceID: id.SourceID,blank:'y'} query: {
OrderSource: id.OrderSource,
SourceID: id.SourceID,
blank: 'y'
}
}) })
}else if(type==5){ } else if (type == 5) {
// let routeData = this.$router.resolve({
// name: path,
// query: { id:id,OutBranchId:id.RB_Branch_Id}
// });
// window.open(routeData.href, "_blank");
this.$router.push({ this.$router.push({
name: path, name: path,
query: { id:id,OutBranchId:id.RB_Branch_Id,blank:'y'} query: {
id: id,
OutBranchId: id.RB_Branch_Id,
blank: 'y'
}
}) })
}else if(type==6){ } else if (type == 6) {
// let routeData = this.$router.resolve({
// name: path,
// query: { id:id,OutBranchId:id.RB_Branch_Id,'CloseIncomeBtn':true}
// });
// window.open(routeData.href, "_blank");
this.$router.push({ this.$router.push({
name: path, name: path,
query: { id:id,OutBranchId:id.RB_Branch_Id,'CloseIncomeBtn':true,blank:'y'} query: {
id: id,
OutBranchId: id.RB_Branch_Id,
'CloseIncomeBtn': true,
blank: 'y'
}
}) })
}else if(type==7){ } else if (type == 7) {
// let routeData = this.$router.resolve({
// name: path,
// query: { id:id,isShow:false}
// });
// window.open(routeData.href, "_blank");
this.$router.push({ this.$router.push({
name: path, name: path,
query: { id:id,isShow:false,blank:'y'} query: {
id: id,
isShow: false,
blank: 'y'
}
}) })
}else if(type==8){ } else if (type == 8) {
// let routeData = this.$router.resolve({
// name: path,
// query: {VisaID:id.SourceID,isFinacial:0}
// });
// window.open(routeData.href, "_blank");
this.$router.push({ this.$router.push({
name: path, name: path,
query: { id:id.SourceID,isFinacial:0,blank:'y'} query: {
id: id.SourceID,
isFinacial: 0,
blank: 'y'
}
}) })
} }
}, },
//跳转至手配详情 //跳转至手配详情
jumpHotelContract(path,item){ jumpHotelContract(path, item) {
this.$router.push({ this.$router.push({
name: path, name: path,
query: { id:item.TCID,TCNUM:item.TCNUM,blank:'y'} query: {
id: item.TCID,
TCNUM: item.TCNUM,
blank: 'y'
}
}) })
}, },
uploadFileBtn(file) { //上传 uploadFileBtn(file) { //上传
if(file.file.size > 1024 * 1024 * 10) { if (file.file.size > 1024 * 1024 * 10) {
this.$message.warning('文件大小不能超过10M!') this.$message.warning('文件大小不能超过10M!')
return return
} }
// 1 文档 2 数据 3 图片 // 1 文档 2 数据 3 图片
let typeArr=[ let typeArr = [{
{stringArr:'GIF|JPG|JPEG|PNG|BMP',type:3}, stringArr: 'GIF|JPG|JPEG|PNG|BMP',
{stringArr:'DOCX|DOC|XLSX|XLS|PPT|PPTX|PDF',type:1}, type: 3
},
{
stringArr: 'DOCX|DOC|XLSX|XLS|PPT|PPTX|PDF',
type: 1
},
] ]
let ft=file.file.name.substring(file.file.name.lastIndexOf('.')+1,file.file.name.length).toUpperCase(); let ft = file.file.name.substring(file.file.name.lastIndexOf('.') + 1, file.file.name.length).toUpperCase();
let fileTypeNumber = 2; let fileTypeNumber = 2;
let typeOk = false; let typeOk = false;
typeArr.forEach(x=>{ typeArr.forEach(x => {
if(x.stringArr.indexOf(ft)!='-1') if (x.stringArr.indexOf(ft) != '-1') {
{ fileTypeNumber = x.type;
fileTypeNumber=x.type;
typeOk = true; typeOk = true;
} }
}); });
...@@ -1401,114 +1912,123 @@ ...@@ -1401,114 +1912,123 @@
let path = "/Upload/Temporary/" let path = "/Upload/Temporary/"
this.$message.info('上传中...') this.$message.info('上传中...')
UploadSelfFile('Temporary', file.file, x => { UploadSelfFile('Temporary', file.file, x => {
let fileSize = file.file.size<1024? file.file.size:(file.file.size / 1024).toFixed(0); let fileSize = file.file.size < 1024 ? file.file.size : (file.file.size / 1024).toFixed(0);
this.saveMsg.push({ this.saveMsg.push({
Type:fileTypeNumber, Type: fileTypeNumber,
Content: x.FileUrl, Content: x.FileUrl,
Url:x.FileUrl, Url: x.FileUrl,
}); });
this.$message.success('上传成功'); this.$message.success('上传成功');
}); });
}, },
deleteUploadFile(i){ // 删除上传文件 deleteUploadFile(i) { // 删除上传文件
this.saveMsg.splice(i,1); this.saveMsg.splice(i, 1);
}, },
showUpLoadFileT(i){ // 预览上传文件 showUpLoadFileT(i) { // 预览上传文件
if(i.Type==3){ if (i.Type == 3) {
this.picObj.push(i.Url); this.picObj.push(i.Url);
this.imgList.push(i.Url); this.imgList.push(i.Url);
this.picIsShow= true; this.picIsShow = true;
// this.hideFlashMan = true; } else {
}else{ if (i.Content.substring(i.Content.lastIndexOf('.') + 1, i.Content.length).toUpperCase() == 'PDF') {
if(i.Content.substring(i.Content.lastIndexOf('.')+1,i.Content.length).toUpperCase()=='PDF'){
this.previewPDF(i.Url) this.previewPDF(i.Url)
}else{ } else {
let dom = document.querySelector("#groupTourOrder_DownLoad"); let dom = document.querySelector("#groupTourOrder_DownLoad");
dom.href = i.Url; dom.href = i.Url;
dom.click(); dom.click();
// window.open("https://view.officeapps.live.com/op/view.aspx?src="+i.Url)
} }
} }
}, },
showUpLoadFile(i){ // 预览上传文件 showUpLoadFile(i) { // 预览上传文件
if (i.Content.substring(i.Content.lastIndexOf('.') + 1, i.Content.length).toUpperCase() == 'PDF') {
if(i.Content.substring(i.Content.lastIndexOf('.')+1,i.Content.length).toUpperCase()=='PDF'){
this.previewPDF(i.Content) this.previewPDF(i.Content)
}else{ } else {
let dom = document.querySelector("#groupTourOrder_DownLoad"); let dom = document.querySelector("#groupTourOrder_DownLoad");
dom.href = i.Content; dom.href = i.Content;
dom.click(); dom.click();
// window.open("https://view.officeapps.live.com/op/view.aspx?src="+i.Content)
} }
}, },
FinancialFlowTemplate_post_GetProcessList(id,tid){ FinancialFlowTemplate_post_GetProcessList(id, tid) {
this.apipost('FinancialFlowTemplate_post_GetProcessList',{ID:0,WorkFlowID:id,TemplateType:tid},res=>{ this.apipost('FinancialFlowTemplate_post_GetProcessList', {
if(res.data.resultCode==1){ ID: 0,
res.data.data.forEach(y=>{ WorkFlowID: id,
y.contentTips = y.AuditDescription+(y.AuditWay=='2'?'(会签)':'(或签)') TemplateType: tid
}, res => {
if (res.data.resultCode == 1) {
res.data.data.forEach(y => {
y.contentTips = y.AuditDescription + (y.AuditWay == '2' ? '(会签)' : '(或签)')
}) })
this.AuditListData.AuditList = res.data.data; this.AuditListData.AuditList = res.data.data;
}else{} } else {}
},err=>{}) }, err => {})
}, },
AuditOrRefund(){ AuditOrRefund() {
this.MsgBus.$emit('msg'); this.MsgBus.$emit('msg');
this.$router.push({path:'FinancialDocuments',query:{"returnCode":this.returnCode,"pageIndex":this.pageIndex,blank:'y'}}); this.$router.push({
path: 'FinancialDocuments',
query: {
"returnCode": this.returnCode,
"pageIndex": this.pageIndex,
blank: 'y'
}
});
}, },
deleteImg(i){ // 删除 deleteImg(i) { // 删除
this.uploadImgList.splice(i,1) this.uploadImgList.splice(i, 1)
}, },
handleAvatarSuccess(res, file) { //上传 handleAvatarSuccess(res, file) { //上传
if(res.resultCode==1){ if (res.resultCode == 1) {
var img_path = res.data.FullFilePath var img_path = res.data.FullFilePath
this.imageUrl = img_path this.imageUrl = img_path
let obj = { let obj = {
src:img_path src: img_path
} }
this.uploadImgList.push(obj) this.uploadImgList.push(obj)
} }
}, },
showImg(obj, type){ showImg(obj, type) {
let isExsit=false let isExsit = false
this.images.forEach(x=>{ this.images.forEach(x => {
if(x==obj) if (x == obj)
isExsit=true isExsit = true
}) })
if(!isExsit) { if (!isExsit) {
this.images.push(obj) this.images.push(obj)
} else { } else {
this.$viewer.view(this.images.indexOf(obj)) this.$viewer.view(this.images.indexOf(obj))
} }
this.$viewer.show() this.$viewer.show()
}, },
Financial_post_GetDetail(id,t){ //获取单据详情 Financial_post_GetDetail(id, t) { //获取单据详情
this.FuImgList = []; this.FuImgList = [];
this.saveMsg = []; this.saveMsg = [];
this.apipost('Financial_post_GetDetail',{ID:id,Type:1}, res => { this.apipost('Financial_post_GetDetail', {
if(res.data.resultCode == 1) { ID: id,
let data= res.data.data; Type: 1
data.DetailList.forEach(x=>{ }, res => {
if (res.data.resultCode == 1) {
let data = res.data.data;
data.DetailList.forEach(x => {
x.UnitPrice = this.$commonUtils.addCommas(Math.round(x.UnitPrice * 100) / 100) x.UnitPrice = this.$commonUtils.addCommas(Math.round(x.UnitPrice * 100) / 100)
x.Money = Math.round(x.Money * 100) / 100 x.Money = Math.round(x.Money * 100) / 100
x.OriginalMoney = Math.round(x.OriginalMoney * 100) / 100 x.OriginalMoney = Math.round(x.OriginalMoney * 100) / 100
}) })
data.ChineseMoney = this.$commonUtils.changeMoneyToChinese(data.Money) data.ChineseMoney = this.$commonUtils.changeMoneyToChinese(data.Money)
data.Money = this.$commonUtils.addCommas( Math.round(data.Money * 100) / 100) data.Money = this.$commonUtils.addCommas(Math.round(data.Money * 100) / 100)
if(data.Status==2){ if (data.Status == 2) {
let len = data.AuditSteps.length - 1; let len = data.AuditSteps.length - 1;
let sLen = data.AuditSteps[len].AuditRecordList[data.AuditSteps[len].AuditRecordList.length-1]; let sLen = data.AuditSteps[len].AuditRecordList[data.AuditSteps[len].AuditRecordList.length - 1];
let begTime = data.AuditSteps[0].AuditRecordList[0].AduitDate; let begTime = data.AuditSteps[0].AuditRecordList[0].AduitDate;
let enTime = sLen && sLen.AduitDate ? sLen.AduitDate : begTime; let enTime = sLen && sLen.AduitDate ? sLen.AduitDate : begTime;
let newTime = this.$commonUtils.formatMsgTime2(begTime,enTime); let newTime = this.$commonUtils.formatMsgTime2(begTime, enTime);
this.endDate = newTime.replace("前",""); this.endDate = newTime.replace("前", "");
} }
this.rId = data.ReFinanceId; this.rId = data.ReFinanceId;
this.FinancialFlowTemplate_post_GetProcessList(data.FrID,data.TemplateType) this.FinancialFlowTemplate_post_GetProcessList(data.FrID, data.TemplateType)
if(data.VorcherInos.length>0){ if (data.VorcherInos.length > 0) {
data.VorcherInos.forEach(x=>{ data.VorcherInos.forEach(x => {
if(x.Type==3){ if (x.Type == 3) {
let Content = x.Content.replace('http:','http:'); let Content = x.Content.replace('http:', 'http:');
this.FuImgList.push(Content); this.FuImgList.push(Content);
this.images.push(Content) this.images.push(Content)
} }
...@@ -1516,10 +2036,10 @@ ...@@ -1516,10 +2036,10 @@
} }
this.chongJudge(data) this.chongJudge(data)
this.GetDetail = data; this.GetDetail = data;
if(this.GetDetail.DetailList){ if (this.GetDetail.DetailList) {
this.GetDetail.DetailList.forEach(item=>{ this.GetDetail.DetailList.forEach(item => {
if(item.CostTypeName=="领队导游资金池领款"){ if (item.CostTypeName == "领队导游资金池领款") {
this.LeadState=true; this.LeadState = true;
} }
}) })
} }
...@@ -1528,9 +2048,9 @@ ...@@ -1528,9 +2048,9 @@
// 截取掉驳回后面的审核步骤 // 截取掉驳回后面的审核步骤
this.ZhiDanRen = this.GetDetail.CreatBy; this.ZhiDanRen = this.GetDetail.CreatBy;
let list = []; let list = [];
for ( let i = 0; i < this.GetDetail.AuditSteps.length ; i++ ){ for (let i = 0; i < this.GetDetail.AuditSteps.length; i++) {
list.push(this.GetDetail.AuditSteps[i]); list.push(this.GetDetail.AuditSteps[i]);
if(this.GetDetail.AuditSteps[i].Status==4){ if (this.GetDetail.AuditSteps[i].Status == 4) {
this.IsBoHui = true; this.IsBoHui = true;
break; break;
} }
...@@ -1543,86 +2063,76 @@ ...@@ -1543,86 +2063,76 @@
this.SourceID = this.GetDetail.SourceID; this.SourceID = this.GetDetail.SourceID;
this.Callback = this.GetDetail.Callback; this.Callback = this.GetDetail.Callback;
if(this.GetDetail.DetailList.length>0){ if (this.GetDetail.DetailList.length > 0) {
this.GetDetail.DetailList.forEach(item=>{ this.GetDetail.DetailList.forEach(item => {
if(item.CostTypeName=="差旅费"){ if (item.CostTypeName == "差旅费") {
this.CostTypeState=true; this.CostTypeState = true;
} }
if(item.CostTypeName=="业务提成(操作)"){ if (item.CostTypeName == "业务提成(操作)") {
this.OPState=true; this.OPState = true;
} }
}) })
} }
// 拼接团号显示团信息 // 拼接团号显示团信息
let str = ''; let str = '';
if(data.TCIDList.length>0){ if (data.TCIDList.length > 0) {
data.TCIDList.forEach(x=>{ data.TCIDList.forEach(x => {
str = str + x + ','; str = str + x + ',';
}) })
str = str.slice(0,str.length-1); str = str.slice(0, str.length - 1);
getClassNameList({ClassIds:str}).then(res => { if (data.OrderSource == 17) {
getClassNameList({
ClassIds: str
}).then(res => {
data.TCIDAndTCNUMList = res.Data data.TCIDAndTCNUMList = res.Data
}).catch(() => { }).catch(() => {})
} else if (data.OrderSource == 18) {
}) queryStudyNameList({
Ids: str
}).then(res => {
data.TCIDAndTCNUMList = res.Data
}).catch(() => {})
} }
this.sonTCIDList = str==''?null:str;
if(data.URL){
// if(this.OrderSource==9){ // 国内票务订单
// if(this.GetDetail.Type==2){
// this.$router.push({name:data.URL,query:{'FrID':this.FrID,id:this.ID}});
// }
// }else if(this.OrderSource==10){ //销售订单
// this.$router.push({name:data.URL,query:{'orderID':this.OrderID,'SourceID':this.SourceID}});
// }else if(this.OrderSource==4){ //机票订单
// this.$router.push({name:data.URL,query:{'SourceID':this.SourceID,'Callback':this.Callback,id:this.ID}});
// }
} }
// if(data.URL){ this.sonTCIDList = str == '' ? null : str;
// this.$router.push({name:})
// }
} }
}, err => {}) }, err => {})
}, },
pushPage(){ pushPage() {
Vue.component(this.name+this.z,this.componentTemp) Vue.component(this.name + this.z, this.componentTemp)
this.c=this.name+this.z this.c = this.name + this.z
}, },
//获取列表 //获取列表
getTuikuan(){ getTuikuan() {
this.apipost('OnlinePay_get_GetOrderPayMoneyInfo',this.queryMsg,res=>{ this.apipost('OnlinePay_get_GetOrderPayMoneyInfo', this.queryMsg, res => {
if(res.data.resultCode==1){ if (res.data.resultCode == 1) {
this.tuiDataList = res.data.data.pageData; this.tuiDataList = res.data.data.pageData;
this.queryMsg.total = res.data.data.count; this.queryMsg.total = res.data.data.count;
}else{ } else {
} }
},err=>{}) }, err => {})
}, },
goassets(ID,OtherType){ goassets(ID, OtherType) {
this.$router.replace({ this.$router.replace({
name: "InAndOutDdetails", name: "InAndOutDdetails",
query: { query: {
ID: ID, ID: ID,
OtherType: OtherType, OtherType: OtherType,
blank:'y' blank: 'y'
}, },
}) })
}, },
lookbreakage(ID){ lookbreakage(ID) {
this.$router.replace({ this.$router.replace({
name: "breakageSingle", name: "breakageSingle",
query: { query: {
ID: ID, ID: ID,
blank:'y' blank: 'y'
}, },
}) })
}, },
getClassInfo(obj){ getClassInfo(obj) {
this.classObjOption = null; this.classObjOption = null;
this.isShowClassInfo = false; this.isShowClassInfo = false;
this.classObjOption = obj; this.classObjOption = obj;
...@@ -1633,36 +2143,75 @@ ...@@ -1633,36 +2143,75 @@
this.isShowClassInfo = false this.isShowClassInfo = false
}, },
//关闭预览弹窗 //关闭预览弹窗
closeQuota(){ closeQuota() {
this.isShowviewQuo = false; this.isShowviewQuo = false;
}, },
//刷新 //刷新
refreshClass() { refreshClass() {
}, },
jumpbjPage(path,item){ jumpbjPage(path, item) {
if(path=='classManage'){ if (path == 'classManage') {
this.$router.push({path:'/course/'+path,query:{'ClassName':item.ClassName}}) this.$router.push({
}else if(path=='paymentDetail'){ path: '/course/' + path,
this.$router.push({path:'/course/'+path,query:{'ClassId':item.ClassId,'School_Id':item.School_Id}}) query: {
}else { 'ClassName': item.ClassName
this.$router.push({path:'/course/'+path,query:{'ClassId':item.ClassId}})
} }
})
} else if (path == 'paymentDetail') {
this.$router.push({
path: '/course/' + path,
query: {
'ClassId': item.ClassId,
'School_Id': item.School_Id
}
})
} else {
this.$router.push({
path: '/course/' + path,
query: {
'ClassId': item.ClassId
}
})
}
},
jumpbjStudyPage(path, item) {
if (path == 'studyjob') {
this.$router.push({
path: '/sale/' + path,
query: {
'Name': item.ClassName
}
})
} else if (path == 'studyemploymentorder') {
this.$router.push({
path: '/studyAbroad/' + path,
query: {
'SourceId': item.ClassId,
}
})
} else {
this.$router.push({
path: '/studyAbroad/' + path,
query: {
'SourceId': item.ClassId,
School_Id: item.School_Id
}
})
}
},
}, },
},mounted(){ mounted() {
// document.onkeydown = this.KeyDown
// document.onkeyup = this.KeyUp
// document.oncontextmenu = function(){return false;}
this.GetAuth(); this.GetAuth();
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
this.qjGroupId=this.QjGroupId(); this.qjGroupId = this.QjGroupId();
this.Financial_post_GetDetail(this.ID) this.Financial_post_GetDetail(this.ID)
this.queryMsg.FinanceId = this.$route.query.id; this.queryMsg.FinanceId = this.$route.query.id;
if(this.$route.query.Conditon){ if (this.$route.query.Conditon) {
this.returnCode = this.$route.query.Conditon; this.returnCode = this.$route.query.Conditon;
} }
this.getTuikuan(); this.getTuikuan();
} }
} }
</script> </script>
...@@ -252,7 +252,9 @@ ...@@ -252,7 +252,9 @@
this.getList(); this.getList();
}, },
created() { created() {
if (this.$route.query.Name) {
this.msg.Name = this.$route.query.Name;
}
}, },
methods: { methods: {
cloStudyform() { cloStudyform() {
......
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