Commit 90fe201d authored by zhengke's avatar zhengke

修改

parent 1fb78d08
......@@ -1857,7 +1857,7 @@
</span>
</div>
<div v-if="item.contractNum.length==0&&item.confirmFileList.length==0&&qjGroupId==userInfo.RB_Group_id">
<div v-if="(item.contractNum.length==0&&item.confirmFileList.length==0)&&(qjGroupId==userInfo.RB_Group_id||F_ContractManagement)">
<span class="GO_Contract" @click="goContract(item,{})">{{$t('salesModule.GetContract')}}</span>
</div>
<div v-else>
......@@ -2366,6 +2366,7 @@
F_InvoiceManagement:false,//发票权限
qjGroupId:-1,
F_Finance_Create:false,//制单权限
F_ContractManagement:false, //合同权限
userInfo:{},
}
},
......@@ -2397,6 +2398,7 @@
GetSupperOrderEditAuth() {
var actionCode = this.$AuthCode.F_InvoiceManagement;
var actionCodeNew = this.$AuthCode.F_Finance_Create;
var actiionContract = this.$AuthCode.F_ContractManagement;
// 发票
this.CheckUserAuth(actionCode, res => {
if (res.data.resultCode == 1 && res.data.data == 1) {
......@@ -2409,6 +2411,13 @@
this.F_Finance_Create = true;
}
});
// 合同
this.CheckUserAuth(actiionContract, res => {
if (res.data.resultCode == 1 && res.data.data == 1) {
this.F_ContractManagement = true;
}
});
},
SpecialAppPost(){
if (this.SpecialAppMsg.ApplyReason === '') {
......
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