Commit cd732c85 authored by 吴春's avatar 吴春

提交财务单据详情页供应商关闭按钮被遮蔽样式

parent 0a69656f
...@@ -1538,12 +1538,16 @@ ...@@ -1538,12 +1538,16 @@
<!-- 跟团订单、当地游订单,获取订单客户签约信息 --> <!-- 跟团订单、当地游订单,获取订单客户签约信息 -->
<OrderReceivablesAccount v-if="isReceivablesAccount" <OrderReceivablesAccount v-if="isReceivablesAccount"
:clientData="clientData" @ClosePopup="isReceivablesAccount=false"></OrderReceivablesAccount> :clientData="clientData" @ClosePopup="isReceivablesAccount=false"></OrderReceivablesAccount>
<!--供应商信息-->
<ClientBankAccount v-if="isClientBankAccount"
:clientBankAccountData="clientBankAccountData" @ClosePopup="isClientBankAccount=false"></ClientBankAccount>
<!--代收/代付公司--> <!--代收/代付公司-->
<HelpBranch v-if="GetDetail.HelpBranchId>-1" <HelpBranch v-if="GetDetail.HelpBranchId>-1"
:helpBranchData="helpBranchData" ></HelpBranch> :helpBranchData="helpBranchData" ></HelpBranch>
<!--供应商信息-->
<ClientBankAccount v-if="isClientBankAccount"
:clientBankAccountData="clientBankAccountData"
:ClientBankAccountTop="ClientBankAccountTop"
@ClosePopup="isClientBankAccount=false"></ClientBankAccount>
</div> </div>
</template> </template>
<script> <script>
...@@ -1661,6 +1665,7 @@ ...@@ -1661,6 +1665,7 @@
helpBranchData:{}, helpBranchData:{},
isReceivablesAccount: false, isReceivablesAccount: false,
isClientBankAccount:false, isClientBankAccount:false,
ClientBankAccountTop:0,
ActionMenuCode: '' ActionMenuCode: ''
} }
}, },
...@@ -2661,6 +2666,10 @@ ...@@ -2661,6 +2666,10 @@
if (data.Type==2){ if (data.Type==2){
this.isClientBankAccount=true; this.isClientBankAccount=true;
} }
if(data.Type==2&&data.HelpBranchId>-1){
this.ClientBankAccountTop=1;
}
console.log("this.ClientBankAccountTop",this.ClientBankAccountTop);
this.clientBankAccountData={ this.clientBankAccountData={
AccountHolder:data.AccountHolder, AccountHolder:data.AccountHolder,
AccountNumber:data.AccountNumber, AccountNumber:data.AccountNumber,
......
...@@ -94,9 +94,9 @@ ...@@ -94,9 +94,9 @@
</style> </style>
<template> <template>
<div class="OrderReceivablesAccount-form" v-if="clientBankAccountData"> <div class="OrderReceivablesAccount-form" :style="{'top':ClientBankAccountTop==0?'100px':'160px'}" v-if="clientBankAccountData">
<div class="OrderReceivablesAccount-title">供应商信息</div> <div class="OrderReceivablesAccount-title">供应商信息</div>
<div class="ClosePopup" @click="clickClosePopup"><i class="el-icon-close"></i> </div> <div :style="{'top':ClientBankAccountTop==0?'110px':'170px'}" class="ClosePopup" @click="clickClosePopup"><i class="el-icon-close"></i> </div>
<div class="OrderReceivablesAccount-center"> <div class="OrderReceivablesAccount-center">
<div><span>&nbsp;&nbsp;&nbsp;&nbsp;商:</span> {{clientBankAccountData.AccountTypeStr==='0'?clientBankAccountData.SupplierName:"非供应商"}} </div> <div><span>&nbsp;&nbsp;&nbsp;&nbsp;商:</span> {{clientBankAccountData.AccountTypeStr==='0'?clientBankAccountData.SupplierName:"非供应商"}} </div>
<div v-if="clientBankAccountData.AccountTypeStr==='0'"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号:</span> {{clientBankAccountData.DutyNo}} </div> <div v-if="clientBankAccountData.AccountTypeStr==='0'"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号:</span> {{clientBankAccountData.DutyNo}} </div>
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
</template> </template>
<script> <script>
export default { export default {
props:['clientBankAccountData'], props:['clientBankAccountData','ClientBankAccountTop'],
data() { data() {
return { return {
// clientBankAccountData: {} // clientBankAccountData: {}
......
<style scoped> <style scoped>
.OrderReceivablesAccount-form{ .HelpBranch-form{
width: 330px; width: 330px;
position: fixed; position: fixed;
z-index: 2; z-index: 2;
...@@ -35,21 +35,7 @@ ...@@ -35,21 +35,7 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }
.OrderReceivablesAccount-imgBox{
width: 50px;
height: 50px;
margin-right: 5px;
margin-bottom: 3px;
overflow: hidden;
position: relative;
border: 1px dashed #d1d1d1;
border-radius: 6px;
}
.imgBox-imgs img{
width: 100%;
height: 100%;
display: block;
}
.ClosePopup{ .ClosePopup{
position: fixed; position: fixed;
right: 30px; right: 30px;
...@@ -58,43 +44,11 @@ ...@@ -58,43 +44,11 @@
font-size: 20px; font-size: 20px;
cursor: pointer; cursor: pointer;
} }
.OrderReceivablesAccount-imgBox{
cursor: pointer;
}
.OrderReceivablesAccount-imgBox ._see_img{
opacity: 0;
}
.OrderReceivablesAccount-imgBox ._see_img {
position: absolute;
top: 0;
width: 50px;
height: 50px;
padding-top: 0;
line-height: 34px;
text-align: center;
background-color: rgba(2, 2, 2, 0.3);
display: inherit;
opacity: 0;
transition: all linear .5s
}
.OrderReceivablesAccount-imgBox:hover ._see_img {
opacity: 1;
}
.OrderReceivablesAccount-imgBox ._see_img .icon-sousuo{
margin-top: 8px;
}
.OrderReceivablesAccount-imgBox ._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);
}
</style> </style>
<template> <template>
<div class="OrderReceivablesAccount-form" v-if="helpBranchData"> <div class="HelpBranch-form" v-if="helpBranchData">
<!-- <div class="OrderReceivablesAccount-title">{{helpBranchData.Type==1?'代收':'代付'}}公司</div> --> <!-- <div class="OrderReceivablesAccount-title">{{helpBranchData.Type==1?'代收':'代付'}}公司</div> -->
<div class="OrderReceivablesAccount-center"> <div class="OrderReceivablesAccount-center">
<div v-if="helpBranchData.Type==2"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;付:</span><span style="color:red;width:auto;">{{helpBranchData.HelpBranchName}}{{helpBranchData.Type==1?'代收':'代付'}}</span> </div> <div v-if="helpBranchData.Type==2"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;付:</span><span style="color:red;width:auto;">{{helpBranchData.HelpBranchName}}{{helpBranchData.Type==1?'代收':'代付'}}</span> </div>
......
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