出发地选择平昌不可提交
This commit is contained in:
		@@ -157,11 +157,8 @@ export default {
 | 
			
		||||
        gatewayName: '', // 卡口名称
 | 
			
		||||
        phone: '',  
 | 
			
		||||
        name: '',
 | 
			
		||||
        idNumber: '',
 | 
			
		||||
        startTime: '',
 | 
			
		||||
        startAreaId: '',
 | 
			
		||||
        startAreaName: '',
 | 
			
		||||
        startAddress: '',
 | 
			
		||||
        travelType: '',
 | 
			
		||||
        trainNo: '',  // 车次航班
 | 
			
		||||
        description: '',
 | 
			
		||||
 
 | 
			
		||||
@@ -37,28 +37,6 @@
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
      <!-- <div class="form-item">
 | 
			
		||||
        <div class="form-item__wrapper">
 | 
			
		||||
          <div class="form-item__title">
 | 
			
		||||
            <i>*</i>
 | 
			
		||||
            <h2>人员类别</h2>
 | 
			
		||||
          </div>
 | 
			
		||||
          <div class="form-item__right">
 | 
			
		||||
            <AiSelect v-model="form.type" dict="EP_registerPersonType" class="select"></AiSelect>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
      <div class="form-item">
 | 
			
		||||
        <div class="form-item__wrapper">
 | 
			
		||||
          <div class="form-item__title">
 | 
			
		||||
            <i>*</i>
 | 
			
		||||
            <h2>高危行业</h2>
 | 
			
		||||
          </div>
 | 
			
		||||
          <div class="form-item__right">
 | 
			
		||||
            <AiSelect v-model="form.highRiskIndustries" dict="EP_highRiskIndustries" class="select"></AiSelect>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div> -->
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    <div class="title">行程信息</div>
 | 
			
		||||
@@ -308,8 +286,6 @@ export default {
 | 
			
		||||
        idNumber: '',
 | 
			
		||||
        name: '',
 | 
			
		||||
        phone: '',
 | 
			
		||||
        // type: '',
 | 
			
		||||
        // highRiskIndustries: '',  // 高危行业
 | 
			
		||||
        startTime: '',
 | 
			
		||||
        startAreaId: '',
 | 
			
		||||
        startAreaName: '',
 | 
			
		||||
@@ -483,14 +459,6 @@ export default {
 | 
			
		||||
        return this.$toast('请输入正确的手机号')
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      // if (!this.form.type) {
 | 
			
		||||
      //   return this.$toast('请选择人员类别')
 | 
			
		||||
      // }
 | 
			
		||||
 | 
			
		||||
      // if (!this.form.highRiskIndustries) {
 | 
			
		||||
      //   return this.$toast('请选择高危行业')
 | 
			
		||||
      // }
 | 
			
		||||
 | 
			
		||||
      if (!this.form.startTime) {
 | 
			
		||||
        return this.$toast('请选择出发时间')
 | 
			
		||||
      }
 | 
			
		||||
@@ -507,9 +475,9 @@ export default {
 | 
			
		||||
        return this.$toast('出发地必须选至县级及以下')
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      // if (!this.form.startAddress) {
 | 
			
		||||
      //   return this.$toast('请输入出发地详址')
 | 
			
		||||
      // }
 | 
			
		||||
      if (this.startAreaId == '511923000000') {
 | 
			
		||||
        return this.$toast('出发地选择错误,请重新选择!')
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      if (!this.travelType.length) {
 | 
			
		||||
        return this.$toast('请选择出行方式')
 | 
			
		||||
@@ -534,10 +502,6 @@ export default {
 | 
			
		||||
      if (this.form.arriveAreaId.substr(this.form.arriveAreaId.length - 3, 3) === '000') {
 | 
			
		||||
        return this.$toast('目的地必须选到村或社区')
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      // if (!this.form.arriveAddress) {
 | 
			
		||||
      //   return this.$toast('请输入返乡地址')
 | 
			
		||||
      // }
 | 
			
		||||
      
 | 
			
		||||
      if (!this.form.fromHighRiskArea) {
 | 
			
		||||
        return this.$toast('请选择是否有风险旅居史')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user