|
@@ -711,10 +711,6 @@
|
|
|
this.inputForm.projectMasterId1 !== value &&
|
|
|
this.inputForm.projectMasterId2 !== value &&
|
|
|
this.commonJS.isNotEmpty(value)) {
|
|
|
- console.log('项目经理1', this.inputForm.projectMasterId1)
|
|
|
- console.log('项目经理2', this.inputForm.projectMasterId2)
|
|
|
- console.log('签字注师2', this.inputForm.signatureAnnotator2)
|
|
|
- console.log('签字注师1', value)
|
|
|
this.$message.warning('签字注师1和签字注师2至少有一个与项目经理相同')
|
|
|
this.$nextTick(() => {
|
|
|
this.inputForm.signatureAnnotator1 = ''
|
|
@@ -740,10 +736,6 @@
|
|
|
this.inputForm.projectMasterId2 !== this.inputForm.signatureAnnotator1 &&
|
|
|
this.inputForm.projectMasterId1 !== value && this.commonJS.isNotEmpty(value) &&
|
|
|
this.inputForm.projectMasterId2 !== value) {
|
|
|
- console.log('项目经理1', this.inputForm.projectMasterId1)
|
|
|
- console.log('项目经理2', this.inputForm.projectMasterId2)
|
|
|
- console.log('签字注师1', this.inputForm.signatureAnnotator1)
|
|
|
- console.log('签字注师2', value)
|
|
|
this.$message.warning('签字注师1和签字注师2至少有一个与项目经理相同')
|
|
|
this.$nextTick(() => {
|
|
|
this.inputForm.signatureAnnotator2 = ''
|
|
@@ -958,7 +950,6 @@
|
|
|
},
|
|
|
startFormTrue (callback) {
|
|
|
this.loading = true
|
|
|
- console.log('form' + this.inputForm.signatureType)
|
|
|
let title = `发起流程【会计-报告签章-电子公章】`
|
|
|
let describe = `[会计-报告签章-电子公章`
|
|
|
// 读取流程表单
|
|
@@ -1017,11 +1008,8 @@
|
|
|
})
|
|
|
}
|
|
|
this.inputForm.cwFileInfoList = list
|
|
|
- console.log(1)
|
|
|
this.reportReviewService.save(this.inputForm).then(() => {
|
|
|
let da = {cwFileInfoList: this.inputForm.cwFileInfoList, id: this.inputForm.id}
|
|
|
- console.log(this.inputForm)
|
|
|
- console.log(da)
|
|
|
this.projectReportService.saveSignFiles(da).then(() => {
|
|
|
this.projectReportService.saveData(this.inputForm).then(({data}) => {
|
|
|
if (this.inputForm.signatureType === '2') {
|
|
@@ -1047,9 +1035,7 @@
|
|
|
},
|
|
|
reapplyForm (callback) {
|
|
|
this.loading = true
|
|
|
- console.log(this.inputForm)
|
|
|
this.projectReportService.queryById(this.inputForm.id).then(({data}) => {
|
|
|
- console.log('info' + data)
|
|
|
if (data.signatureType === '1') {
|
|
|
this.projectReportService.findBySignatureId(this.inputForm.sid1).then(({data}) => {
|
|
|
if (data.status !== '4') { // 审核状态不是“驳回”,就弹出提示
|
|
@@ -1123,7 +1109,6 @@
|
|
|
})
|
|
|
}
|
|
|
this.inputForm.cwFileInfoList = list
|
|
|
- console.log(2)
|
|
|
this.reportReviewService.save(this.inputForm).then(() => {
|
|
|
let da = {cwFileInfoList: this.inputForm.cwFileInfoList, id: this.inputForm.id}
|
|
|
this.projectReportService.saveSignFiles(da).then(() => {
|
|
@@ -1170,7 +1155,6 @@
|
|
|
})
|
|
|
}
|
|
|
this.inputForm.cwFileInfoList = list
|
|
|
- console.log(3)
|
|
|
this.reportReviewService.save(this.inputForm).then(() => {
|
|
|
let da = {cwFileInfoList: this.inputForm.cwFileInfoList, id: this.inputForm.id}
|
|
|
this.projectReportService.saveSignFiles(da).then(() => {
|
|
@@ -1219,7 +1203,6 @@
|
|
|
})
|
|
|
}
|
|
|
this.inputForm.cwFileInfoList = list
|
|
|
- console.log(4)
|
|
|
this.reportReviewService.save(this.inputForm).then(() => {
|
|
|
let da = {cwFileInfoList: this.inputForm.cwFileInfoList, id: this.inputForm.id}
|
|
|
this.projectReportService.saveSignFiles(da).then(() => {
|
|
@@ -1283,7 +1266,6 @@
|
|
|
})
|
|
|
}
|
|
|
this.inputForm.cwFileInfoList = list
|
|
|
- console.log(5)
|
|
|
this.reportReviewService.save(this.inputForm).then(() => {
|
|
|
let da = {cwFileInfoList: this.inputForm.cwFileInfoList, id: this.inputForm.id}
|
|
|
this.projectReportService.saveSignFiles(da).then(() => {
|
|
@@ -1565,7 +1547,6 @@
|
|
|
this.projectReportService.getAuditNodeByReportId(this.inputForm.sid1).then(({data}) => {
|
|
|
if (data.success) {
|
|
|
this.projectReportService.getSignatureTypeById(this.inputForm.sid1, data.signatureType).then((sign) => {
|
|
|
- console.log('获取签章状态为' + sign.data.signatureType)
|
|
|
if (sign.data.signatureType === '1') {
|
|
|
console.log('签章已完成,展示‘同意’按钮')
|
|
|
this.$emit('callBackFunc', 'show')
|
|
@@ -1581,7 +1562,6 @@
|
|
|
this.projectReportService.getAuditNodeByReportId(this.inputForm.sid2).then(({data}) => {
|
|
|
if (data.success) {
|
|
|
this.projectReportService.getSignatureTypeById(this.inputForm.sid2, data.signatureType).then((sign) => {
|
|
|
- console.log('获取签章状态为' + sign.data.signatureType)
|
|
|
if (sign.data.signatureType === '1') {
|
|
|
console.log('签章已完成,展示‘同意’按钮')
|
|
|
this.$emit('callBackFunc', 'show')
|