account_list.vue 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. <template>
  2. <div class="app-container">
  3. <div v-if="showReconciliation">
  4. <!-- 筛选条件 -->
  5. <div>
  6. <el-form
  7. ref="searchForm"
  8. :model="searchForm"
  9. label-width="100px"
  10. size="small"
  11. label-position="left"
  12. >
  13. <el-row :gutter="20">
  14. <el-col :xs="24" :sm="12" :lg="6">
  15. <el-form-item label="钱包" prop="">
  16. <el-select class="selectStyle" placeholder="请选择">
  17. <el-option> </el-option>
  18. </el-select>
  19. </el-form-item>
  20. </el-col>
  21. <el-col :xs="24" :sm="12" :lg="6">
  22. <el-form-item label="单据号" prop="">
  23. <el-input placeholder="请输入"></el-input>
  24. </el-form-item>
  25. </el-col>
  26. <el-col :xs="24" :sm="12" :lg="12">
  27. <el-form-item label="日期时间" prop="">
  28. <el-date-picker
  29. type="datetimerange"
  30. range-separator="至"
  31. start-placeholder="开始日期"
  32. end-placeholder="结束日期"
  33. >
  34. </el-date-picker>
  35. </el-form-item>
  36. </el-col>
  37. <el-col :xs="24" :sm="24" :lg="24">
  38. <el-form-item label="" class="fr">
  39. <el-button size="small">清空</el-button>
  40. <el-button size="small" type="primary">搜索</el-button>
  41. </el-form-item>
  42. </el-col>
  43. </el-row>
  44. </el-form>
  45. </div>
  46. <!-- 按钮 -->
  47. <div class="btn-group clearfix">
  48. <div class="fl">
  49. <el-button type="primary" size="small" @click="reconciliationFn"
  50. >一键对账</el-button
  51. >
  52. </div>
  53. </div>
  54. <!-- 列表 -->
  55. <div class="mymain-container">
  56. <div class="table">
  57. <el-table
  58. v-loading="listLoading"
  59. :data="dataList"
  60. element-loading-text="Loading"
  61. border
  62. fit
  63. highlight-current-row
  64. stripe
  65. >
  66. <el-table-column
  67. align="center"
  68. label="序号"
  69. prop=""
  70. min-width="160"
  71. show-overflow-tooltip
  72. ></el-table-column>
  73. <el-table-column
  74. align="center"
  75. label="月份"
  76. prop=""
  77. min-width="160"
  78. show-overflow-tooltip
  79. ></el-table-column>
  80. <el-table-column
  81. align="center"
  82. label="对账状态"
  83. prop=""
  84. min-width="160"
  85. show-overflow-tooltip
  86. ></el-table-column>
  87. <el-table-column
  88. align="center"
  89. label="客户编码"
  90. prop=""
  91. min-width="160"
  92. show-overflow-tooltip
  93. ></el-table-column>
  94. <el-table-column
  95. align="center"
  96. label="客户名称"
  97. prop=""
  98. min-width="160"
  99. show-overflow-tooltip
  100. ></el-table-column>
  101. <el-table-column
  102. align="center"
  103. label="部门"
  104. prop=""
  105. min-width="160"
  106. show-overflow-tooltip
  107. ></el-table-column>
  108. <el-table-column
  109. align="center"
  110. label="现金钱包类型"
  111. prop=""
  112. min-width="160"
  113. show-overflow-tooltip
  114. ></el-table-column>
  115. <el-table-column
  116. align="center"
  117. label="单据类型"
  118. prop=""
  119. min-width="160"
  120. show-overflow-tooltip
  121. ></el-table-column>
  122. <el-table-column
  123. align="center"
  124. label="单据号"
  125. prop=""
  126. min-width="160"
  127. show-overflow-tooltip
  128. ></el-table-column>
  129. <el-table-column
  130. align="center"
  131. label="单据日期"
  132. prop=""
  133. min-width="160"
  134. show-overflow-tooltip
  135. ></el-table-column>
  136. <el-table-column
  137. align="center"
  138. label="收付款金额"
  139. prop=""
  140. min-width="160"
  141. show-overflow-tooltip
  142. ></el-table-column>
  143. <el-table-column
  144. align="center"
  145. label="发货金额"
  146. prop=""
  147. min-width="160"
  148. show-overflow-tooltip
  149. ></el-table-column>
  150. <el-table-column
  151. align="center"
  152. label="备注"
  153. prop=""
  154. min-width="160"
  155. show-overflow-tooltip
  156. ></el-table-column>
  157. </el-table>
  158. </div>
  159. <!-- 分页 -->
  160. <div class="fr">
  161. <el-pagination
  162. :current-page="currentPage"
  163. :page-sizes="[10, 20, 30, 50]"
  164. :page-size="10"
  165. layout="total, sizes, prev, pager, next, jumper"
  166. :total="listTotal"
  167. >
  168. </el-pagination>
  169. </div>
  170. </div>
  171. </div>
  172. <AccountListDetail v-else />
  173. </div>
  174. </template>
  175. <script>
  176. import AccountListDetail from "./components/account_list-detail";
  177. export default {
  178. components: {
  179. AccountListDetail,
  180. },
  181. data() {
  182. return {
  183. currentPage: 1, // 当前页码
  184. pageSize: 10, // 每页数量
  185. listTotal: 0, // 列表总数
  186. dataList: [], // 列表数据
  187. searchForm: {}, //搜索表单
  188. listLoading: false, // 列表加载loading
  189. showReconciliation: true,
  190. };
  191. },
  192. methods: {
  193. //一键对账
  194. reconciliationFn() {
  195. this.showReconciliation = false;
  196. },
  197. seeFN() {
  198. this.showDetail = false;
  199. },
  200. },
  201. };
  202. </script>
  203. <style lang="scss" scoped>
  204. .selectStyle {
  205. width: 100%;
  206. }
  207. </style>