index.vue 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <template>
  2. <!-- 现货合同详情-->
  3. <a-modal class="add-custom custom-detail"
  4. title="现货合同详情"
  5. v-model:visible="visible"
  6. @cancel="cancel"
  7. width="890px">
  8. <template #footer>
  9. <a-button key="submit"
  10. type="primary"
  11. :loading="loading"
  12. @click="submit">关闭</a-button>
  13. </template>
  14. <a-form class="inlineForm"
  15. :form="form"
  16. @submit="handleSearch">
  17. <a-row :gutter="24">
  18. <a-col :span="12">
  19. <a-form-item label="客户类型">
  20. <span class="white">企业</span>
  21. </a-form-item>
  22. </a-col>
  23. <a-col :span="12">
  24. <a-form-item label="企业名称">
  25. <span class="white">深圳市前海矿业有限公司</span>
  26. </a-form-item>
  27. </a-col>
  28. </a-row>
  29. <a-row :gutter="24">
  30. <a-col :span="12">
  31. <a-form-item label="企业简称">
  32. <span class="white">前海矿业</span>
  33. </a-form-item>
  34. </a-col>
  35. <a-col :span="12">
  36. <a-form-item label="证件类型">
  37. <span class="white">营业执照</span>
  38. </a-form-item>
  39. </a-col>
  40. </a-row>
  41. <a-row :gutter="24">
  42. <a-col :span="12">
  43. <a-form-item label="法定代表人">
  44. <span class="white">李顺利</span>
  45. </a-form-item>
  46. </a-col>
  47. <a-col :span="12">
  48. <a-form-item label="证件号码">
  49. <span class="white">4328648236492432</span>
  50. </a-form-item>
  51. </a-col>
  52. </a-row>
  53. <a-row :gutter="24">
  54. <a-col :span="12">
  55. <a-form-item label="纳税人识别号">
  56. <span class="white">57465736DR46456</span>
  57. </a-form-item>
  58. </a-col>
  59. <a-col :span="12">
  60. <a-form-item label="营业执照">
  61. <div class="upload">
  62. <a class="blue">查看附件</a>
  63. </div>
  64. </a-form-item>
  65. </a-col>
  66. </a-row>
  67. <a-row :gutter="24">
  68. <a-col :span="12">
  69. <a-form-item label="联系人">
  70. <span class="white">王平</span>
  71. </a-form-item>
  72. </a-col>
  73. <a-col :span="12">
  74. <a-form-item label="联系人手机号">
  75. <span class="white">13745653421</span>
  76. </a-form-item>
  77. </a-col>
  78. </a-row>
  79. <a-row :gutter="24">
  80. <a-col :span="12">
  81. <a-form-item label="联系电话">
  82. <span class="white">0755-34342544</span>
  83. </a-form-item>
  84. </a-col>
  85. <a-col :span="12">
  86. <a-form-item label="状态">
  87. <span class="green">正常</span>
  88. </a-form-item>
  89. </a-col>
  90. </a-row>
  91. <a-row :gutter="24">
  92. <a-col :span="24">
  93. <a-form-item label="通讯地址">
  94. <span class="white">广东省深圳市南山区前海街道路平路1324号</span>
  95. </a-form-item>
  96. </a-col>
  97. </a-row>
  98. <a-row :gutter="24">
  99. <a-col :span="24">
  100. <a-form-item label="备注">
  101. <span class="white">深圳市前海矿业有限公司</span>
  102. </a-form-item>
  103. </a-col>
  104. </a-row>
  105. </a-form>
  106. </a-modal>
  107. </template>
  108. <script lang="ts">
  109. import { defineComponent, ref } from 'vue';
  110. import { closeModal } from '@/common/setup/modal/index';
  111. export default defineComponent({
  112. name: 'spot-contract-detail',
  113. components: {},
  114. setup() {
  115. const { visible, cancel } = closeModal('detail');
  116. const loading = ref<boolean>(false);
  117. function submit() {
  118. loading.value = true;
  119. setTimeout(() => {
  120. loading.value = false;
  121. cancel();
  122. }, 2000);
  123. }
  124. return {
  125. visible,
  126. cancel,
  127. submit,
  128. loading,
  129. };
  130. },
  131. });
  132. </script>
  133. <style lang="less">
  134. .custom-detail {
  135. }
  136. .ant-form.inlineForm {
  137. margin-top: 20px;
  138. }
  139. .white {
  140. color: @m-white0;
  141. }
  142. .blue {
  143. color: @m-blue0;
  144. }
  145. .green {
  146. color: @m-green0;
  147. }
  148. </style
  149. >;