| | |
| | | return false |
| | | } |
| | | |
| | | // 转出医院地址验证:如果是“家中”必须填写地址,其他医院也必须有地址 |
| | | if (!this.taskForm.hospitalOut.address) { |
| | | this.$modal.showToast('请选择转出医院地址') |
| | | const msg = this.taskForm.hospitalOut.name === '家中' ? '请输入转出地址(家中)' : '请选择转出医院地址' |
| | | this.$modal.showToast(msg) |
| | | return false |
| | | } |
| | | |
| | |
| | | return false |
| | | } |
| | | |
| | | // 转入医院地址验证:如果是“家中”必须填写地址,其他医院也必须有地址 |
| | | if (!this.taskForm.hospitalIn.address) { |
| | | this.$modal.showToast('请选择转入医院地址') |
| | | const msg = this.taskForm.hospitalIn.name === '家中' ? '请输入转入地址(家中)' : '请选择转入医院地址' |
| | | this.$modal.showToast(msg) |
| | | return false |
| | | } |
| | | |