|
@@ -878,6 +878,16 @@ export default {
|
|
|
// }
|
|
// }
|
|
|
},
|
|
},
|
|
|
nextStep () {
|
|
nextStep () {
|
|
|
|
|
+ if (this.formDataCert.InStyle != '2' && this.formDataCert.InStyle != '3' ) {
|
|
|
|
|
+ // 准入方式,除一级二级外其他需要考察报告
|
|
|
|
|
+ if (this.$refs['GoodsInfo'].scenefileurllist.length <= 0) {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: '请上传现场考察报告!'
|
|
|
|
|
+ })
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
this.$refs['subfileList'].nextStep()
|
|
this.$refs['subfileList'].nextStep()
|
|
|
},
|
|
},
|
|
|
annaudit () {
|
|
annaudit () {
|
|
@@ -1323,9 +1333,17 @@ export default {
|
|
|
let valid = true
|
|
let valid = true
|
|
|
if (this.formDataCert.Status <= 0 && this.activeName === '0') {
|
|
if (this.formDataCert.Status <= 0 && this.activeName === '0') {
|
|
|
valid = this.saveEntity()
|
|
valid = this.saveEntity()
|
|
|
|
|
+ if (this.formDataCert.InStyle != '2' && this.formDataCert.InStyle != '3' ) {
|
|
|
|
|
+ // 准入方式,除一级二级外其他需要考察报告
|
|
|
|
|
+ if (this.$refs['GoodsInfo'].scenefileurllist.length <= 0) {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'warning',
|
|
|
|
|
+ message: '请上传现场考察报告!'
|
|
|
|
|
+ })
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
} else if (this.formDataCert.Status <= 0 && this.activeName === '1') {
|
|
} else if (this.formDataCert.Status <= 0 && this.activeName === '1') {
|
|
|
- // valid = this.updateNumberEntity()
|
|
|
|
|
- // valid = true// 没办法中的办法
|
|
|
|
|
if (this.formDataCert.WorkerTotal <= 0) {
|
|
if (this.formDataCert.WorkerTotal <= 0) {
|
|
|
this.$message({
|
|
this.$message({
|
|
|
type: 'warning',
|
|
type: 'warning',
|