|
@@ -8,8 +8,8 @@
|
|
<ws-button type="primary" @click="screen()">全部</ws-button>
|
|
<ws-button type="primary" @click="screen()">全部</ws-button>
|
|
<ws-button type="primary" @click="reject" v-if="isShowAdopt">驳回</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="adopt" v-if="isShowAdopt">通过</ws-button>
|
|
- <ws-button type="primary" @click="adopt" v-if="isShowAdopt">审核</ws-button>
|
|
|
|
- <ws-button type="primary" @click="payment">付款</ws-button>
|
|
|
|
|
|
+ <ws-button type="primary" @click="handlepass" v-if="isShowAdopt">审核</ws-button>
|
|
|
|
+ <ws-button type="primary" @click="payment" v-hasPermission="`acquisitionManagement.acquisitionPay.pay`">付款</ws-button>
|
|
</template>
|
|
</template>
|
|
<template slot="right">
|
|
<template slot="right">
|
|
<el-select
|
|
<el-select
|
|
@@ -240,6 +240,20 @@ export default {
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ handlepass() {
|
|
|
|
+ var that = this
|
|
|
|
+ if (this.modification.length == 0) {
|
|
|
|
+ this.$message.warning('请选择要通过的条目')
|
|
|
|
+ } else {
|
|
|
|
+ this.$confirm(`审核通过后,任务将发送给财务,是否确定通过?`, {
|
|
|
|
+ cancelButtonText: '取消',
|
|
|
|
+ confirmButtonText: '确定',
|
|
|
|
+ type: 'warning',
|
|
|
|
+ }).then(() => {
|
|
|
|
+ that.audit(this.modification[0], 0, true, 2)
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ },
|
|
getWarehouse() {
|
|
getWarehouse() {
|
|
selectWarehouseSelf({
|
|
selectWarehouseSelf({
|
|
compId: sessionStorage.getItem('ws-pf_compId')
|
|
compId: sessionStorage.getItem('ws-pf_compId')
|