|
@@ -3,22 +3,40 @@
|
|
|
<div class="container">
|
|
|
<el-scrollbar style="height: 100%">
|
|
|
<el-row>
|
|
|
- <el-col style='padding-left:15px;' :span="12">
|
|
|
+ <el-col style='padding-left:15px;' :span="16">
|
|
|
<ws-button :type="searchType==1?'primary':''" @click="handlestatus(1)">待审核</ws-button>
|
|
|
<ws-button :type="searchType==2?'primary':''" @click="handlestatus(2)">待结算</ws-button>
|
|
|
<ws-button :type="searchType==3?'primary':''" @click="handlestatus(3)">已结算</ws-button>
|
|
|
<ws-button :type="searchType==''?'primary':''" @click="handlestatus('')">全部</ws-button>
|
|
|
- <ws-button v-if='roleId=="9ad8abb997714ef29068f23c2ad3b125"' type="primary" @click="handlepass1()">通过</ws-button>
|
|
|
- <ws-button v-if='roleId=="9ad8abb997714ef29068f23c2ad3b125"' type="primary" @click="handlereject(3)">驳回</ws-button>
|
|
|
- <ws-button v-if='roleId=="cca3cf0ca2814d1e918f5b0a4380fe69"' type="primary" @click="handlepass()">通过</ws-button>
|
|
|
- <ws-button v-if='roleId=="cca3cf0ca2814d1e918f5b0a4380fe69"' type="primary" @click="handlereject(2)">驳回</ws-button>
|
|
|
- <ws-button v-if='roleId=="3d7b9179552b4c3e9c2d7af43962e2e4"' type="primary" @click="handlepayment">付款</ws-button>
|
|
|
- <ws-button v-if='roleId=="3d7b9179552b4c3e9c2d7af43962e2e4"' type="primary" @click="handleninvoice">开发票</ws-button>
|
|
|
- <ws-button v-if='roleId=="4c2d50d8ff2943c1b7a1e947feefe048"' type="primary" @click="amend()">修改</ws-button>
|
|
|
- <ws-button v-if='roleId=="4c2d50d8ff2943c1b7a1e947feefe048"' type="primary" @click="carryover">补货结转</ws-button>
|
|
|
- <ws-button v-if='roleId=="4c2d50d8ff2943c1b7a1e947feefe048"' type="primary" @click="handleAudit()">审核</ws-button>
|
|
|
+ <ws-button v-if='roleId=="9ad8abb997714ef29068f23c2ad3b125"||roleId=="4ef070439cd64784bce8844fd3f0f8e1"' type="primary" v-hasPermission="
|
|
|
+ `report.procurementInReport.view`
|
|
|
+ " @click="handlepass1()">通过</ws-button>
|
|
|
+ <ws-button v-if='roleId=="9ad8abb997714ef29068f23c2ad3b125"||roleId=="4ef070439cd64784bce8844fd3f0f8e1"' type="primary" v-hasPermission="
|
|
|
+ `report.procurementInReport.view`
|
|
|
+ " @click="handlereject(3)">驳回</ws-button>
|
|
|
+ <ws-button v-if='roleId=="cca3cf0ca2814d1e918f5b0a4380fe69"||roleId=="4ef070439cd64784bce8844fd3f0f8e1"' type="primary" v-hasPermission="
|
|
|
+ `report.procurementInReport.view`
|
|
|
+ " @click="handlepass()">通过</ws-button>
|
|
|
+ <ws-button v-if='roleId=="cca3cf0ca2814d1e918f5b0a4380fe69"||roleId=="4ef070439cd64784bce8844fd3f0f8e1"' type="primary" v-hasPermission="
|
|
|
+ `report.procurementInReport.view`
|
|
|
+ " @click="handlereject(2)">驳回</ws-button>
|
|
|
+ <ws-button v-if='roleId=="3d7b9179552b4c3e9c2d7af43962e2e4"||roleId=="4ef070439cd64784bce8844fd3f0f8e1"' type="primary" v-hasPermission="
|
|
|
+ `report.procurementInReport.payment`
|
|
|
+ " @click="handlepayment">付款</ws-button>
|
|
|
+ <ws-button v-if='roleId=="3d7b9179552b4c3e9c2d7af43962e2e4"||roleId=="4ef070439cd64784bce8844fd3f0f8e1"' type="primary" v-hasPermission="
|
|
|
+ `report.procurementInReport.draw`
|
|
|
+ " @click="handleninvoice">开发票</ws-button>
|
|
|
+ <ws-button v-if='roleId=="4c2d50d8ff2943c1b7a1e947feefe048"||roleId=="4ef070439cd64784bce8844fd3f0f8e1"' type="primary" v-hasPermission="
|
|
|
+ `report.procurementInReport.edit`
|
|
|
+ " @click="amend()">修改</ws-button>
|
|
|
+ <ws-button v-if='roleId=="4c2d50d8ff2943c1b7a1e947feefe048"||roleId=="4ef070439cd64784bce8844fd3f0f8e1"' type="primary" v-hasPermission="
|
|
|
+ `report.procurementInReport.carry`
|
|
|
+ " @click="carryover">补货结转</ws-button>
|
|
|
+ <ws-button v-if='roleId=="4c2d50d8ff2943c1b7a1e947feefe048"||roleId=="4ef070439cd64784bce8844fd3f0f8e1"' type="primary" v-hasPermission="
|
|
|
+ `report.procurementInReport.view`
|
|
|
+ " @click="handleAudit()">审核</ws-button>
|
|
|
</el-col>
|
|
|
- <el-col style='text-align:right;line-height:60px;padding-right:10px;' :span="12">
|
|
|
+ <el-col style='text-align:right;line-height:60px;padding-right:10px;' :span="8">
|
|
|
<ws-select
|
|
|
v-model="contractNo"
|
|
|
placeholder="请选择合同"
|
|
@@ -1026,6 +1044,8 @@ export default {
|
|
|
this.roleFlag=3
|
|
|
}else if(this.roleId=='3d7b9179552b4c3e9c2d7af43962e2e4'){
|
|
|
this.roleFlag=4
|
|
|
+ }else if(this.roleId=="4ef070439cd64784bce8844fd3f0f8e1"){
|
|
|
+ this.roleFlag=''
|
|
|
}
|
|
|
getpurchreceipt({
|
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|