|
@@ -47,7 +47,7 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
<el-button @click="eptschedule(1)" type="primary">导出所选明细表</el-button>
|
|
|
- <el-button @click="setpermissionsbtn" type="primary">分配权限</el-button>
|
|
|
+ <el-button v-if="isAssignPerm" @click="setpermissionsbtn" type="primary">分配权限</el-button>
|
|
|
<!-- <el-select style="width:202px" v-model="tablevalue" placeholder="请选择">
|
|
|
<el-option v-for="item in tablevalueoptions" :key="item.id" :label="item.name" :value="item.id">
|
|
|
</el-option>
|
|
@@ -615,6 +615,8 @@ export default {
|
|
|
listvalueoptions: [],
|
|
|
tablevalueoptions: [],
|
|
|
|
|
|
+ isAssignPerm:false,
|
|
|
+
|
|
|
//是否计算Checkbox
|
|
|
choiceOne: false,//境内费用(其他费用)选择框
|
|
|
choiceTwo: false,//国际旅费合计选择框
|
|
@@ -1467,6 +1469,7 @@ export default {
|
|
|
remark:'',
|
|
|
},
|
|
|
]
|
|
|
+ this.isAssignPerm=false;
|
|
|
var url = "/api/Groups/EnterExitCostDraftInfoById"
|
|
|
var that = this
|
|
|
this.$axios({
|
|
@@ -1485,6 +1488,7 @@ export default {
|
|
|
that.ID = res.data.data.id;
|
|
|
//汇率
|
|
|
that.currencys = res.data.data.currencys;
|
|
|
+ that.isAssignPerm = res.data.data.isAssignPerm;
|
|
|
//权限
|
|
|
that.isSave=res.data.data.isSave;
|
|
|
that.isView=res.data.data.isView;
|
|
@@ -1610,6 +1614,8 @@ export default {
|
|
|
this.airGWC_Checked = false//公务舱选择框
|
|
|
this.storageid = 0
|
|
|
|
|
|
+ this.isAssignPerm=true;
|
|
|
+
|
|
|
this.quarterageData = [
|
|
|
{
|
|
|
id: 0,
|