<template>
  <!-- 审核计划-->
  <a-modal class="commonModal warehouse-disable"
           title="审核计划"
           v-model:visible="visible"
           @cancel="cancel"
           width="890px">
    <template #footer>
      <a-button key="submit"
                class="cancelBtn"
                @click="cancel">取消</a-button>
      <a-button key="submit"
                type="primary"
                :loading="loading"
                @click="submit">确认停用</a-button>
    </template>
    <a-form class="inlineForm"
            :form="form"
            @submit="handleSearch">
      <a-row :gutter="24">
        <a-col :span="12">
          <a-form-item label="客户类型">
            <span class="white">企业</span>
          </a-form-item>
        </a-col>
        <a-col :span="12">
          <a-form-item label="企业名称">
            <span class="white">深圳市前海矿业有限公司</span>
          </a-form-item>
        </a-col>
      </a-row>
      <a-row :gutter="24">
        <a-col :span="12">
          <a-form-item label="企业简称">
            <span class="white">前海矿业</span>
          </a-form-item>
        </a-col>
        <a-col :span="12">
          <a-form-item label="证件类型">
            <span class="white">营业执照</span>
          </a-form-item>
        </a-col>
      </a-row>
      <a-row :gutter="24">
        <a-col :span="12">
          <a-form-item label="法定代表人">
            <span class="white">李顺利</span>
          </a-form-item>
        </a-col>
        <a-col :span="12">
          <a-form-item label="证件号码">
            <span class="white">4328648236492432</span>
          </a-form-item>
        </a-col>
      </a-row>
      <a-row :gutter="24">
        <a-col :span="12">
          <a-form-item label="纳税人识别号">
            <span class="white">57465736DR46456</span>
          </a-form-item>
        </a-col>
        <a-col :span="12">
          <a-form-item label="营业执照">
            <a class="blue">查看附件</a>
          </a-form-item>
        </a-col>
      </a-row>
      <a-row :gutter="24">
        <a-col :span="12">
          <a-form-item label="联系人">
            <span class="white">王平</span>
          </a-form-item>
        </a-col>
        <a-col :span="12">
          <a-form-item label="联系人手机号">
            <span class="white">13745653421</span>
          </a-form-item>
        </a-col>
      </a-row>
      <a-row :gutter="24">
        <a-col :span="12">
          <a-form-item label="联系电话">
            <span class="white">0755-34342544</span>
          </a-form-item>
        </a-col>
        <a-col :span="12">
          <a-form-item label="状态">
            <span class="green">正常</span>
          </a-form-item>
        </a-col>
      </a-row>
      <a-row :gutter="24">
        <a-col :span="24">
          <a-form-item label="通讯地址">
            <span class="white">广东省深圳市南山区前海街道路平路1324号</span>
          </a-form-item>
        </a-col>
      </a-row>
      <a-row :gutter="24">
        <a-col :span="24">
          <a-form-item label="备注">
            <span class="white">无</span>
          </a-form-item>
        </a-col>
      </a-row>
    </a-form>
  </a-modal>
</template>

<script lang="ts">
import { defineComponent, ref } from 'vue';
import { closeModal } from '@/common/setup/modal/index';

export default defineComponent({
    name: 'plan_audit_audit',
    components: {},
    setup() {
        const { visible, cancel } = closeModal('plan_audit_audit');
        const loading = ref<boolean>(false);
        function submit() {
            loading.value = true;
            setTimeout(() => {
                loading.value = false;
                cancel();
            }, 2000);
        }
        return {
            visible,
            cancel,
            submit,
            loading,
        };
    },
});
</script>

<style lang="less">
.arehouse-disable {
}
</style>
