Commit 3e5e7089 authored by zhengke's avatar zhengke

修改

parent 78c3dabb
......@@ -741,7 +741,7 @@
<span class="span_all">应付:¥{{moneyFormat(moneyAll.ticketyf)}}</span>
<span class="span_all">实付:¥{{moneyFormat(moneyAll.ticketsf)}}</span>
</span>
<input v-if="DataList.TeamBalance.ShouldReceive==0" type="button" class="hollowFixedBtn" value="设为机票损失" @click="Setloss('','all')" style="height:24px;padding:0 10px"/>
<input v-if="DataList.TeamBalance.ShouldReceive==0&&EditBtn" type="button" class="hollowFixedBtn" value="设为机票损失" @click="Setloss('','all')" style="height:24px;padding:0 10px"/>
</div>
</div>
......@@ -763,7 +763,7 @@
<td>
<el-checkbox v-model="item.checked"></el-checkbox>
<span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
<input v-if="DataList.TeamBalance.ShouldReceive==0 && isContain(item.CostTypeList)" type="button" class="hollowFixedBtn" value="设为损失" @click="Setloss(item.FrID,'sigal')" style="height:24px;padding:0 10px"/>
<input v-if="(DataList.TeamBalance.ShouldReceive==0 && isContain(item.CostTypeList))&&EditBtn" type="button" class="hollowFixedBtn" value="设为损失" @click="Setloss(item.FrID,'sigal')" style="height:24px;padding:0 10px"/>
</td>
<td><span v-for="subItem in item.CostTypeList" :key="subItem.subCode">{{subItem}}<br /></span></td>
<td>
......@@ -1632,6 +1632,7 @@
EndTime:'',
},
dataDocList:[],
EditBtn:false
};
},
methods: {
......@@ -1700,6 +1701,15 @@
return true;
}
},
GetAuth() {
var actionCode = this.$AuthCode.S_Travel_AirLoss;
this.CheckUserAuth(actionCode, res => {
if (res.data.resultCode == 1 && res.data.data == 1) {
this.EditBtn = true;
}
});
},
Setloss(ID,type) {
var that = this;
let msg={
......@@ -2244,6 +2254,7 @@
this.getList();
this.getdataInfo();
this.getDocList();
this.GetAuth();
}
};
......
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