更新
This commit is contained in:
@@ -58,7 +58,7 @@ export function searchTable2(num) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
export function submitApproval(num, num1, num2, num3) {
|
export function submitApproval(num, num1, num2, num3, num4) {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
@@ -67,7 +67,7 @@ export function submitApproval(num, num1, num2, num3) {
|
|||||||
ModularID: router.currentRoute.path,
|
ModularID: router.currentRoute.path,
|
||||||
type: '2',
|
type: '2',
|
||||||
name: '采购管理_合同审批_修改数据',
|
name: '采购管理_合同审批_修改数据',
|
||||||
param: '采购合同流水号=' + num + '&请购单流水号=' + num3 + '&审批情况流水号=' + num1 + '&未通过原因=' + num2
|
param: '采购合同流水号=' + num + '&请购单流水号=' + num3 + '&审批情况流水号=' + num1 + '&未通过原因=' + num2 + '&审批人=' + num4
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,11 +49,6 @@
|
|||||||
{{ scope.row.合同总额 }}
|
{{ scope.row.合同总额 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="交货日期" align="center" width="90">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ scope.row.交货日期 }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="提交时间" align="center" width="90">
|
<el-table-column label="提交时间" align="center" width="90">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.操作时间 ? scope.row.操作时间.split(' ')[0] : '' }}
|
{{ scope.row.操作时间 ? scope.row.操作时间.split(' ')[0] : '' }}
|
||||||
|
|||||||
@@ -359,6 +359,7 @@
|
|||||||
import { initContract, initBuyer, searchTable1, searchTable2, submitApproval, searchTable3 } from '@/api/WorkshopProcurement/ProcurementContractApproval'
|
import { initContract, initBuyer, searchTable1, searchTable2, submitApproval, searchTable3 } from '@/api/WorkshopProcurement/ProcurementContractApproval'
|
||||||
import $ from 'jquery'
|
import $ from 'jquery'
|
||||||
import QRCode from 'qrcode'
|
import QRCode from 'qrcode'
|
||||||
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
@@ -426,6 +427,14 @@ export default {
|
|||||||
contractValue: '' // 显示表2和变更合同用的变量
|
contractValue: '' // 显示表2和变更合同用的变量
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
...mapGetters([
|
||||||
|
'sidebar',
|
||||||
|
'avatar',
|
||||||
|
'name',
|
||||||
|
'id' // 人员编号
|
||||||
|
])
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
this.fetchData()
|
this.fetchData()
|
||||||
this.searchTable1()
|
this.searchTable1()
|
||||||
@@ -503,7 +512,7 @@ export default {
|
|||||||
this.$refs[formName].validate((valid) => {
|
this.$refs[formName].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.Open_disable = true
|
this.Open_disable = true
|
||||||
submitApproval(this.ProcurementContractNum, this.form2.审批是否通过, this.form2.未通过原因, this.QGNUM).then(response => {
|
submitApproval(this.ProcurementContractNum, this.form2.审批是否通过, this.form2.未通过原因, this.QGNUM, this.id).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