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