采购合同审核
This commit is contained in:
@@ -294,6 +294,7 @@ export default {
|
||||
},
|
||||
// 通过审核
|
||||
yesApproval(row) {
|
||||
this.ProcurementContractNum = row.采购合同流水号
|
||||
this.$confirm('确定审核通过?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
@@ -320,11 +321,12 @@ export default {
|
||||
},
|
||||
// 不通过审核
|
||||
noApproval(row) {
|
||||
this.ProcurementContractNum = row.采购合同流水号
|
||||
this.$prompt('请输入不通过原因', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消'
|
||||
}).then(({ value }) => {
|
||||
submitApproval(this.ProcurementContractNum, 2, '').then(response => {
|
||||
submitApproval(this.ProcurementContractNum, 2, value).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.$message.success('审核成功')
|
||||
this.dialogVisible3 = false
|
||||
|
||||
Reference in New Issue
Block a user