<template>
  <ant-modal
    modalWidth="800"
    modalHeight="550"
    :visible="open"
    :modal-title="formTitle"
    :adjust-size="true"
    @cancel="cancel"
  >
    <a-form-model ref="form" :model="form" :rules="rules" slot="content" layout="vertical">
      <a-row :gutter="32">
        <a-col :span="12">
          <a-form-model-item label="航空主运单编号" prop="mwbno">
            <a-input v-model="form.mwbno" placeholder="请输入航空主运单编号"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="航空分运单编号" prop="hwbno">
            <a-input v-model="form.hwbno" placeholder="请输入航空分运单编号"/>
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="安检放行时间" prop="releasetime">
            <a-date-picker
              v-model="form.releasetime"
              valueFormat="YYYY-MM-DD"
              :show-today="true"
              placeholder="选择日期"
            />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="放行人" prop="releaseoptr">
            <a-input v-model="form.releaseoptr" placeholder="请输入放行人"/>
          </a-form-model-item>
        </a-col>
      </a-row>
    </a-form-model>
    <template slot="footer">
      <a-button @click="cancel">
        取消
      </a-button>
      <a-button type="primary" @click="submitForm">
        保存
      </a-button>
    </template>
  </ant-modal>
</template>
<script>
import VInternationalReleaseAddForm from './VInternationalReleaseForm'
export default {
  ...VInternationalReleaseAddForm
}
</script>
