|
@@ -630,10 +630,10 @@
|
|
|
this.inputForm.projectMasterId1 !== value &&
|
|
|
this.inputForm.projectMasterId2 !== value &&
|
|
|
this.commonJS.isNotEmpty(value)) {
|
|
|
- // console.log('this.inputForm.projectMasterId1', this.inputForm.projectMasterId1)
|
|
|
- // console.log('this.inputForm.projectMasterId2', this.inputForm.projectMasterId2)
|
|
|
- // console.log('this.inputForm.signatureAnnotator2', this.inputForm.signatureAnnotator2)
|
|
|
- // console.log('this.inputForm.signatureAnnotator1', 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 = ''
|
|
@@ -659,6 +659,10 @@
|
|
|
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 = ''
|
|
@@ -779,7 +783,7 @@
|
|
|
this.inputForm.projectId = row.id // 项目id
|
|
|
this.inputForm.projectNumber = row.projectNumber // 项目编号
|
|
|
this.inputForm.projectMasterName = row.projectMasterName // 项目经理
|
|
|
- this.inputForm.projectMasterId = row.projectMasterId // 项目经理1id
|
|
|
+ this.inputForm.projectMasterId1 = row.projectMasterId // 项目经理1id
|
|
|
this.inputForm.projectMasterId2 = row.realHeader // 项目经理2id
|
|
|
this.clearClientList()
|
|
|
this.$forceUpdate()
|