Commit 9d155626 authored by Mac's avatar Mac

1

parent aeb83054
...@@ -43,14 +43,14 @@ ...@@ -43,14 +43,14 @@
<div style="font-size: 14px; color: #000;padding: 8px 15px;display: flex; justify-content: space-between;"> <div style="font-size: 14px; color: #000;padding: 8px 15px;display: flex; justify-content: space-between;">
<span style="border-left: 3px solid #e95252;padding-left: 10px;">财务收据 <span v-if="data && data.State" :style="{'font-size': '12px','color':data.State==1?'#409EFF':'#F56C6C'}">({{data.State==1?'已领':'未领'}})</span> </span> <span style="border-left: 3px solid #e95252;padding-left: 10px;">财务收据 <span v-if="data && data.State" :style="{'font-size': '12px','color':data.State==1?'#409EFF':'#F56C6C'}">({{data.State==1?'已领':'未领'}})</span> </span>
<div style="display: flex;align-items: center;" v-if="data && data.State "> <div style="display: flex;align-items: center;" v-if="data && data.State ">
<span class="_btn" @click="Printreceipt" >打印</span> <span class="_btn" @click="Printreceipt" v-if="isoneself">打印</span>
<span class="_btn" @click='addreceipt' v-if="data.State==2&& isoneself">修改</span> <span class="_btn" @click='addreceipt' v-if="data.State==2&& isoneself">修改</span>
<span class="_btn" @click='setdelete' v-if="data.State==2 && isoneself">删除</span> <span class="_btn" @click='setdelete' v-if="data.State==2 && isoneself">删除</span>
<span class="_btn" @click='getshare' v-if="data.State==2">分享</span> <span class="_btn" @click='getshare' v-if="data.State==2 && isoneself">分享</span>
</div> </div>
</div> </div>
<div v-if="data && data.Id>0" style="padding: 10px;"> <div v-if="data && data.Id>0" style="padding: 10px;">
<div style="display: flex;align-items: center; justify-content: space-between;"> <div style="display: flex;align-items: center; justify-content: space-between;" v-if="isoneself">
<div> </div> <div> </div>
<div>认领码: <span class="sjbianhao">{{data.ClaimCode}}</span> </div> <div>认领码: <span class="sjbianhao">{{data.ClaimCode}}</span> </div>
</div> </div>
...@@ -206,7 +206,13 @@ ...@@ -206,7 +206,13 @@
if (res.Code == 1) { if (res.Code == 1) {
if (res.Data.Id != null && res.Data.Id > 0) { if (res.Data.Id != null && res.Data.Id > 0) {
this.data = res.Data this.data = res.Data
}else{
if(this.isoneself==false){
this.$emit("gbError");
}
} }
this.loading = false; this.loading = false;
} }
......
...@@ -1077,12 +1077,12 @@ ...@@ -1077,12 +1077,12 @@
</div> </div>
</div> </div>
</div> </div>
<div v-if="ConfigInfo && ConfigInfo.Enable==1 && getreceipt() && bossID == GetDetail.CreateBy "> <div v-if="ConfigInfo && ConfigInfo.Enable==1 && getreceipt() && ishowSJ ">
<p class="_splic" > <p class="_splic" >
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
</p> </p>
<div class="_tit _tit2 w890px ConfigInfoStyle"> <div class="_tit _tit2 w890px ConfigInfoStyle">
<mySJModule :FrID='ID' :GetDetail="GetDetail"></mySJModule> <mySJModule :FrID='ID' :GetDetail="GetDetail" @gbError='getSJstate'></mySJModule>
</div> </div>
</div> </div>
...@@ -1492,7 +1492,7 @@ ...@@ -1492,7 +1492,7 @@
rId: 0, rId: 0,
showbohui: false, //5-10新加 showbohui: false, //5-10新加
ConfigInfo:null,//收据配置数据 ConfigInfo:null,//收据配置数据
ishowSJ:true,//收据是否显示
} }
}, },
components: { components: {
...@@ -2321,6 +2321,9 @@ ...@@ -2321,6 +2321,9 @@
return false return false
} }
}, },
getSJstate(){
this.ishowSJ = 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