Commit 4de35dd8 authored by youjie's avatar youjie

no message

parent 95b97307
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
let opContents = x.querySelectorAll(".query-box ul li"); let opContents = x.querySelectorAll(".query-box ul li");
if (opContents && opContents.length > 0) { if (opContents && opContents.length > 0) {
this.navWidth = document.querySelector(".flexParent").offsetWidth - opContents[opContents this.navWidth = document.querySelector(".flexParent").offsetWidth - opContents[opContents
.length - 1].offsetWidth - 50 .length - 1].offsetWidth - 160
} else { } else {
this.navWidth = document.querySelector(".flexParent").offsetWidth - 20; this.navWidth = document.querySelector(".flexParent").offsetWidth - 20;
} }
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
.tickets_blue { .tickets_blue {
color: #0000FF; color: #0000FF;
cursor: pointer; cursor: pointer;
} }
.tickets_black { .tickets_black {
...@@ -129,8 +129,8 @@ ...@@ -129,8 +129,8 @@
<li><span>待审金额:</span><span :class="{color_red:(allMoneyP-shiMoneyP)!==allMoneyP}">{{moneyFormat(allMoneyP-shiMoneyP)}}</span></li> <li><span>待审金额:</span><span :class="{color_red:(allMoneyP-shiMoneyP)!==allMoneyP}">{{moneyFormat(allMoneyP-shiMoneyP)}}</span></li>
</ul> </ul>
</div> </div>
<p class="sfd_tit clearfix">收款单 <p class="sfd_tit clearfix">收款单
<input v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" type="button" value="增加签证财务单据" class="normalBtn" @click="OpenOrder(1)"> <input v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" type="button" value="增加签证财务单据" class="normalBtn" @click="OpenOrder(1)">
<input v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" type="button" value="增加保险财务单据" class="normalBtn" @click="OpenOrder2(1)"> <input v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" type="button" value="增加保险财务单据" class="normalBtn" @click="OpenOrder2(1)">
</p> </p>
<table border="0" cellspacing="1" cellpadding="0" class="teamRevenueExpenditureTable"> <table border="0" cellspacing="1" cellpadding="0" class="teamRevenueExpenditureTable">
...@@ -232,10 +232,12 @@ ...@@ -232,10 +232,12 @@
</td> </td>
</tr> </tr>
</table> </table>
<p class="sfd_tit clearfix">付款单 <p class="sfd_tit clearfix">付款单
<!-- <input type="button" v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" value="预付款冲抵" class="normalBtn" @click="OpenOrder2(2,'Offset')"> -->
<input type="button" v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" value="增加签证财务单据" class="normalBtn" @click="OpenOrder(2)"> <input type="button" v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" value="增加签证财务单据" class="normalBtn" @click="OpenOrder(2)">
<input type="button" v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" value="增加保险财务单据" class="normalBtn" @click="OpenOrder2(2)"></p> <input type="button" v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" value="增加保险财务单据" class="normalBtn" @click="OpenOrder2(2)">
<table border="0" cellspacing="1" cellpadding="0" class="teamRevenueExpenditureTable"> </p>
<table border="0" cellspacing="1" cellpadding="0" class="teamRevenueExpenditureTable">
<tr> <tr>
<th width="100">单号</th> <th width="100">单号</th>
<th width="200">费用类型</th> <th width="200">费用类型</th>
...@@ -355,7 +357,7 @@ ...@@ -355,7 +357,7 @@
<span v-if="item.VisaStatus===2" class="tickets_blue" >{{item.GuestName}}</span> <span v-if="item.VisaStatus===2" class="tickets_blue" >{{item.GuestName}}</span>
<span v-if="item.VisaStatus===3" class="tickets_black" >{{item.GuestName}}</span> <span v-if="item.VisaStatus===3" class="tickets_black" >{{item.GuestName}}</span>
</label> </label>
</li> </li>
</ul> </ul>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
...@@ -363,12 +365,20 @@ ...@@ -363,12 +365,20 @@
<el-button size="mini" style="background:#E95252;color:#fff;border:none" @click="addFinancialOrder">确 定</el-button> <el-button size="mini" style="background:#E95252;color:#fff;border:none" @click="addFinancialOrder">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<!-- 预付款冲抵 -->
<offset :isShow="cdState" :obj="queryObj" @close="cdState=false"
@success="cdState=false,dialogVisible=false"></offset>
</div> </div>
</template> </template>
<script> <script>
import offset from '../public/offset.vue';
export default { export default {
components: { offset },
data() { data() {
return { return {
Offset:null,
queryObj:null,
cdState: false,
qjGroupId:-1, qjGroupId:-1,
F_Finance_Create:false,//制单权限 F_Finance_Create:false,//制单权限
userInfo:{}, userInfo:{},
...@@ -458,7 +468,7 @@ export default { ...@@ -458,7 +468,7 @@ export default {
return return
} }
this.checkList = this.checkListAll this.checkList = this.checkListAll
}, },
Financial_post_GetFinancLogList: function(id){ // 获取单据日志 Financial_post_GetFinancLogList: function(id){ // 获取单据日志
if (this.checkboxShow) return if (this.checkboxShow) return
...@@ -514,7 +524,12 @@ export default { ...@@ -514,7 +524,12 @@ export default {
} }
}, null) }, null)
}, },
OpenOrder2(num){ OpenOrder2(num,Offset){
if(Offset){
this.Offset = Offset
}else{
this.Offset = null
}
this.checkd=false; this.checkd=false;
this.checkList=[]; this.checkList=[];
this.checkListAll=[]; this.checkListAll=[];
...@@ -557,8 +572,8 @@ export default { ...@@ -557,8 +572,8 @@ export default {
}) })
}, },
addFinancialOrder () { // 新增单据方法 addFinancialOrder () { // 新增单据方法
let userInfo =[]; let userInfo =[];
this.checkList.forEach(check=>{ this.checkList.forEach(check=>{
this.checknameList.forEach(item=>{ this.checknameList.forEach(item=>{
if(item.Id==check){ if(item.Id==check){
...@@ -579,32 +594,56 @@ export default { ...@@ -579,32 +594,56 @@ export default {
SourceID: 0, SourceID: 0,
TCIDList: TCIDARR TCIDList: TCIDARR
} }
if (this.type === 1) { // if (this.type === 1) {
this.$router.push({ // this.$router.push({
name: 'ChoiceAddFinancialDocuments', // name: 'ChoiceAddFinancialDocuments',
query:{ // query:{
"Type": 1, // "Type": 1,
"companyID": this.OutBranchId, // "companyID": this.OutBranchId,
"path": "", // "path": "",
'blank': 'y', // 'blank': 'y',
'orderObj': JSON.stringify(orderObj) // 'orderObj': JSON.stringify(orderObj)
} // }
}); // });
// this.dialogVisible=false;
// } else if (this.type === 2) {
// this.$router.push({
// name: 'ChoiceAddFinancialDocuments',
// query:{
// "Type": 2,
// "companyID": this.OutBranchId,
// "path": "",
// 'blank': 'y',
// 'orderObj': JSON.stringify(orderObj)
// }
// });
// }
if(!this.Offset){
this.dialogVisible=false; this.dialogVisible=false;
} else if (this.type === 2) {
this.$router.push({ this.$router.push({
name: 'ChoiceAddFinancialDocuments', name: 'ChoiceAddFinancialDocuments',
query:{ query:{
"Type": 2, "Type": this.type,
"companyID": this.OutBranchId, "companyID": this.OutBranchId,
"path": "", "path": "",
'blank': 'y', 'blank': 'y',
'orderObj': JSON.stringify(orderObj) 'orderObj': JSON.stringify(orderObj)
} }
}); });
this.dialogVisible=false; }else{
let query = {};
query = {
path: 'SaleOrderModule',
companyID: this.OutBranchId,
visaType: true,
blank: 'y',
orderObj: JSON.stringify(orderObj),
Type: this.type,
}
this.queryObj = query
this.cdState = true
} }
}, },
}, mounted() { }, mounted() {
this.userInfo=this.getLocalStorage(); this.userInfo=this.getLocalStorage();
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
end-placeholder="结束日期"> end-placeholder="结束日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-form> </el-form>
<table class="leaderPayTable" border="0" cellspacing="1" cellpadding="0" v-loading="loading"> <table class="leaderPayTable" border="0" cellspacing="1" cellpadding="0" v-loading="loading">
<tr> <tr>
...@@ -56,23 +56,23 @@ ...@@ -56,23 +56,23 @@
<tr v-if="czList.length==0"> <tr v-if="czList.length==0">
<td colspan="12">暂无数据</td> <td colspan="12">暂无数据</td>
</tr> </tr>
</table> </table>
<el-pagination background @current-change="handleCurrentChange2" <el-pagination background @current-change="handleCurrentChange2"
layout="total,prev, pager, next, jumper" :page-size="czMsg.pageSize" :total='total2'> layout="total,prev, pager, next, jumper" :page-size="czMsg.pageSize" :total='total2'>
</el-pagination> </el-pagination>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="cdState=false">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" @click="cdState=false">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="goUrlZD">{{$t('pub.sureBtn')}}</button> <button class="normalBtn" type="primary" @click="goUrlZD">{{$t('pub.sureBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
export default { export default {
props: ["isShow","obj"], props: ["isShow","obj"],
components: { components: {
}, },
data() { data() {
return { return {
...@@ -101,13 +101,13 @@ ...@@ -101,13 +101,13 @@
handler(newValue,onldValue) { handler(newValue,onldValue) {
this.queryObj = newValue this.queryObj = newValue
if(this.queryObj.tradeObj){ if(this.queryObj.tradeObj){
this.tradeObj = JSON.parse(this.queryObj.tradeObj) this.tradeObj = JSON.parse(this.queryObj.tradeObj)
} }
if(this.queryObj.orderObj){ if(this.queryObj.orderObj){
this.tradeObj = JSON.parse(this.queryObj.orderObj) this.tradeObj = JSON.parse(this.queryObj.orderObj)
} }
}, },
deep:true, deep:true,
}, },
isShow: { isShow: {
handler(newValue,onldValue) { handler(newValue,onldValue) {
...@@ -153,8 +153,9 @@ ...@@ -153,8 +153,9 @@
this.queryObj.orderObj = JSON.stringify(this.tradeObj) this.queryObj.orderObj = JSON.stringify(this.tradeObj)
} }
let query = this.queryObj let query = this.queryObj
this.$emit('success')
this.close() this.close()
this.$store.commit("ChoiceAddFinancialDocuments"); // this.$store.commit("ChoiceAddFinancialDocuments");
this.$router.push({ this.$router.push({
path: "/ChoiceAddFinancialDocuments", path: "/ChoiceAddFinancialDocuments",
query query
...@@ -207,17 +208,17 @@ ...@@ -207,17 +208,17 @@
} }
} }
</script> </script>
<style> <style>
.el-dialog__header { .el-dialog__header {
background-color: #E95252 !important; background-color: #E95252 !important;
padding: 20px 40px 10px; padding: 20px 40px 10px;
} }
.el-dialog__header .el-dialog__title { .el-dialog__header .el-dialog__title {
color: white; color: white;
} }
.hollowFixedBtn { .hollowFixedBtn {
background: #fff; background: #fff;
color: #E95252; color: #E95252;
...@@ -228,15 +229,15 @@ ...@@ -228,15 +229,15 @@
border-radius: 15px; border-radius: 15px;
margin-left: 10px; margin-left: 10px;
} }
.hollowFixedBtn:hover { .hollowFixedBtn:hover {
box-shadow: 2px 0px 4px rgba(144, 6, 6, 0.25) box-shadow: 2px 0px 4px rgba(144, 6, 6, 0.25)
} }
.hollowFixedBtn:active { .hollowFixedBtn:active {
border-color: #CD2929; border-color: #CD2929;
} }
.normalBtn { .normalBtn {
color: #fff; color: #fff;
padding: 0 15px; padding: 0 15px;
...@@ -248,16 +249,16 @@ ...@@ -248,16 +249,16 @@
margin-left: 10px; margin-left: 10px;
outline: none; outline: none;
} }
.normalBtn:hover { .normalBtn:hover {
background: #E95252; background: #E95252;
box-shadow: 2px 0px 4px rgba(144, 6, 6, 0.25) box-shadow: 2px 0px 4px rgba(144, 6, 6, 0.25)
} }
.normalBtn:active { .normalBtn:active {
background: #CD2929; background: #CD2929;
} }
.leaderPayTable { .leaderPayTable {
width: 100%; width: 100%;
margin: 10px auto; margin: 10px auto;
...@@ -268,7 +269,7 @@ ...@@ -268,7 +269,7 @@
background-color: #fff; background-color: #fff;
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
} }
.leaderPayTable th { .leaderPayTable th {
background: #e6e6e6; background: #e6e6e6;
padding: 8px 0; padding: 8px 0;
...@@ -276,14 +277,14 @@ ...@@ -276,14 +277,14 @@
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
font-weight: bold; font-weight: bold;
} }
.leaderPayTable tr td { .leaderPayTable tr td {
background-color: #fff; background-color: #fff;
padding: 8px 0; padding: 8px 0;
height: 32px; height: 32px;
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
} }
.leaderPayTable2 tr td { .leaderPayTable2 tr td {
border: 1px solid #ccc; border: 1px solid #ccc;
line-height: 17px; line-height: 17px;
...@@ -295,52 +296,52 @@ ...@@ -295,52 +296,52 @@
; ;
margin: 0; margin: 0;
} }
.LeaderPrintDiv .LeaderTitle { .LeaderPrintDiv .LeaderTitle {
padding: 10px; padding: 10px;
text-align: left; text-align: left;
} }
.leaderPayTable .itemName { .leaderPayTable .itemName {
text-align: left; text-align: left;
padding: 0 10px; padding: 0 10px;
} }
@media print { @media print {
.LeaderPrintDiv .btnListDiv { .LeaderPrintDiv .btnListDiv {
display: none; display: none;
} }
} }
.comTotal { .comTotal {
text-align: left; text-align: left;
padding-left: 30px !important; padding-left: 30px !important;
} }
.LeaderPrintDiv { .LeaderPrintDiv {
width: 100%; width: 100%;
background: #f8f8f8; background: #f8f8f8;
position: absolute; position: absolute;
} }
.LeaderPrintDiv .childDiv { .LeaderPrintDiv .childDiv {
width: 1000px; width: 1000px;
margin: 0 auto; margin: 0 auto;
} }
.LeaderPrintDiv .childDiv ._Titles { .LeaderPrintDiv .childDiv ._Titles {
font-size: 14px; font-size: 14px;
} }
.wLeader2 .el-textarea__inner { .wLeader2 .el-textarea__inner {
height: 130px; height: 130px;
} }
.LeaderPrintDiv .btnListDiv { .LeaderPrintDiv .btnListDiv {
margin: 20px auto; margin: 20px auto;
text-align: center; text-align: center;
} }
.LeaderPrintDiv .leader2Btn { .LeaderPrintDiv .leader2Btn {
color: #fff; color: #fff;
padding: 0 15px; padding: 0 15px;
...@@ -351,28 +352,28 @@ ...@@ -351,28 +352,28 @@
border-radius: 15px; border-radius: 15px;
outline:none; outline:none;
} }
.cursorpointer { .cursorpointer {
cursor: pointer; cursor: pointer;
} }
.text-decoration { .text-decoration {
text-decoration: underline; text-decoration: underline;
} }
input::-webkit-outer-spin-button, input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { input::-webkit-inner-spin-button {
-webkit-appearance: none; -webkit-appearance: none;
} }
input[type="number"] { input[type="number"] {
-moz-appearance: textfield; -moz-appearance: textfield;
} }
.w150 { .w150 {
width: 150px !important; width: 150px !important;
} }
.Receipt_box { .Receipt_box {
padding: 15px; padding: 15px;
color: #c94052; color: #c94052;
...@@ -380,151 +381,151 @@ ...@@ -380,151 +381,151 @@
background-color: rgba(242, 242, 242, 1); background-color: rgba(242, 242, 242, 1);
border: 1px solid rgba(228, 228, 228, 1) border: 1px solid rgba(228, 228, 228, 1)
} }
.Receipt_box.color_blur { .Receipt_box.color_blur {
color: #106BAF; color: #106BAF;
} }
.Receipt_box.color_blur .rb_stit span { .Receipt_box.color_blur .rb_stit span {
display: inline-block; display: inline-block;
border-bottom: 2px solid #106BAF; border-bottom: 2px solid #106BAF;
padding: 0 20px padding: 0 20px
} }
.rb_tit { .rb_tit {
font-size: 18px; font-size: 18px;
text-align: center text-align: center
} }
.rb_stit { .rb_stit {
font-size: 14px; font-size: 14px;
text-align: center text-align: center
} }
.rb_stit span { .rb_stit span {
display: inline-block; display: inline-block;
border-bottom: 2px solid #C94052; border-bottom: 2px solid #C94052;
padding: 0 20px padding: 0 20px
} }
.rb_top_row { .rb_top_row {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
font-size: 12px; font-size: 12px;
} }
.rb_top_row span._r_name { .rb_top_row span._r_name {
color: #333333 color: #333333
} }
.rb_top_row span._r_bold { .rb_top_row span._r_bold {
font-weight: bold font-weight: bold
} }
.rb_top_row ._r_time span { .rb_top_row ._r_time span {
color: #333333 color: #333333
} }
._r_mb5 { ._r_mb5 {
margin-bottom: 5px; margin-bottom: 5px;
} }
.Receipt_table { .Receipt_table {
width: 100%; width: 100%;
font-size: 14px; font-size: 14px;
text-align: center text-align: center
} }
.Receipt_table .th { .Receipt_table .th {
font-weight: 200 !important font-weight: 200 !important
} }
._r_mt10 { ._r_mt10 {
margin-top: 10px; margin-top: 10px;
} }
._bg__ { ._bg__ {
display: inline-block; display: inline-block;
padding: 2px 8px; padding: 2px 8px;
color: white; color: white;
border-radius: 4px border-radius: 4px
} }
._bg_red { ._bg_red {
background-color: #E95252; background-color: #E95252;
} }
._bg_green { ._bg_green {
background-color: #2BB87C background-color: #2BB87C
} }
.text_d { .text_d {
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;
} }
.PingFangSC { .PingFangSC {
font-weight: bold font-weight: bold
} }
.Bill_par { .Bill_par {
position: relative; position: relative;
} }
tr._item_list { tr._item_list {
border-bottom: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5;
height: 78px; height: 78px;
} }
tr._item_list td { tr._item_list td {
border-bottom: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5;
padding: 10px; padding: 10px;
} }
/* tr._t_head th{border-top: 1px solid #e5e5e5;} */ /* tr._t_head th{border-top: 1px solid #e5e5e5;} */
tr._item_list td:first-child { tr._item_list td:first-child {
border-left: 1px solid #e5e5e5; border-left: 1px solid #e5e5e5;
} }
tr._item_list td:last-child { tr._item_list td:last-child {
border-right: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5;
} }
._head_img { ._head_img {
width: 28px; width: 28px;
height: 28px; height: 28px;
border-radius: 50%; border-radius: 50%;
vertical-align: middle; vertical-align: middle;
} }
._btn_group { ._btn_group {
font-size: 14px; font-size: 14px;
} }
.icon-daiqueren { .icon-daiqueren {
color: #4BCA81 color: #4BCA81
} }
.icon-yiqueren { .icon-yiqueren {
color: #4BCA81 color: #4BCA81
} }
.icon-yiquxiao { .icon-yiquxiao {
color: #959595 color: #959595
} }
.icon-shenhebohui { .icon-shenhebohui {
color: #E95252 color: #E95252
} }
.icon-icon-zancun { .icon-icon-zancun {
color: #FF9C01 color: #FF9C01
} }
.singeRowTable tr:hover { .singeRowTable tr:hover {
background-color: white background-color: white
} }
._TradeWayList { ._TradeWayList {
padding: 5px 10px; padding: 5px 10px;
background-color: #EEEEEE; background-color: #EEEEEE;
...@@ -532,11 +533,11 @@ ...@@ -532,11 +533,11 @@
margin: 10px 0; margin: 10px 0;
width: 230px width: 230px
} }
._bold { ._bold {
font-weight: bold font-weight: bold
} }
._bank_name, ._bank_name,
._bank_type { ._bank_type {
display: inline-block; display: inline-block;
...@@ -546,16 +547,16 @@ ...@@ -546,16 +547,16 @@
border-radius: 4px; border-radius: 4px;
margin-left: 10px; margin-left: 10px;
} }
._bank_name { ._bank_name {
margin-left: 10px; margin-left: 10px;
cursor: pointer; cursor: pointer;
} }
._bank_type { ._bank_type {
background-color: #2AAEF2 background-color: #2AAEF2
} }
._bank_type2 { ._bank_type2 {
background-color: #FF9C01 background-color: #FF9C01
} }
...@@ -572,4 +573,4 @@ ...@@ -572,4 +573,4 @@
border-radius: 15px; border-radius: 15px;
outline:none; outline:none;
} }
</style> </style>
\ No newline at end of file
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