|
@@ -679,10 +679,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 = ''
|
|
@@ -708,10 +704,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 = ''
|
|
@@ -924,7 +916,6 @@
|
|
|
},
|
|
|
startFormTrue (callback) {
|
|
|
this.loading = true
|
|
|
- console.log('form' + this.inputForm.signatureType)
|
|
|
let title = `发起流程【会计-报告签章-电子公章】`
|
|
|
let describe = `[会计-报告签章-电子公章`
|
|
|
// 读取流程表单
|
|
@@ -983,11 +974,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') {
|
|
@@ -1013,9 +1001,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') { // 审核状态不是“驳回”,就弹出提示
|
|
@@ -1077,7 +1063,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(() => {
|
|
@@ -1124,7 +1109,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(() => {
|
|
@@ -1173,7 +1157,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(() => {
|
|
@@ -1237,7 +1220,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(() => {
|
|
@@ -1517,7 +1499,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')
|
|
@@ -1533,7 +1514,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')
|