wlzboy
2026-01-24 2f09efc660bf2cc94cbc5291ad25ca06fc9bdadf
app/pagesTask/edit-emergency.vue
@@ -998,8 +998,10 @@
        return false
      }
      
      // 转出医院地址验证:如果是“家中”必须填写地址,其他医院也必须有地址
      if (!this.taskForm.hospitalOut.address) {
        this.$modal.showToast('请选择转出医院地址')
        const msg = this.taskForm.hospitalOut.name === '家中' ? '请输入转出地址(家中)' : '请选择转出医院地址'
        this.$modal.showToast(msg)
        return false
      }
      
@@ -1013,8 +1015,10 @@
        return false
      }
      
      // 转入医院地址验证:如果是“家中”必须填写地址,其他医院也必须有地址
      if (!this.taskForm.hospitalIn.address) {
        this.$modal.showToast('请选择转入医院地址')
        const msg = this.taskForm.hospitalIn.name === '家中' ? '请输入转入地址(家中)' : '请选择转入医院地址'
        this.$modal.showToast(msg)
        return false
      }