更新
This commit is contained in:
@@ -60,14 +60,14 @@ export function searchTable3(num) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
export function submitApproval(num, num1, num2) {
|
export function submitApproval(num, num1, num2, num3) {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '2',
|
type: '2',
|
||||||
name: '采购管理_合同审批_修改数据',
|
name: '采购管理_合同审批_修改数据',
|
||||||
param: '采购合同流水号=' + num + '&审批情况流水号=' + num1 + '&未通过原因=' + num2
|
param: '采购合同流水号=' + num + '&请购单流水号=' + num3 + '&审批情况流水号=' + num1 + '&未通过原因=' + num2
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -303,6 +303,7 @@ export default {
|
|||||||
TotalAmount1: '',
|
TotalAmount1: '',
|
||||||
RMB1: '',
|
RMB1: '',
|
||||||
total1: 0,
|
total1: 0,
|
||||||
|
QGNUM: '',
|
||||||
pageCurrent1: 1,
|
pageCurrent1: 1,
|
||||||
pageSize1: 10,
|
pageSize1: 10,
|
||||||
tableData1: [],
|
tableData1: [],
|
||||||
@@ -398,6 +399,7 @@ export default {
|
|||||||
console.log(row)
|
console.log(row)
|
||||||
this.dialogVisible3 = true
|
this.dialogVisible3 = true
|
||||||
this.ProcurementContractNum = row.采购合同流水号
|
this.ProcurementContractNum = row.采购合同流水号
|
||||||
|
this.QGNUM = row.请购单流水号
|
||||||
},
|
},
|
||||||
selectChange() {
|
selectChange() {
|
||||||
if (this.form2.审批是否通过 === 2) {
|
if (this.form2.审批是否通过 === 2) {
|
||||||
@@ -409,7 +411,7 @@ export default {
|
|||||||
submitApproval(formName) {
|
submitApproval(formName) {
|
||||||
this.$refs[formName].validate((valid) => {
|
this.$refs[formName].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
submitApproval(this.ProcurementContractNum, this.form2.审批是否通过, this.form2.未通过原因).then(response => {
|
submitApproval(this.ProcurementContractNum, this.form2.审批是否通过, this.form2.未通过原因, this.QGNUM).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