codealer_list.vue 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <template>
  2. <el-container v-if="isShow">
  3. <el-header height="100%" class="mg">
  4. <el-row>
  5. <el-col :span="6">
  6. <el-input
  7. v-model="input"
  8. placeholder="销售政策编号"
  9. size="normal"
  10. clearable
  11. @change=""
  12. ></el-input>
  13. </el-col>
  14. <el-col :span="6" :push="1">
  15. <el-input
  16. v-model="input"
  17. placeholder="销售政策说明"
  18. size="normal"
  19. clearable
  20. @change=""
  21. ></el-input>
  22. </el-col>
  23. <el-col :span="6" :push="2">
  24. <el-input
  25. v-model="input"
  26. placeholder="表头备注"
  27. size="normal"
  28. clearable
  29. @change=""
  30. ></el-input>
  31. </el-col>
  32. <!-- <el-col :span="6" class="btn">
  33. </el-col> -->
  34. </el-row>
  35. <el-row class="mg">
  36. <el-button type="primary" size="default" @click="">查询</el-button>
  37. <el-button type="primary" size="default" @click="">重置</el-button>
  38. <el-button type="primary" size="default" @click="">导出</el-button>
  39. </el-row>
  40. </el-header>
  41. <el-main>
  42. <el-table :data="tableData" border style="width: 100%">
  43. <el-table-column prop="name" label="操作" width="120" align="center">
  44. </el-table-column>
  45. <el-table-column
  46. prop="province"
  47. label="状态"
  48. width="120"
  49. align="center"
  50. >
  51. </el-table-column>
  52. <el-table-column
  53. prop="city"
  54. label="销售政策编号"
  55. width="150"
  56. align="center"
  57. >
  58. </el-table-column>
  59. <el-table-column
  60. prop="address"
  61. label="销售政策说明"
  62. width="400"
  63. align="center"
  64. >
  65. </el-table-column>
  66. <el-table-column prop="zip" label="表头备注" width="200" align="center">
  67. </el-table-column>
  68. <el-table-column
  69. prop="zip"
  70. label="关联经销商"
  71. width="150"
  72. align="center"
  73. >
  74. </el-table-column>
  75. <el-table-column prop="zip" label="生效日期" align="center">
  76. </el-table-column>
  77. <el-table-column prop="zip" label="结束日期" align="center">
  78. </el-table-column>
  79. <el-table-column prop="zip" label="制表人" align="center">
  80. </el-table-column>
  81. <el-table-column prop="zip" label="制表日期" align="center">
  82. </el-table-column>
  83. </el-table>
  84. </el-main>
  85. <Pagination />
  86. </el-container>
  87. <Distributor v-else/>
  88. </template>
  89. <script>
  90. import Pagination from "./components/Pagination";
  91. import Distributor from './components/Distributor'
  92. export default {
  93. data() {
  94. return {
  95. isShow:false,
  96. input: "",
  97. tableData: [
  98. {
  99. date: "2016-05-02",
  100. name: "王小虎",
  101. province: "上海",
  102. city: "普陀区",
  103. address: "上海市普陀区金沙江路 1518 弄",
  104. zip: 200333,
  105. },
  106. {
  107. date: "2016-05-04",
  108. name: "王小虎",
  109. province: "上海",
  110. city: "普陀区",
  111. address: "上海市普陀区金沙江路 1517 弄",
  112. zip: 200333,
  113. },
  114. {
  115. date: "2016-05-01",
  116. name: "王小虎",
  117. province: "上海",
  118. city: "普陀区",
  119. address: "上海市普陀区金沙江路 1519 弄",
  120. zip: 200333,
  121. },
  122. {
  123. date: "2016-05-03",
  124. name: "王小虎",
  125. province: "上海",
  126. city: "普陀区",
  127. address: "上海市普陀区金沙江路 1516 弄",
  128. zip: 200333,
  129. },
  130. ],
  131. };
  132. },
  133. components: {
  134. Pagination,
  135. Distributor
  136. },
  137. };
  138. </script>
  139. <style lang="scss" scoped>
  140. .mg {
  141. margin: 20px 0;
  142. }
  143. .btn {
  144. text-align: right;
  145. }
  146. </style>