|
@@ -32,17 +32,17 @@
|
|
|
<ws-button
|
|
|
:type="searchType == 0 ? 'primary' : ''"
|
|
|
@click="screen(1)"
|
|
|
- v-if="isShowAdopt"
|
|
|
+ v-if="isShowAdopt == 'true'"
|
|
|
>待审核</ws-button>
|
|
|
<ws-button
|
|
|
:type="searchType == 0 ? 'primary' : ''"
|
|
|
@click="screen(7)"
|
|
|
v-hasPermission="`acquisitionManagement.acquisitionPay.pay`"
|
|
|
>待付款</ws-button>
|
|
|
- <ws-button :type="searchType == 2 ? 'primary' : ''" @click="screen(2)">待结算</ws-button>
|
|
|
+ <ws-button :type="searchType == 2 ? 'primary' : ''" @click="screen(2)" v-hasPermission="`acquisitionManagement.acquisitionPay.add`">待结算</ws-button>
|
|
|
<ws-button :type="searchType == -1 ? 'primary' : ''" @click="screen(-1)">全部</ws-button>
|
|
|
- <ws-button type="primary" @click="reject" v-if="isShowAdopt">驳回</ws-button>
|
|
|
- <ws-button type="primary" @click="adopt" v-if="isShowAdopt">通过</ws-button>
|
|
|
+ <ws-button type="primary" @click="reject" v-if="isShowAdopt == 'true'">驳回</ws-button>
|
|
|
+ <ws-button type="primary" @click="adopt" v-if="isShowAdopt == 'true'">通过</ws-button>
|
|
|
<!-- <ws-button type="primary" @click="handlepass" v-if="isShowAdopt">审核</ws-button> -->
|
|
|
<ws-button
|
|
|
type="primary"
|
|
@@ -377,16 +377,16 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
handleRowClick(row) {
|
|
|
- if (row.approveStatus == null) {
|
|
|
- this.$refs.paymentList.toggleRowSelection(row)
|
|
|
- return true
|
|
|
- } else if (row.approveStatus != null) {
|
|
|
- if (row.taskId == null) {
|
|
|
+ if (row.status != '已驳回') {
|
|
|
+ if (row.taskId == null && row.status != '已通过'&& row.status != '部分付款') {
|
|
|
return false
|
|
|
} else {
|
|
|
this.$refs.paymentList.toggleRowSelection(row)
|
|
|
return true
|
|
|
}
|
|
|
+ }else{
|
|
|
+ this.$refs.paymentList.toggleRowSelection(row)
|
|
|
+ return true
|
|
|
}
|
|
|
},
|
|
|
handlepass() {
|
|
@@ -484,7 +484,6 @@ export default {
|
|
|
this.paymentList = response
|
|
|
this.deptBudgetTotal = response.total
|
|
|
})
|
|
|
-
|
|
|
getJurisdiction({
|
|
|
managementType: 1,
|
|
|
warehouseName: this.warehouseName,
|