| | |
| | | //判断新数组是否有这个元素值,没有的话,就把arr[i]给push到新数组newArr中 |
| | | if (this.proParentList.sons[i].proResult == "" || this.proParentList.sons[i].proResult == null) { |
| | | this.radio = this.lastClickedTab.name |
| | | this.$modal.msgError("请填写资料"); |
| | | this.$modal.msgError("请检查项目是否填写完成"); |
| | | this.minedis = true |
| | | return |
| | | } else if (this.proParentList.sons[i].proResult.includes(" ")) { |
| | | this.$modal.msgError("请查看是否有空格"); |
| | | this.$modal.msgError("请检查项目是否有空格"); |
| | | this.radio = this.lastClickedTab.name |
| | | this.minedis = true |
| | | return |
| | |
| | | for (var i = 0; i < this.proParentList.sons.length; i++) { |
| | | //判断新数组是否有这个元素值,没有的话,就把arr[i]给push到新数组newArr中 |
| | | if (this.proParentList.sons[i].proResult == "" || this.proParentList.sons[i].proResult == null) { |
| | | this.$modal.msgError("请填写资料"); |
| | | this.$modal.msgError("请检查项目是否填写完成"); |
| | | this.minedis = true |
| | | return |
| | | } else if (this.proParentList.sons[i].proResult.includes(" ")) { |
| | | this.$modal.msgError("请查看是否有空格"); |
| | | this.$modal.msgError("请检查填写项目中是否有空格"); |
| | | this.minedis = true |
| | | return |
| | | } else { |