|
|
@@ -325,19 +325,26 @@
|
|
|
.catch(() => {});
|
|
|
},
|
|
|
nextStep() {
|
|
|
- if (this.subfileList && this.subfileList.length > 0) {
|
|
|
- for (var i = 0; i < this.subfileList.length; i++) {
|
|
|
- if (this.subfileList[i].FileType === 1 && this.subfileList[i].FileUrl === '') {
|
|
|
- this.$message({
|
|
|
- type: 'warning',
|
|
|
- message: '请上传文件' + this.subfileList[i].NeedFileType + '!'
|
|
|
- })
|
|
|
- return
|
|
|
+ if (this.businessList && this.businessList.length > 0) {
|
|
|
+ if (this.subfileList && this.subfileList.length > 0) {
|
|
|
+ for (var i = 0; i < this.subfileList.length; i++) {
|
|
|
+ if (this.subfileList[i].FileType === 1 && this.subfileList[i].FileUrl === '') {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: '请上传文件' + this.subfileList[i].NeedFileType + '!'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
}
|
|
|
+ this.$emit('close')
|
|
|
+ } else {
|
|
|
+ this.$emit('close')
|
|
|
}
|
|
|
- this.$emit('close')
|
|
|
} else {
|
|
|
- this.$emit('close')
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: '请选择准入范围!'
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
showDialog() {
|