|
@@ -1140,20 +1140,17 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- // preInvoice(){
|
|
|
- // console.log('this.inputForm.reportType',this.inputForm.reportType)
|
|
|
- // console.log('this.inputForm.projectClassification',this.inputForm.projectClassification)
|
|
|
- // console.log('this.inputForm.isHaveReport',this.inputForm.isHaveReport)
|
|
|
- // if (this.commonJS.isNotEmpty(this.inputForm.isHaveReport) && this.commonJS.isNotEmpty(this.inputForm.projectClassification) && this.commonJS.isNotEmpty(this.inputForm.reportType)){
|
|
|
- // if (this.inputForm.isHaveReport === '1' && this.inputForm.projectClassification === '16' && this.inputForm.reportType === '10'){
|
|
|
- // this.ifCheck = false
|
|
|
- // }else {
|
|
|
- // this.ifCheck = true
|
|
|
- // }
|
|
|
- // }else {
|
|
|
- // this.ifCheck = true
|
|
|
- // }
|
|
|
- // },
|
|
|
+ preInvoice(){
|
|
|
+ if (this.commonJS.isNotEmpty(this.inputForm.isHaveReport) && this.commonJS.isNotEmpty(this.inputForm.projectClassification) && this.commonJS.isNotEmpty(this.inputForm.reportType)){
|
|
|
+ if (this.inputForm.isHaveReport === '1' && (this.inputForm.projectClassification === '16' || this.inputForm.projectClassification === '17') && this.inputForm.reportType === '10'){
|
|
|
+ this.ifCheck = false
|
|
|
+ }else {
|
|
|
+ this.ifCheck = true
|
|
|
+ }
|
|
|
+ }else {
|
|
|
+ this.ifCheck = true
|
|
|
+ }
|
|
|
+ },
|
|
|
openUserDia1() {
|
|
|
this.$refs.userSelect1.init()
|
|
|
},
|