|
@@ -107,7 +107,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
- <el-col :span="12">
|
|
|
|
|
|
+ <el-col :span="12" v-if="this.inputForm.reportType != 2">
|
|
<el-form-item label="签字评估师1" prop="signatureEvaluatorFirst"
|
|
<el-form-item label="签字评估师1" prop="signatureEvaluatorFirst"
|
|
:rules=" [
|
|
:rules=" [
|
|
{required: true, message:'签字评估师1不能为空', trigger:'blur'}
|
|
{required: true, message:'签字评估师1不能为空', trigger:'blur'}
|
|
@@ -117,7 +117,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
- <el-col :span="12">
|
|
|
|
|
|
+ <el-col :span="12" v-if="this.inputForm.reportType != 2">
|
|
<el-form-item label="签字评估师2" prop="signatureEvaluatorSecond"
|
|
<el-form-item label="签字评估师2" prop="signatureEvaluatorSecond"
|
|
:rules=" [
|
|
:rules=" [
|
|
{required: true, message:'签字评估师2不能为空', trigger:'blur'}
|
|
{required: true, message:'签字评估师2不能为空', trigger:'blur'}
|
|
@@ -564,7 +564,8 @@
|
|
signatureEvaluatorFirst: '',
|
|
signatureEvaluatorFirst: '',
|
|
signatureEvaluatorSecond: '',
|
|
signatureEvaluatorSecond: '',
|
|
reportNo: '',
|
|
reportNo: '',
|
|
- contractNo: ''
|
|
|
|
|
|
+ contractNo: '',
|
|
|
|
+ reportType: ''
|
|
},
|
|
},
|
|
programId: '',
|
|
programId: '',
|
|
supervisorList: [],
|
|
supervisorList: [],
|
|
@@ -627,7 +628,6 @@
|
|
this.keyWatch = keyWatch
|
|
this.keyWatch = keyWatch
|
|
},
|
|
},
|
|
init (method, id) {
|
|
init (method, id) {
|
|
- console.log('method', method)
|
|
|
|
if (method === 'formReadOnly') {
|
|
if (method === 'formReadOnly') {
|
|
method = 'view'
|
|
method = 'view'
|
|
this.formReadOnly = true
|
|
this.formReadOnly = true
|
|
@@ -730,6 +730,11 @@
|
|
this.loading = true
|
|
this.loading = true
|
|
this.programProjectListInfoService.findByIdArchive(this.inputForm.id).then((data) => {
|
|
this.programProjectListInfoService.findByIdArchive(this.inputForm.id).then((data) => {
|
|
this.inputForm = this.recover(this.inputForm, data)
|
|
this.inputForm = this.recover(this.inputForm, data)
|
|
|
|
+ if(data.programProjectListInfo){
|
|
|
|
+ if(data.programProjectListInfo.reportType){
|
|
|
|
+ this.inputForm.reportType = data.programProjectListInfo.reportType
|
|
|
|
+ }
|
|
|
|
+ }
|
|
this.inputForm = JSON.parse(JSON.stringify(this.inputForm))
|
|
this.inputForm = JSON.parse(JSON.stringify(this.inputForm))
|
|
if (this.commonJS.isEmpty(this.inputForm.year)) {
|
|
if (this.commonJS.isEmpty(this.inputForm.year)) {
|
|
if (this.commonJS.isNotEmpty(this.inputForm.reportNo)) {
|
|
if (this.commonJS.isNotEmpty(this.inputForm.reportNo)) {
|
|
@@ -765,7 +770,7 @@
|
|
this.$refs.uploadComponentExplain.newUpload(method, this.inputForm.explainFileList, 'program', null, '评估说明')
|
|
this.$refs.uploadComponentExplain.newUpload(method, this.inputForm.explainFileList, 'program', null, '评估说明')
|
|
this.$refs.uploadComponentDetail.newUpload(method, this.inputForm.detailFileList, 'program', null, '开票文件')
|
|
this.$refs.uploadComponentDetail.newUpload(method, this.inputForm.detailFileList, 'program', null, '开票文件')
|
|
this.$refs.uploadComponentPapers.newUpload(method, this.inputForm.papersFileList, 'program', null, '评估操作计算底稿')
|
|
this.$refs.uploadComponentPapers.newUpload(method, this.inputForm.papersFileList, 'program', null, '评估操作计算底稿')
|
|
- this.$refs.uploadComponentOther.newUpload(method, this.inputForm.otherFileList, 'program', null, '其他')
|
|
|
|
|
|
+ this.$refs.uploadComponentOther.newUpload(method, this.inputForm.otherFileList, 'program', 1024, '其他')
|
|
this.loading = false
|
|
this.loading = false
|
|
})
|
|
})
|
|
})
|
|
})
|