<template>
  <div>
    <!-- form -->
    <a-form-model ref="form" layout="vertical" :model="form">
      <a-row :gutter="30">
        <a-col :xl="5" :lg="6" :sm="12">
          <a-form-model-item label="病历号码">
            <a-input v-model="form.mrnNo" placeholder="请输入病历号"></a-input>
          </a-form-model-item>
        </a-col>
        <a-col :xl="5" :lg="6" :sm="12">
          <a-form-model-item label="客户姓名">
            <a-input
              v-model="form.patientName"
              placeholder="请输入客户姓名"
            ></a-input>
          </a-form-model-item>
        </a-col>
        <a-col :xl="5" :lg="6" :sm="12">
          <a-form-model-item label="出生日期">
            <a-date-picker
              v-model="form.birthday"
              placeholder="请选择出生日期"
            ></a-date-picker>
          </a-form-model-item>
        </a-col>
        <a-col :xl="4" :lg="6" :sm="12">
          <a-form-model-item label="保险公司">
            <a-select v-model="form.payorId" placeholder="请选择保险公司">
              <a-select-option v-for="item in companyCode" :key="item.corpCode">
                {{ item.longName }}
              </a-select-option>
            </a-select>
          </a-form-model-item>
        </a-col>
        <a-col :xl="5" :lg="6" :sm="12">
          <a-form-model-item label="保单号码">
            <a-input
              v-model="form.policyNo"
              placeholder="请输入保单号码"
            ></a-input>
          </a-form-model-item>
        </a-col>
        <a-col :xl="24" :lg="18" :sm="12" class="none-label">
          <a-form-model-item label="button">
            <a-button type="primary">新建客户信息</a-button>
            <a-button class="mar-left10" type="primary" @click="handlerSearch"
              >查询</a-button
            >
          </a-form-model-item>
        </a-col>
      </a-row>
    </a-form-model>
  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {},
    };
  },
};
</script>

<style></style>
