Commit eb195068 authored by 沈良进's avatar 沈良进

页面修改

parent 13f6c1d7
...@@ -307,526 +307,627 @@ ...@@ -307,526 +307,627 @@
.page_MyCustomer .upload-demo { .page_MyCustomer .upload-demo {
text-align: center; text-align: center;
} }
.leaderPayTable {
width: 100%; .leaderPayTable {
margin: 10px auto; width: 100%;
text-align: center; margin: 10px auto;
font-size: 12px; text-align: center;
color: #333; font-size: 12px;
border-collapse: collapse; color: #333;
background-color: #fff; border-collapse: collapse;
border: 1px solid #d1d1d1; background-color: #fff;
} border: 1px solid #d1d1d1;
}
.leaderPayTable th {
background: #e6e6e6; .leaderPayTable th {
padding: 8px 0; background: #e6e6e6;
color: #333; padding: 8px 0;
border: 1px solid #d1d1d1; color: #333;
font-weight: bold; border: 1px solid #d1d1d1;
} font-weight: bold;
}
.leaderPayTable tr td {
background-color: #fff; .leaderPayTable tr td {
padding: 8px 0; background-color: #fff;
height: 32px; padding: 8px 0;
border: 1px solid #d1d1d1; height: 32px;
text-align: center; border: 1px solid #d1d1d1;
} text-align: center;
}
.leaderPayTable2 tr td {
border: 1px solid #ccc; .leaderPayTable2 tr td {
line-height: 17px; border: 1px solid #ccc;
height: 25px; line-height: 17px;
font-size: 12px; height: 25px;
background: #fff; font-size: 12px;
text-align: center; background: #fff;
padding: 0; text-align: center;
margin: 0; padding: 0;
} margin: 0;
}
</style> </style>
<style scoped> <style scoped>
.page_fnDm { .page_fnDm {
background-color: white; background-color: white;
} }
.query-box {
overflow: inherit; .query-box {
} overflow: inherit;
._nav { }
margin: 20px 0 0 0;
background-color: #f5f5f5; ._nav {
} margin: 20px 0 0 0;
._nav li { background-color: #f5f5f5;
float: left; }
font-size: 14px;
color: #666666; ._nav li {
padding: 15px 20px; float: left;
cursor: pointer; font-size: 14px;
position: relative; color: #666666;
background-color: #f1f1f1; padding: 15px 20px;
margin-right: 5px; cursor: pointer;
} position: relative;
._nav li._active { background-color: #f1f1f1;
background-color: #ffffff; margin-right: 5px;
color: #333333; }
}
._nav li._active::after { ._nav li._active {
content: ""; background-color: #ffffff;
width: 20px; color: #333333;
height: 3px; }
background-color: #e95252;
display: inline-block; ._nav li._active::after {
position: absolute; content: "";
bottom: 0; width: 20px;
left: 38%; height: 3px;
} background-color: #e95252;
.el-range-editor.el-input__inner { display: inline-block;
border-radius: 0; position: absolute;
} bottom: 0;
.query-box { left: 38%;
border: none; }
}
.hight_query { .el-range-editor.el-input__inner {
position: relative; border-radius: 0;
} }
.hight_query span {
height: 34px; .query-box {
line-height: 34px; border: none;
color: #e95252; }
}
.hight_query span .icon-gengduo { .hight_query {
font-size: 12px; position: relative;
} }
.hight_query span em {
text-decoration: underline; .hight_query span {
cursor: pointer; height: 34px;
} line-height: 34px;
.hight_query_box { color: #e95252;
position: absolute; }
background-color: white;
z-index: 2000; .hight_query span .icon-gengduo {
right: 200px; font-size: 12px;
width: 800px; }
}
._hqb_shadow { .hight_query span em {
box-shadow: 3px 2px 10px rgb(204, 203, 203); text-decoration: underline;
border: 1px solid #ececec; cursor: pointer;
} }
.query-box ul {
overflow: initial; .hight_query_box {
} position: absolute;
.hqb_t { background-color: white;
padding: 10px 20px; z-index: 2000;
font-size: 16px; right: 200px;
background-color: #e95252; width: 800px;
border: 1px solid #e95252; }
color: #fff;
text-align: center; ._hqb_shadow {
margin-bottom: 15px; box-shadow: 3px 2px 10px rgb(204, 203, 203);
} border: 1px solid #ececec;
.query-box li:last-child { }
float: left;
} .query-box ul {
.query-box > ul > li:last-child { overflow: initial;
float: right; }
}
.query-box .hight_query ul .el-input { .hqb_t {
width: inherit; padding: 10px 20px;
} font-size: 16px;
.hight_query_box ul li { background-color: #e95252;
margin-top: 0; border: 1px solid #e95252;
float: left; color: #fff;
margin-right: 15px; text-align: center;
} margin-bottom: 15px;
.hight_query_box ul li label { }
font-size: 14px;
} .query-box li:last-child {
.hight_query_box .el-form { float: left;
padding: 0 20px; }
}
.hight_query_box ul li._hqb_btn { .query-box>ul>li:last-child {
float: right; float: right;
margin-right: 25px; }
padding-top: 5px;
position: inherit; .query-box .hight_query ul .el-input {
} width: inherit;
.Receipt_box { }
padding: 15px;
color: #c94052; .hight_query_box ul li {
width: 614px; margin-top: 0;
background-color: rgba(242, 242, 242, 1); float: left;
border: 1px solid rgba(228, 228, 228, 1); margin-right: 15px;
} }
.Receipt_box.color_blur {
color: #106baf; .hight_query_box ul li label {
} font-size: 14px;
.Receipt_box.color_blur .rb_stit span { }
display: inline-block;
border-bottom: 2px solid #106baf; .hight_query_box .el-form {
padding: 0 20px; padding: 0 20px;
} }
.rb_tit {
font-size: 18px; .hight_query_box ul li._hqb_btn {
text-align: center; float: right;
} margin-right: 25px;
.rb_stit { padding-top: 5px;
font-size: 14px; position: inherit;
text-align: center; }
}
.rb_stit span { .Receipt_box {
display: inline-block; padding: 15px;
border-bottom: 2px solid #c94052; color: #c94052;
padding: 0 20px; width: 614px;
} background-color: rgba(242, 242, 242, 1);
.rb_top_row { border: 1px solid rgba(228, 228, 228, 1);
display: flex; }
justify-content: space-between;
font-size: 12px; .Receipt_box.color_blur {
} color: #106baf;
.rb_top_row span._r_name { }
color: #333333;
} .Receipt_box.color_blur .rb_stit span {
.rb_top_row span._r_bold { display: inline-block;
font-weight: bold; border-bottom: 2px solid #106baf;
} padding: 0 20px;
.rb_top_row ._r_time span { }
color: #333333;
} .rb_tit {
._r_mb5 { font-size: 18px;
margin-bottom: 5px; text-align: center;
} }
.Receipt_table {
width: 100%; .rb_stit {
font-size: 14px; font-size: 14px;
text-align: center; text-align: center;
} }
.Receipt_table .th {
font-weight: 200 !important; .rb_stit span {
} display: inline-block;
._r_mt10 { border-bottom: 2px solid #c94052;
margin-top: 10px; padding: 0 20px;
} }
._bg__ {
display: inline-block; .rb_top_row {
padding: 2px 8px; display: flex;
color: white; justify-content: space-between;
border-radius: 4px; font-size: 12px;
} }
._bg_red {
background-color: #e95252; .rb_top_row span._r_name {
} color: #333333;
.zhuiClass { }
width: 20px;
height: 20px; .rb_top_row span._r_bold {
display: inline-block; font-weight: bold;
border-radius: 50%; }
text-align: center;
line-height: 20px; .rb_top_row ._r_time span {
color: #e95252; color: #333333;
border: 1px solid #e95252; }
font-size: 12px;
} ._r_mb5 {
._bg_green { margin-bottom: 5px;
background-color: #2bb87c; }
}
.text_d { .Receipt_table {
text-decoration: underline; width: 100%;
cursor: pointer; font-size: 14px;
} text-align: center;
.PingFangSC { }
font-weight: bold;
} .Receipt_table .th {
.Bill_par { font-weight: 200 !important;
position: relative; }
}
tr._item_list { ._r_mt10 {
border-bottom: 1px solid #e5e5e5; margin-top: 10px;
height: 78px; }
}
tr._item_list td { ._bg__ {
border-bottom: 1px solid #e5e5e5; display: inline-block;
padding: 10px; padding: 2px 8px;
} color: white;
/* tr._t_head th{border-top: 1px solid #e5e5e5;} */ border-radius: 4px;
tr._item_list td:first-child { }
border-left: 1px solid #e5e5e5;
} ._bg_red {
tr._item_list td:last-child { background-color: #e95252;
border-right: 1px solid #e5e5e5; }
}
._head_img { .zhuiClass {
width: 28px; width: 20px;
height: 28px; height: 20px;
border-radius: 50%; display: inline-block;
vertical-align: middle; border-radius: 50%;
} text-align: center;
._btn_group { line-height: 20px;
font-size: 14px; color: #e95252;
} border: 1px solid #e95252;
.icon-daiqueren { font-size: 12px;
color: #4bca81; }
}
.icon-yiqueren { ._bg_green {
color: #4bca81; background-color: #2bb87c;
} }
.icon-yiquxiao {
color: #959595; .text_d {
} text-decoration: underline;
.icon-shenhebohui { cursor: pointer;
color: #e95252; }
}
.icon-icon-zancun { .PingFangSC {
color: #ff9c01; font-weight: bold;
} }
.singeRowTable tr:hover {
background-color: white; .Bill_par {
} position: relative;
._TradeWayList { }
padding: 5px 10px;
background-color: #eeeeee; tr._item_list {
border-radius: 4px; border-bottom: 1px solid #e5e5e5;
margin: 10px 0; height: 78px;
width: 190px; }
}
._bold { tr._item_list td {
font-weight: bold; border-bottom: 1px solid #e5e5e5;
} padding: 10px;
._bank_name, }
._bank_type {
display: inline-block; /* tr._t_head th{border-top: 1px solid #e5e5e5;} */
background-color: #333333; tr._item_list td:first-child {
color: white; border-left: 1px solid #e5e5e5;
padding: 2px 4px; }
border-radius: 4px;
margin-left: 10px; tr._item_list td:last-child {
} border-right: 1px solid #e5e5e5;
._bank_name { }
margin-left: 10px;
} ._head_img {
._bank_type { width: 28px;
background-color: #2aaef2; height: 28px;
} border-radius: 50%;
._bank_type2 { vertical-align: middle;
background-color: #ff9c01; }
}
._font_init { ._btn_group {
color: #333333; font-size: 14px;
font-size: 12px; }
vertical-align: top;
} .icon-daiqueren {
.InfoChangeLog { color: #4bca81;
height: auto; }
max-height: 220px;
background-color: #ffffff; .icon-yiqueren {
} color: #4bca81;
.changLogList { }
padding-left: 20px;
max-height: 180px; .icon-yiquxiao {
overflow: auto; color: #959595;
} }
.changLogList_l {
border-left: 1px solid #e9e9e9; .icon-shenhebohui {
position: relative; color: #e95252;
padding-bottom: 10px; }
padding-left: 20px;
padding-top: 10px; .icon-icon-zancun {
} color: #ff9c01;
._radius_green { }
background-color: #47bf8c;
width: 7px; .singeRowTable tr:hover {
height: 7px; background-color: white;
border-radius: 50%; }
display: inline-block;
position: absolute; ._TradeWayList {
left: -4px; padding: 5px 10px;
top: 19px; background-color: #eeeeee;
} border-radius: 4px;
.changLog_time { margin: 10px 0;
color: #666666; width: 190px;
font-size: 12px; }
display: inline-block;
padding-right: 10px; ._bold {
} font-weight: bold;
._icon_btn i { }
width: 28px;
height: 28px; ._bank_name,
display: inline-block; ._bank_type {
color: white !important; display: inline-block;
border-radius: 50%; background-color: #333333;
text-align: center; color: white;
line-height: 28px; padding: 2px 4px;
margin-right: 10px; border-radius: 4px;
cursor: pointer; margin-left: 10px;
outline: none; }
}
._icon_btn i.edit { ._bank_name {
background-color: #00c6ff; margin-left: 10px;
font-size: 16px; }
}
._icon_btn i.edit:hover { ._bank_type {
background-color: #59daff; background-color: #2aaef2;
} }
._icon_btn i.edit:active {
background-color: #00b8ec; ._bank_type2 {
} background-color: #ff9c01;
._icon_btn i.icon-sousuo, }
.icon-zhuanhuan1 {
background-color: #47bf8c; ._font_init {
} color: #333333;
._icon_btn i.icon-sousuo:hover { font-size: 12px;
background-color: #66bb97; vertical-align: top;
} }
._icon_btn i.icon-sousuo:active {
background-color: #35ab79; .InfoChangeLog {
} height: auto;
._icon_btn i.icon-ico_commodity_defaul { max-height: 220px;
background-color: #f16c3c; background-color: #ffffff;
} }
._icon_btn i.icon-ico_commodity_defaul:hover {
background-color: #e87c54; .changLogList {
} padding-left: 20px;
._icon_btn i.icon-ico_commodity_defaul:active { max-height: 180px;
background-color: #f76630; overflow: auto;
} }
._icon_btn i.icon-quxiao1 {
background-color: #e95252; .changLogList_l {
} border-left: 1px solid #e9e9e9;
._icon_btn i.icon-quxiao1:hover { position: relative;
background-color: #ea6d6d; padding-bottom: 10px;
} padding-left: 20px;
._icon_btn i.icon-quxiao1:active { padding-top: 10px;
background-color: #e42d2d; }
}
._icon_btn i.icon-zhuanjiao1, ._radius_green {
._icon_btn i.icon-cuishou { background-color: #47bf8c;
background-color: #e6a014; width: 7px;
font-size: 16px; height: 7px;
} border-radius: 50%;
._icon_btn i.icon-zhuanjiao1:hover, display: inline-block;
._icon_btn i.icon-cuishou:hover { position: absolute;
background-color: rgb(235, 184, 84); left: -4px;
} top: 19px;
._icon_btn i.icon-zhuanjiao1:active, }
._icon_btn i.icon-cuishou:active {
background-color: rgb(223, 150, 6); .changLog_time {
} color: #666666;
._tag_span { font-size: 12px;
background-color: rgba(64, 158, 255, 0.1); display: inline-block;
display: inline-block; padding-right: 10px;
padding: 0 5px; }
height: 22px;
line-height: 20px; ._icon_btn i {
font-size: 12px; width: 28px;
color: #409eff; height: 28px;
border-radius: 4px; display: inline-block;
box-sizing: border-box; color: white !important;
border: 1px solid rgba(64, 158, 255, 0.2); border-radius: 50%;
white-space: nowrap; text-align: center;
margin-bottom: 4px; line-height: 28px;
} margin-right: 10px;
._tag_span._tag_warr { cursor: pointer;
background-color: rgba(103, 194, 58, 0.1); outline: none;
border-color: rgba(103, 194, 58, 0.2); }
color: #67c23a;
} ._icon_btn i.edit {
._fex_cen { background-color: #00c6ff;
display: flex; font-size: 16px;
align-items: center; }
}
._pad5 { ._icon_btn i.edit:hover {
padding: 5px 10px; background-color: #59daff;
} }
._color_gar {
color: gray; ._icon_btn i.edit:active {
} background-color: #00b8ec;
.page_fnDm .query-box li:last-child { }
top: 97px !important;
} ._icon_btn i.icon-sousuo,
._TCIDAndTCNUMList { .icon-zhuanhuan1 {
display: flex; background-color: #47bf8c;
} }
.w216 {
width: 216px; ._icon_btn i.icon-sousuo:hover {
} background-color: #66bb97;
._icon_btn i.icon-tiaozheng { }
background-color: #1296db;
font-size: 16px; ._icon_btn i.icon-sousuo:active {
} background-color: #35ab79;
._icon_btn i.icon-zhifupeizhiguanli { }
background-color: #1296db;
font-size: 16px; ._icon_btn i.icon-ico_commodity_defaul {
} background-color: #f16c3c;
}
.boss_btn_tips,
.boss_btn { ._icon_btn i.icon-ico_commodity_defaul:hover {
text-align: center; background-color: #e87c54;
} }
.boss_btn_tips {
padding-bottom: 25px; ._icon_btn i.icon-ico_commodity_defaul:active {
} background-color: #f76630;
.boss_btn span { }
color: #2bb87c;
} ._icon_btn i.icon-quxiao1 {
.cdForm .el-form-item { background-color: #e95252;
display: inline-block; }
}
.leaderPayTable { ._icon_btn i.icon-quxiao1:hover {
width: 100%; background-color: #ea6d6d;
margin: 10px auto; }
text-align: center;
font-size: 12px; ._icon_btn i.icon-quxiao1:active {
color: #333; background-color: #e42d2d;
border-collapse: collapse; }
background-color: #fff;
border: 1px solid #d1d1d1; ._icon_btn i.icon-zhuanjiao1,
} ._icon_btn i.icon-cuishou {
background-color: #e6a014;
.leaderPayTable th { font-size: 16px;
background: #e6e6e6; }
padding: 8px 0;
color: #333; ._icon_btn i.icon-zhuanjiao1:hover,
border: 1px solid #d1d1d1; ._icon_btn i.icon-cuishou:hover {
font-weight: bold; background-color: rgb(235, 184, 84);
} }
.leaderPayTable tr td { ._icon_btn i.icon-zhuanjiao1:active,
background-color: #fff; ._icon_btn i.icon-cuishou:active {
padding: 8px 0; background-color: rgb(223, 150, 6);
height: 32px; }
border: 1px solid #d1d1d1;
text-align: center; ._tag_span {
} background-color: rgba(64, 158, 255, 0.1);
display: inline-block;
.leaderPayTable2 tr td { padding: 0 5px;
border: 1px solid #ccc; height: 22px;
line-height: 17px; line-height: 20px;
height: 25px; font-size: 12px;
font-size: 12px; color: #409eff;
background: #fff; border-radius: 4px;
text-align: center; box-sizing: border-box;
padding: 0; border: 1px solid rgba(64, 158, 255, 0.2);
margin: 0; white-space: nowrap;
} margin-bottom: 4px;
.Myquery-box li { }
float: left;
font-size: 12px; ._tag_span._tag_warr {
color: #666; background-color: rgba(103, 194, 58, 0.1);
margin: 20px 30px 20px 0; border-color: rgba(103, 194, 58, 0.2);
} color: #67c23a;
input::-webkit-outer-spin-button, }
input::-webkit-inner-spin-button {
-webkit-appearance: none; ._fex_cen {
} display: flex;
align-items: center;
input[type="number"] { }
-moz-appearance: textfield;
} ._pad5 {
padding: 5px 10px;
}
._color_gar {
color: gray;
}
.page_fnDm .query-box li:last-child {
top: 97px !important;
}
._TCIDAndTCNUMList {
display: flex;
}
.w216 {
width: 216px;
}
._icon_btn i.icon-tiaozheng {
background-color: #1296db;
font-size: 16px;
}
._icon_btn i.icon-zhifupeizhiguanli {
background-color: #1296db;
font-size: 16px;
}
.boss_btn_tips,
.boss_btn {
text-align: center;
}
.boss_btn_tips {
padding-bottom: 25px;
}
.boss_btn span {
color: #2bb87c;
}
.cdForm .el-form-item {
display: inline-block;
}
.leaderPayTable {
width: 100%;
margin: 10px auto;
text-align: center;
font-size: 12px;
color: #333;
border-collapse: collapse;
background-color: #fff;
border: 1px solid #d1d1d1;
}
.leaderPayTable th {
background: #e6e6e6;
padding: 8px 0;
color: #333;
border: 1px solid #d1d1d1;
font-weight: bold;
}
.leaderPayTable tr td {
background-color: #fff;
padding: 8px 0;
height: 32px;
border: 1px solid #d1d1d1;
text-align: center;
}
.leaderPayTable2 tr td {
border: 1px solid #ccc;
line-height: 17px;
height: 25px;
font-size: 12px;
background: #fff;
text-align: center;
padding: 0;
margin: 0;
}
.Myquery-box li {
float: left;
font-size: 12px;
color: #666;
margin: 20px 30px 20px 0;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"] {
-moz-appearance: textfield;
}
</style> </style>
<template> <template>
<div class="page_fnDm"> <div class="page_fnDm">
<ul class="_nav clearfix"> <ul class="_nav clearfix">
<li :class="CustomerStatus == 0 ? '_active' : ''" @click="CustomerStatus=1;clickGetList(0)"> <li :class="CustomerStatus == 0 ? '_active' : ''" @click="CustomerStatus=1;clickGetList(0)">
待审核 待审核
</li> </li>
<li :class="CustomerStatus == 1 ? '_active' : ''" @click="CustomerStatus=1;clickGetList(1)"> <li :class="CustomerStatus == 1 ? '_active' : ''" @click="CustomerStatus=1;clickGetList(1)">
...@@ -844,225 +945,216 @@ input[type="number"] { ...@@ -844,225 +945,216 @@ input[type="number"] {
<li> <li>
<span> <span>
<em style="margin-left: 12px">客户名称</em> <em style="margin-left: 12px">客户名称</em>
<el-input <el-input placeholder="" class="w150" v-model="msg.CustomerName" maxlength="8"></el-input>
placeholder=""
class="w150"
v-model="msg.CustomerName"
maxlength="8"
></el-input>
</span> </span>
</li> </li>
</ul> </ul>
</div> </div>
<div class="_mc_list _scrollbar" :class="addShow==true?'_edHeight':''"><table v-loading="loading" class="leaderPayTable" border="0" cellspacing="1" cellpadding="0"> <div class="_mc_list _scrollbar" :class="addShow==true?'_edHeight':''">
<tr> <table v-loading="loading" class="leaderPayTable" border="0" cellspacing="1" cellpadding="0">
<th>创建者</th> <tr>
<th>创建时间</th> <th>创建者</th>
<th>审核状态</th> <th>创建时间</th>
<th>金额</th> <th>审核状态</th>
<th>审核人</th> <th>金额</th>
<th>审核时间</th> <th>审核人</th>
<th>审核理由</th> <th>审核时间</th>
<th v-if="CustomerStatus==0">操作</th> <th>审核理由</th>
</tr> <th v-if="CustomerStatus==0">操作</th>
<tr v-for="(item,index) in czList" :key="index"> </tr>
<td>{{item.createBy}}</td> <tr v-for="(item,index) in czList" :key="index">
<td>{{item.createDate}}</td> <td>{{item.createBy}}</td>
<td>{{item.statusName}}</td> <td>{{item.createDate}}</td>
<td>{{item.totalPrice}}</td> <td>{{item.statusName}}</td>
<td>{{item.examineEmpName}}</td> <td>{{item.totalPrice}}</td>
<td>{{item.examineTime}}</td> <td>{{item.examineEmpName}}</td>
<td>{{item.examineReason}}</td> <td>{{item.examineTime}}</td>
<td v-if="CustomerStatus==0"><el-button type="primary" size="mini" @click="financeCheck(item)">审核</el-button> <td>{{item.examineReason}}</td>
</td> <td v-if="CustomerStatus==0">
</tr> <el-button type="primary" size="mini" @click="financeCheck(item)">审核</el-button>
<tr v-if="czList.length==0"> </td>
</tr>
<tr v-if="czList.length==0">
<td colspan="13">暂无数据</td> <td colspan="13">暂无数据</td>
</tr> </tr>
</table> </table>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size="this.msg.pageSize" :total="total"> layout="total,prev, pager, next, jumper" :page-size="this.msg.pageSize" :total="total">
</el-pagination> </el-pagination>
<el-dialog <el-dialog custom-class="addCompany page_MyCustomer" title="结算" width="1100px" :visible.sync="showDetail" center>
custom-class="addCompany page_MyCustomer" <div v-loading="detailLoading">
title="结算" <table v-loading='loading' border="0" cellspacing="0" cellpadding="0" class="singeRowTable"
width="1100px" style="margin-bottom:30px;">
:visible.sync="showDetail" <tr class="_t_head">
center <!-- <th v-if="hbState || checkboxShow || BOSSBtn || BOSSBtn2"><input type="checkbox" v-model="isCkedAll" @click='checkedAll()'></th> -->
> <th width="90">{{$t('system.query_company')}}</th>
<div v-loading="detailLoading"> <th>{{$t('fnc.danhao')}}</th>
<table v-loading='loading' border="0" cellspacing="0" cellpadding="0" class="singeRowTable" style="margin-bottom:30px;"> <th width="90">{{$t('fnc.djleixing')}}</th>
<tr class="_t_head"> <th>{{$t('hotel.hotel_corrlelatition')}}</th>
<!-- <th v-if="hbState || checkboxShow || BOSSBtn || BOSSBtn2"><input type="checkbox" v-model="isCkedAll" @click='checkedAll()'></th> --> <th>{{$t('fnc.feiyongleixing')}}</th>
<th width="90">{{$t('system.query_company')}}</th> <th>{{$t('tips.jiaoyifangshi')}}</th>
<th>{{$t('fnc.danhao')}}</th> <th>{{$t('fnc.jine')}}</th>
<th width="90">{{$t('fnc.djleixing')}}</th> <th>{{msg.Type==1? $t('fnc.shoukuan') : $t('fnc.fukuan')}}{{$t('fnc.duixiang')}}</th>
<th>{{$t('hotel.hotel_corrlelatition')}}</th> <th width="150">{{$t('fnc.zdrenyuan')}}</th>
<th>{{$t('fnc.feiyongleixing')}}</th> <th>{{$t('fnc.dqzhuangtai')}}</th>
<th>{{$t('tips.jiaoyifangshi')}}</th> </tr>
<th>{{$t('fnc.jine')}}</th> <tr class="_item_list" :key="item.FrID" v-for="(item,index) in detailInfo.FinanceList">
<th>{{msg.Type==1? $t('fnc.shoukuan') : $t('fnc.fukuan')}}{{$t('fnc.duixiang')}}</th> <!-- <td v-if="hbState || checkboxShow || BOSSBtn || BOSSBtn2"><input type="checkbox" :value="item.FrID" v-model="checkList" @change="ckeckedOne"></td> -->
<th width="150">{{$t('fnc.zdrenyuan')}}</th> <td>{{item.BranchName}}</td>
<th>{{$t('fnc.dqzhuangtai')}}</th> <td class="Bill_par">
</tr> <el-popover popper-class="detailsIT_Journal" placement="bottom-start" trigger="click">
<tr class="_item_list" :key="item.FrID" v-for="(item,index) in detailInfo.FinanceList"> <template v-if="item.Type!=1&&item.Type!=7&&(item.Is_Merge==0||item.Is_Merge===null)">
<!-- <td v-if="hbState || checkboxShow || BOSSBtn || BOSSBtn2"><input type="checkbox" :value="item.FrID" v-model="checkList" @change="ckeckedOne"></td> --> <my-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-Bill>
<td>{{item.BranchName}}</td> </template>
<td class="Bill_par"> <template v-else-if="item.Type==1&&(item.Is_Merge==0||item.Is_Merge===null)">
<el-popover <my-RVB-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-RVB-Bill>
popper-class="detailsIT_Journal" </template>
placement="bottom-start" <template v-else-if="item.Type==7&&(item.Is_Merge==0||item.Is_Merge===null)">
trigger="click"> <my-GZ-Bill :ID="item.FrID" :width="'1000px'" :color="colorSon"></my-GZ-Bill>
<template v-if="item.Type!=1&&item.Type!=7&&(item.Is_Merge==0||item.Is_Merge===null)"> </template>
<my-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-Bill> <template v-else-if="item.Is_Merge==1">
</template> <my-HB-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-HB-Bill>
<template v-else-if="item.Type==1&&(item.Is_Merge==0||item.Is_Merge===null)"> </template>
<my-RVB-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-RVB-Bill> <span slot="reference" class="text_d PingFangSC">{{item.FrID}}</span>
</template> </el-popover>
<template v-else-if="item.Type==7&&(item.Is_Merge==0||item.Is_Merge===null)"> <!-- <span class="text_d PingFangSC" >{{item.FrID}}</span> -->
<my-GZ-Bill :ID="item.FrID" :width="'1000px'" :color="colorSon"></my-GZ-Bill> </td>
</template> <td>
<template v-else-if="item.Is_Merge==1"> <span class="_bg__" :class="item.Type==1 || item.Type==5?'_bg_green':'_bg_red'">{{item.TypeName}}</span>
<my-HB-Bill :ID="item.FrID" :width="widthSon" :color="colorSon"></my-HB-Bill> <el-tooltip class="item" effect="dark" content="追加团款" placement="top">
</template> <span v-if="item.OtherType == 1" class="zhuiClass"></span>
<span slot="reference" class="text_d PingFangSC" >{{item.FrID}}</span> </el-tooltip>
</el-popover>
<!-- <span class="text_d PingFangSC" >{{item.FrID}}</span> --> </td>
</td> <td class="_number">
<td> <template v-if="item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length>0">
<span class="_bg__" :class="item.Type==1 || item.Type==5?'_bg_green':'_bg_red'">{{item.TypeName}}</span> <div class="_TCIDAndTCNUMList">
<el-tooltip class="item" effect="dark" content="追加团款" placement="top"> <span>{{$t('visa.v_tuanhao')}}</span>
<span v-if="item.OtherType == 1" class="zhuiClass"></span> <template v-if="item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length>0">
</el-tooltip> <p><span v-for="(i,ix) in item.TCIDAndTCNUMList">{{i.TCNUM}}{{i.TCID}}<span
v-if="ix!=item.TCIDAndTCNUMList.length-1">,<br /></span></span></p>
</td> </template>
<td class="_number"> <template v-else>
<template v-if="item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length>0"> <span>{{$t('fnc.no')}}</span>
<div class="_TCIDAndTCNUMList"> </template>
<span>{{$t('visa.v_tuanhao')}}</span> </div>
<template v-if="item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length>0"> <p v-if="item.OrderID>0 && item.OrderSource==8">{{$t('fnc.danhao')}}:<span
<p><span v-for="(i,ix) in item.TCIDAndTCNUMList">{{i.TCNUM}}{{i.TCID}}<span v-if="ix!=item.TCIDAndTCNUMList.length-1">,<br/></span></span></p> class="">{{item.OrderID}}</span></p>
</template> </template>
<template v-else> <template v-else-if="item.OrderSource==8 &&item.TCIDAndTCNUMList&& item.TCIDAndTCNUMList.length==0">
<span>{{$t('fnc.no')}}</span> <p class="_TCIDAndTCNUMList">{{$t('tips.zwtqxinxi')}}</p>
</template> </template>
</div> <template v-else-if="item.OrderSource==4 && item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length==0">
<p v-if="item.OrderID>0 && item.OrderSource==8">{{$t('fnc.danhao')}}:<span class="">{{item.OrderID}}</span></p> <p class="_TCIDAndTCNUMList text_d" @click="goTicketPage(item)">
</template> {{$t('fnc.jpbianhao')}}{{item.SourceID}}</p>
<template v-else-if="item.OrderSource==8 &&item.TCIDAndTCNUMList&& item.TCIDAndTCNUMList.length==0"> <p style="margin-top: 5px;">
<p class="_TCIDAndTCNUMList">{{$t('tips.zwtqxinxi')}}</p> {{$t('advmanager.v_line')}}<span>{{item.LineName?item.LineName:$t('tips.jpswxzxianlu')}}</span></p>
</template> </template>
<template v-else-if="item.OrderSource==4 && item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length==0"> <template v-else-if="item.OrderSource==9 && item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length==0">
<p class="_TCIDAndTCNUMList text_d" @click="goTicketPage(item)">{{$t('fnc.jpbianhao')}}{{item.SourceID}}</p> <p class="_TCIDAndTCNUMList">{{$t('fnc.gnjpqishu')}}{{item.Term}}</p>
<p style="margin-top: 5px;">{{$t('advmanager.v_line')}}<span>{{item.LineName?item.LineName:$t('tips.jpswxzxianlu')}}</span></p> </template>
</template> <template v-else-if="item.OrderSource==10 &&item.TCIDAndTCNUMList&& item.TCIDAndTCNUMList.length==0">
<template v-else-if="item.OrderSource==9 && item.TCIDAndTCNUMList&&item.TCIDAndTCNUMList.length==0"> <p class="_TCIDAndTCNUMList">{{$t('fnc.qzbianhao')}}{{item.SourceID}}</p>
<p class="_TCIDAndTCNUMList">{{$t('fnc.gnjpqishu')}}{{item.Term}}</p> </template>
</template> <template v-else-if="item.OrderSource==11 &&item.TCIDAndTCNUMList&& item.TCIDAndTCNUMList.length==0">
<template v-else-if="item.OrderSource==10 &&item.TCIDAndTCNUMList&& item.TCIDAndTCNUMList.length==0"> <p class="_TCIDAndTCNUMList">{{$t('fnc.tsbianhao')}}{{item.SourceID}}</p>
<p class="_TCIDAndTCNUMList">{{$t('fnc.qzbianhao')}}{{item.SourceID}}</p> </template>
</template> <template v-else-if="item.OrderSource==12 &&item.TCIDAndTCNUMList&& item.TCIDAndTCNUMList.length==0">
<template v-else-if="item.OrderSource==11 &&item.TCIDAndTCNUMList&& item.TCIDAndTCNUMList.length==0"> <p class="_TCIDAndTCNUMList">{{$t('fnc.smjpbianhao')}}{{item.SourceID}}</p>
<p class="_TCIDAndTCNUMList">{{$t('fnc.tsbianhao')}}{{item.SourceID}}</p> </template>
</template> <template v-else-if="item.OrderSource==0">
<template v-else-if="item.OrderSource==12 &&item.TCIDAndTCNUMList&& item.TCIDAndTCNUMList.length==0"> <p class="_TCIDAndTCNUMList">{{ item.BranchName }}-{{item.DepartName}} </p>
<p class="_TCIDAndTCNUMList">{{$t('fnc.smjpbianhao')}}{{item.SourceID}}</p> </template>
</template> <template v-else>
<template v-else-if="item.OrderSource==0"> <p class="_TCIDAndTCNUMList">{{$t('active.cl_zanwu')}} </p>
<p class="_TCIDAndTCNUMList">{{ item.BranchName }}-{{item.DepartName}} </p> </template>
</template> </td>
<template v-else> <td>
<p class="_TCIDAndTCNUMList">{{$t('active.cl_zanwu')}} </p> <template v-for="(s,si) in item.CostTypeList">
</template> <span class="_tag_span">{{s}}</span><br />
</td> </template>
<td> </td>
<template v-for="(s,si) in item.CostTypeList"> <td class="_number">
<span class="_tag_span">{{s}}</span><br/> <template v-if="item.TradeWayList&&item.TradeWayList.length>0">
</template> <div class="_TradeWayList" v-for="(tw,twIn) in item.TradeWayList">
</td> <p class="_fex_cen clearfix"><span class="_bold">{{tw.Alias}}</span><span
<td class="_number"> class="_bank_name">{{item.TradeWayList[0].TypeName}}</span><span class="_bank_type"
<template v-if="item.TradeWayList&&item.TradeWayList.length>0"> :class="tw.AccountType=='私'?'':'_bank_type2'">{{tw.AccountType==""?$t('fnc.no'):tw.AccountType}}</span>
<div class="_TradeWayList" v-for="(tw,twIn) in item.TradeWayList"> </p>
<p class="_fex_cen clearfix"><span class="_bold">{{tw.Alias}}</span><span class="_bank_name">{{item.TradeWayList[0].TypeName}}</span><span class="_bank_type" :class="tw.AccountType=='私'?'':'_bank_type2'">{{tw.AccountType==""?$t('fnc.no'):tw.AccountType}}</span> </p> <p>{{tw.BankNo}}</p>
<p>{{tw.BankNo}}</p> </div>
</div> </template>
</template> <template v-else>
<template v-else> <div class="_pad5">
<div class="_pad5"> {{$t('fnc.no')}}
{{$t('fnc.no')}} </div>
</div> </template>
</template> </td>
</td> <td>
<td> <p>{{item.Type==1 ? $t('fnc.yingshou') : $t('fnc.yingfu') }}:<span
<p>{{item.Type==1 ? $t('fnc.yingshou') : $t('fnc.yingfu') }}:<span class="">{{moneyFormat(item.Money)}}</span></p> class="">{{moneyFormat(item.Money)}}</span></p>
<p>{{item.Type==1 ? $t('fnc.shishou') : $t('fnc.shifu') }}:<span class="">{{moneyFormat(item.PayMoney)}}</span></p> <p>{{item.Type==1 ? $t('fnc.shishou') : $t('fnc.shifu') }}:<span
</td> class="">{{moneyFormat(item.PayMoney)}}</span></p>
<td> </td>
<template v-if='item.Type===1'> <td>
<span class="_color_gar">{{$t('fnc.huikuanren')}}</span><span>{{item.RemitterName}}</span> <template v-if='item.Type===1'>
</template> <span class="_color_gar">{{$t('fnc.huikuanren')}}</span><span>{{item.RemitterName}}</span>
<template v-if='item.Type===2'> </template>
<span class="_color_gar">{{$t('fnc.fkduixiang')}}</span><span>{{item.RemitterName}}</span> <template v-if='item.Type===2'>
</template> <span class="_color_gar">{{$t('fnc.fkduixiang')}}</span><span>{{item.RemitterName}}</span>
<template v-if='item.Type===4'> </template>
<span class="_color_gar">{{$t('fnc.no')}}</span> <template v-if='item.Type===4'>
</template> <span class="_color_gar">{{$t('fnc.no')}}</span>
</td> </template>
<td valign="middle"> </td>
<img class="_head_img" :src="item.EmPhoto" alt=""> <td valign="middle">
<span>{{item.EmName}}</span> <img class="_head_img" :src="item.EmPhoto" alt="">
<div>{{item.CreateDate}}</div> <span>{{item.EmName}}</span>
</td> <div>{{item.CreateDate}}</div>
<td class="_btn_group"> </td>
<i v-if="item.Status==1" class="iconfont icon-daiqueren"></i> <td class="_btn_group">
<i v-if="item.Status==4" class="iconfont icon-yiquxiao"></i> <i v-if="item.Status==1" class="iconfont icon-daiqueren"></i>
<i v-if="item.Status==2" class="iconfont icon-yiqueren"></i> <i v-if="item.Status==4" class="iconfont icon-yiquxiao"></i>
<i v-if="item.Status==3" class="iconfont icon-shenhebohui"></i> <i v-if="item.Status==2" class="iconfont icon-yiqueren"></i>
<i v-if="item.Status==0 || item.Status==5" class="iconfont icon-zancun"></i> <i v-if="item.Status==3" class="iconfont icon-shenhebohui"></i>
<el-popover <i v-if="item.Status==0 || item.Status==5" class="iconfont icon-zancun"></i>
popper-class="detailsIT_Journal" <el-popover popper-class="detailsIT_Journal" width="250" trigger="click">
width="250" <div class="InfoChangeLog">
trigger="click"> <div class="changLog">
<div class="InfoChangeLog" > <p class="_log_t">{{$t('fnc.lcrizhi')}}</p>
<div class="changLog"> <ul class="changLogList" v-if="GetFinancLogList" v-loading='LogLoading'>
<p class="_log_t">{{$t('fnc.lcrizhi')}}</p> <li class="changLogList_l" v-for="(log,li) in GetFinancLogList">
<ul class="changLogList" v-if="GetFinancLogList" v-loading='LogLoading'> <span style="background-color: #47BF8C" class="_radius_green"></span>
<li class="changLogList_l" v-for="(log,li) in GetFinancLogList"> <p> <span class="_color_blue">{{log.EmName}}</span> <span
<span style="background-color: #47BF8C" class="_radius_green"></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> <ul v-else>
<ul v-else> <li>{{$t('hotel.hotel_zanwu')}}</li>
<li>{{$t('hotel.hotel_zanwu')}}</li> </ul>
</ul> </div>
</div> </div>
</div> <span slot="reference" class="text_d _font_init"
<span slot="reference" class="text_d _font_init" @click="Financial_post_GetFinancLogList(item.FrID)">{{item.StatusStr}}</span> @click="Financial_post_GetFinancLogList(item.FrID)">{{item.StatusStr}}</span>
</el-popover> </el-popover>
</td> </td>
</tr> </tr>
</table> </table>
</div> </div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="showCheck = true"> <button class="normalBtn" type="primary" @click="showCheck = true">
结算 结算
</button> </button>
<button class="hollowFixedBtn" @click="showDetail = false"> <button class="hollowFixedBtn" @click="showDetail = false">
{{ $t("pub.cancelBtn") }} {{ $t("pub.cancelBtn") }}
</button> </button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog <el-dialog custom-class="addCompany page_MyCustomer" title="结算" width="400px" :visible.sync="showCheck" center>
custom-class="addCompany page_MyCustomer" <el-form label-width="100px">
title="结算" <el-form-item label="凭证" prop="SigningFile">
width="400px" <!-- <el-upload v-if="!saveMsg || !saveMsg.length" class="upload-demo"
:visible.sync="showCheck"
center
>
<el-form label-width="100px">
<el-form-item label="凭证" prop="SigningFile">
<!-- <el-upload v-if="!saveMsg || !saveMsg.length" class="upload-demo"
style="display:inline-block;position:relative;top:-1px;left:3px;" :http-request="uploadFileBtn" style="display:inline-block;position:relative;top:-1px;left:3px;" :http-request="uploadFileBtn"
:show-file-list="false" action=""> :show-file-list="false" action="">
<el-button size="small" type="primary">凭证</el-button> <el-button size="small" type="primary">凭证</el-button>
...@@ -1076,81 +1168,68 @@ input[type="number"] { ...@@ -1076,81 +1168,68 @@ input[type="number"] {
@click="DeleteFile(subIndex)">删除</a> @click="DeleteFile(subIndex)">删除</a>
</template> </template>
</template> --> </template> -->
<el-upload <el-upload class="avatar-uploader" action="" :http-request="uploadImg"
class="avatar-uploader" accept="image/jpeg,image/gif,image/png,image/bmp" :show-file-list="false">
action="" <img v-if="BusinessCardPhotos" :src="BusinessCardPhotos" class="avatar" />
:http-request="uploadImg" <i v-else class="el-icon-plus avatar-uploader-icon"></i>
accept="image/jpeg,image/gif,image/png,image/bmp" </el-upload>
:show-file-list="false" </el-form-item>
> <el-form-item :label="$t('hotel.hotel_remark')">
<img <el-input type="textarea" v-model="addMsg.ExamineReason" class="w216"></el-input>
v-if="BusinessCardPhotos" </el-form-item>
:src="BusinessCardPhotos" <el-form-item label="审核意见">
class="avatar" <el-radio-group v-model="addMsg.Status">
/> <el-radio :label="1">通过</el-radio>
<i v-else class="el-icon-plus avatar-uploader-icon"></i> <el-radio :label="2">拒绝</el-radio>
</el-upload> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item :label="$t('hotel.hotel_remark')"> </el-form>
<el-input <div slot="footer" class="dialog-footer">
type="textarea" <button class="normalBtn" type="primary" @click="checkSubmit">
v-model="addMsg.ExamineReason" {{ $t("pub.saveBtn") }}
class="w216" </button>
></el-input> <button class="hollowFixedBtn" @click="showCheck = false">
</el-form-item> {{ $t("pub.cancelBtn") }}
<el-form-item label="审核意见"> </button>
<el-radio-group v-model="addMsg.Status"> </div>
<el-radio :label="1">通过</el-radio> </el-dialog>
<el-radio :label="2">拒绝</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="checkSubmit">
{{ $t("pub.saveBtn") }}
</button>
<button class="hollowFixedBtn" @click="showCheck = false">
{{ $t("pub.cancelBtn") }}
</button>
</div>
</el-dialog>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import myBill from "../FinancialModule/FinancialSubmodule/BillModule.vue"; import myBill from "../FinancialModule/FinancialSubmodule/BillModule.vue";
import myrbvBill from "../FinancialModule/FinancialSubmodule/ReceivablesModule.vue"; import myrbvBill from "../FinancialModule/FinancialSubmodule/ReceivablesModule.vue";
import myhrBill from "../FinancialModule/FinancialSubmodule/MergeBillModule.vue"; import myhrBill from "../FinancialModule/FinancialSubmodule/MergeBillModule.vue";
import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue"; import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
export default { export default {
components: { components: {
"my-Bill": myBill, "my-Bill": myBill,
"my-RVB-Bill": myrbvBill, "my-RVB-Bill": myrbvBill,
"my-HB-Bill": myhrBill, "my-HB-Bill": myhrBill,
"my-GZ-Bill": myGZBill, "my-GZ-Bill": myGZBill,
}, },
data() { data() {
return { return {
colorSon: "#f5f5f5", colorSon: "#f5f5f5",
widthSon: "700px", widthSon: "700px",
active: 1, active: 1,
ActionMenuCode: [], ActionMenuCode: [],
LogLoading: false, LogLoading: false,
GetFinancLogList: [], GetFinancLogList: [],
detailLoading:false, detailLoading: false,
showDetail: false, showDetail: false,
detailInfo: {}, detailInfo: {},
CustomerStatus: 0, CustomerStatus: 0,
totalData: {}, totalData: {},
allCheck: false, allCheck: false,
addMsg: {}, addMsg: {},
showCheck: false, showCheck: false,
saveMsg: [], saveMsg: [],
headers: { headers: {
'Content-Type': 'application/octet-stream' 'Content-Type': 'application/octet-stream'
}, },
yfcheckList: [], yfcheckList: [],
czList: [], czList: [],
saveMsg: [], saveMsg: [],
addLayer1: false, addLayer1: false,
...@@ -1193,92 +1272,95 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue"; ...@@ -1193,92 +1272,95 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
} }
}, },
methods: { methods: {
Financial_post_GetFinancLogList(id) { Financial_post_GetFinancLogList(id) {
// 获取单据日志 // 获取单据日志
if (this.checkboxShow) return; if (this.checkboxShow) return;
this.LogLoading = true; this.LogLoading = true;
this.apipost( this.apipost(
"Financial_post_GetFinancLogList", "Financial_post_GetFinancLogList", {
{ ID: id, Type: 2 }, ID: id,
res => { Type: 2
if (res.data.resultCode == 1) { },
let data = res.data.data; res => {
data.forEach(x => { if (res.data.resultCode == 1) {
x.UpdateDate = this.$commonUtils.formatMsgTime(x.UpdateDate); let data = res.data.data;
}); data.forEach(x => {
this.LogLoading = false; x.UpdateDate = this.$commonUtils.formatMsgTime(x.UpdateDate);
this.GetFinancLogList = data; });
} this.LogLoading = false;
}, this.GetFinancLogList = data;
err => {} }
); },
}, err => {}
changeSelect() { );
this.czList.forEach((element) => { },
element.check = this.allCheck; changeSelect() {
}); this.czList.forEach((element) => {
}, element.check = this.allCheck;
changeSelectItem() { });
const listTmp = JSON.parse(JSON.stringify(this.czList)); },
this.czList = []; changeSelectItem() {
this.$nextTick(() => { const listTmp = JSON.parse(JSON.stringify(this.czList));
this.czList = listTmp; this.czList = [];
}); this.$nextTick(() => {
}, this.czList = listTmp;
});
},
getSelcetedIds() { getSelcetedIds() {
return this.czList return this.czList
.filter((item) => item.check) .filter((item) => item.check)
.map((item) => item.FrID) .map((item) => item.FrID)
.join(","); .join(",");
}, },
financeCheck(item) { financeCheck(item) {
this.$router.push({ this.$router.push({
path: 'signedFinanceCheck', path: 'signedFinanceCheck',
query: { query: {
id: item.id, id: item.id,
name: item.customerName, name: item.customerName,
blank: 'y', blank: 'y',
}
})
},
getDetail(id) {
this.detailLoading = true
this.apipost(
"customer_post_GetSigningSettlementDetails",
{Id: id},
(res) => {
if (res.data.resultCode == 1) {
this.detailLoading = false
this.detailInfo = res.data.data
} else {
this.detailLoading = false
this.$message.error(res.data.message || "发生异常,请重试");
} }
}, })
(err) => {} },
); getDetail(id) {
this.detailLoading = true
this.apipost(
"customer_post_GetSigningSettlementDetails", {
Id: id
},
(res) => {
if (res.data.resultCode == 1) {
this.detailLoading = false
this.detailInfo = res.data.data
} else {
this.detailLoading = false
this.$message.error(res.data.message || "发生异常,请重试");
}
},
(err) => {}
);
},
checkSubmit() {
if (!this.BusinessCardPhotos) {
this.$message.error("请上传凭证");
return;
}
this.addMsg.ExamineVoucher = this.BusinessCardPhotos;
this.addMsg.Id = this.checkObj.customerAccountId;
this.apipost(
"customer_post_UpdateSigningSettlement",
this.addMsg,
(res) => {
if (res.data.resultCode == 1) {
this.showCheck = false;
this.$message.success(res.data.message || "操作成功");
} else {
this.$message.error(res.data.message || "发生异常,请重试");
}
},
(err) => {}
);
}, },
checkSubmit() {
if (!this.BusinessCardPhotos) {
this.$message.error("请上传凭证");
return;
}
this.addMsg.ExamineVoucher = this.BusinessCardPhotos;
this.addMsg.Id = this.checkObj.customerAccountId;
this.apipost(
"customer_post_UpdateSigningSettlement",
this.addMsg,
(res) => {
if (res.data.resultCode == 1) {
this.showCheck = false;
this.$message.success(res.data.message || "操作成功");
} else {
this.$message.error(res.data.message || "发生异常,请重试");
}
},
(err) => {}
);
},
uploadImg(file) { uploadImg(file) {
//上传 //上传
let newArr = []; let newArr = [];
...@@ -1318,15 +1400,15 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue"; ...@@ -1318,15 +1400,15 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
downloadFile(fileUrl, fileName) { downloadFile(fileUrl, fileName) {
const link = document.createElement('a'); const link = document.createElement('a');
link.href = fileUrl; link.href = fileUrl;
link.target="_blank"; link.target = "_blank";
link.download = fileName; link.download = fileName;
document.body.appendChild(link); document.body.appendChild(link);
link.click(); link.click();
}, },
ZhiDanChongDi() { ZhiDanChongDi() {
this.yfcdState = true; this.yfcdState = true;
this.yfcheckList = []; this.yfcheckList = [];
}, },
clickGetList(type) { clickGetList(type) {
this.msg.pageIndex = 1 this.msg.pageIndex = 1
this.currentPage = 1 this.currentPage = 1
...@@ -1334,8 +1416,8 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue"; ...@@ -1334,8 +1416,8 @@ import myGZBill from "../FinancialModule/FinancialSubmodule/GZBillModule.vue";
this.getList() this.getList()
}, },
getList() { // 获取列表数据 getList() { // 获取列表数据
this.loading = true this.loading = true
this.czList = [] this.czList = []
this.apipost('customer_post_GetSettlementCustomerPage', this.msg, res => { this.apipost('customer_post_GetSettlementCustomerPage', this.msg, res => {
if (res.data.resultCode == 0) { if (res.data.resultCode == 0) {
this.loading = false; this.loading = false;
......
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