Examine.vue 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. <template>
  2. <div class="app-container">
  3. <div class="descriptions">
  4. <el-row>
  5. <el-col :span="4">销售政策编号</el-col>
  6. <el-col :span="4">1</el-col>
  7. <el-col :span="4">销售政策说明</el-col>
  8. <el-col :span="4">1</el-col>
  9. <el-col :span="4">状态</el-col>
  10. <el-col :span="4">1</el-col>
  11. </el-row>
  12. <el-row>
  13. <el-col :span="4">销售政策类型</el-col>
  14. <el-col :span="4">1</el-col>
  15. <el-col :span="4">支付钱包</el-col>
  16. <el-col :span="4">1</el-col>
  17. <el-col :span="4">家用空调</el-col>
  18. <el-col :span="4">1</el-col>
  19. </el-row>
  20. <el-row>
  21. <el-col :span="4">备注</el-col>
  22. <el-col :span="20">1</el-col>
  23. </el-row>
  24. <el-row>
  25. <el-col :span="3">制单人</el-col>
  26. <el-col :span="3">1</el-col>
  27. <el-col :span="3">制单日期</el-col>
  28. <el-col :span="3">1</el-col>
  29. <el-col :span="3">生效日期</el-col>
  30. <el-col :span="3">1</el-col>
  31. <el-col :span="3">失败日期</el-col>
  32. <el-col :span="3">1</el-col>
  33. </el-row>
  34. <el-row>
  35. <el-col :span="3">审核人</el-col>
  36. <el-col :span="3">1</el-col>
  37. <el-col :span="3">审核日期</el-col>
  38. <el-col :span="3">1</el-col>
  39. <el-col :span="3">关闭人</el-col>
  40. <el-col :span="3">1</el-col>
  41. <el-col :span="3">关闭日期</el-col>
  42. <el-col :span="3">1</el-col>
  43. </el-row>
  44. </div>
  45. <div class="mymain-container">
  46. <el-row>
  47. <el-divider></el-divider>
  48. <el-row type="flex">
  49. <el-col :span="12">
  50. <h4 style="display: inline-block; margin-right: 20px">货品信息</h4>
  51. <el-button size="small">查看</el-button></el-col
  52. >
  53. </el-row>
  54. <el-divider></el-divider>
  55. </el-row>
  56. <el-table
  57. v-loading="listLoading"
  58. :data="dataList"
  59. element-loading-text="Loading"
  60. border
  61. fit
  62. highlight-current-row
  63. stripe
  64. >
  65. <el-table-column
  66. fixed
  67. prop="num"
  68. label="序号"
  69. width="50"
  70. align="center"
  71. >
  72. </el-table-column>
  73. <el-table-column prop="name" label="货品编码" align="center">
  74. </el-table-column>
  75. <el-table-column prop="province" label="货品名称" align="center">
  76. </el-table-column>
  77. <el-table-column prop="city" label="规格型号" align="center">
  78. </el-table-column>
  79. <el-table-column
  80. prop="address"
  81. label="销售类型编码"
  82. width="500"
  83. align="center"
  84. >
  85. </el-table-column>
  86. <el-table-column prop="zip" label="销售类型" align="center">
  87. </el-table-column>
  88. <el-table-column prop="zip" label="单价" align="center">
  89. </el-table-column>
  90. <el-table-column prop="zip" label="支付钱包" align="center">
  91. </el-table-column>
  92. <el-table-column prop="zip" label="备注" align="center">
  93. </el-table-column>
  94. </el-table>
  95. <el-row>
  96. <el-divider></el-divider>
  97. <el-row type="flex">
  98. <el-col :span="12">
  99. <h4 style="display: inline-block; margin-right: 20px">条件信息</h4>
  100. </el-col>
  101. </el-row>
  102. <el-divider></el-divider>
  103. </el-row>
  104. <el-table
  105. v-loading="listLoading"
  106. :data="dataList"
  107. element-loading-text="Loading"
  108. border
  109. fit
  110. highlight-current-row
  111. stripe
  112. >
  113. <el-table-column
  114. fixed
  115. prop="num"
  116. label="序号"
  117. width="50"
  118. align="center"
  119. >
  120. </el-table-column>
  121. <el-table-column prop="name" label="限定条件" align="center">
  122. </el-table-column>
  123. <el-table-column prop="province" label="限定机型" align="center">
  124. </el-table-column>
  125. <el-table-column prop="city" label="配体机型" align="center">
  126. </el-table-column>
  127. <el-table-column fixed="right" label="操作" align="center">
  128. <template slot-scope="scope">
  129. <el-button type="text" size="small">查看</el-button>
  130. </template>
  131. </el-table-column>
  132. </el-table>
  133. <el-row>
  134. <el-divider></el-divider>
  135. <el-row type="flex">
  136. <el-col :span="12">
  137. <h4 style="display: inline-block; margin-right: 20px">
  138. 经销商使用范围
  139. </h4>
  140. <el-button size="small">添加</el-button></el-col
  141. >
  142. </el-row>
  143. <el-divider></el-divider>
  144. </el-row>
  145. <el-table
  146. v-loading="listLoading"
  147. :data="dataList"
  148. element-loading-text="Loading"
  149. border
  150. fit
  151. highlight-current-row
  152. stripe
  153. >
  154. <el-table-column
  155. fixed
  156. prop="num"
  157. label="序号"
  158. width="50"
  159. align="center"
  160. >
  161. </el-table-column>
  162. <el-table-column prop="name" label="经销商编码" align="center">
  163. </el-table-column>
  164. <el-table-column prop="province" label="经销商名称" align="center">
  165. </el-table-column>
  166. </el-table>
  167. </div>
  168. </div>
  169. </template>
  170. <script>
  171. export default {
  172. name: "examine",
  173. data() {
  174. return {
  175. input: "",
  176. ruleForm: {
  177. name: "",
  178. },
  179. listLoading: false,
  180. rules: {
  181. name: [
  182. { required: true, message: "", trigger: "click" },
  183. { min: 3, max: 5, message: "", trigger: "click" },
  184. ],
  185. },
  186. imageUrl: "",
  187. dataList: [
  188. {
  189. num: "2",
  190. name: "王小虎",
  191. province: "上海",
  192. city: "普陀区",
  193. address: "上海市普陀区金沙江路 1518 弄",
  194. zip: 200333,
  195. },
  196. {
  197. num: "2",
  198. name: "王小虎",
  199. province: "上海",
  200. city: "普陀区",
  201. address: "上海市普陀区金沙江路 1518 弄",
  202. zip: 200333,
  203. },
  204. {
  205. num: "2",
  206. name: "王小虎",
  207. province: "上海",
  208. city: "普陀区",
  209. address: "上海市普陀区金沙江路 1518 弄",
  210. zip: 200333,
  211. },
  212. {
  213. num: "2",
  214. name: "王小虎",
  215. province: "上海",
  216. city: "普陀区",
  217. address: "上海市普陀区金沙江路 1518 弄",
  218. zip: 200333,
  219. },
  220. {
  221. num: "2",
  222. name: "王小虎",
  223. province: "上海",
  224. city: "普陀区",
  225. address: "上海市普陀区金沙江路 1518 弄",
  226. zip: 200333,
  227. },
  228. {
  229. num: "2",
  230. name: "王小虎",
  231. province: "上海",
  232. city: "普陀区",
  233. address: "上海市普陀区金沙江路 1518 弄",
  234. zip: 200333,
  235. },
  236. {
  237. num: "2",
  238. name: "王小虎",
  239. province: "上海",
  240. city: "普陀区",
  241. address: "上海市普陀区金沙江路 1518 弄",
  242. zip: 200333,
  243. },
  244. ],
  245. radio: "",
  246. options: {},
  247. value: "",
  248. };
  249. },
  250. };
  251. </script>
  252. <style lang="scss" scoped>
  253. .descriptions {
  254. // border: #EBEEF5;
  255. border: 1px solid #ebeef5;
  256. border-bottom: none;
  257. .el-row {
  258. height: 40px;
  259. line-height: 40px;
  260. }
  261. .el-col:nth-child(odd) {
  262. background-color: #ebeef5;
  263. }
  264. .el-col {
  265. padding: 0 15px;
  266. height: 100%;
  267. border-bottom: 1px solid #ebeef5;
  268. }
  269. }
  270. .el-divider--horizontal {
  271. margin: 20px 0;
  272. }
  273. </style>