nodeduct_list.vue 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <template>
  2. <div class="app-container">
  3. <div v-if="showExamine">
  4. <!-- 筛选条件 -->
  5. <div>
  6. <Collapse :is-collapse="isCollapse" :screen-form="searchForm">
  7. <template #right_btn>
  8. <el-button size="mini">清空</el-button>
  9. <el-button size="mini" type="primary">搜索</el-button>
  10. </template>
  11. <template #left_btn>
  12. <el-radio-group v-model="examine" size="mini">
  13. <el-radio-button label="全部"></el-radio-button>
  14. <el-radio-button label="待审核"></el-radio-button>
  15. <el-radio-button label="审核驳回"></el-radio-button>
  16. <el-radio-button label="审核通过"></el-radio-button>
  17. </el-radio-group>
  18. </template>
  19. <template #search>
  20. <el-form ref="searchForm" :model="searchForm" label-width="100px" size="mini" label-position="left">
  21. <el-row :gutter="20">
  22. <el-col :xs="24" :sm="12" :lg="6">
  23. <el-form-item label="工程订单编号" prop="">
  24. <el-input placeholder="请输入"></el-input>
  25. </el-form-item>
  26. </el-col>
  27. <el-col :xs="24" :sm="12" :lg="6">
  28. <el-form-item label="经销商编码" prop="">
  29. <el-input placeholder="请输入"></el-input>
  30. </el-form-item>
  31. </el-col>
  32. <el-col :xs="24" :sm="12" :lg="6">
  33. <el-form-item label="经销商名称" prop="">
  34. <el-input placeholder="请输入"></el-input>
  35. </el-form-item>
  36. </el-col>
  37. <el-col :xs="24" :sm="12" :lg="6">
  38. <el-form-item label="工程名称" prop="">
  39. <el-input placeholder="请输入"></el-input>
  40. </el-form-item>
  41. </el-col>
  42. <el-col :xs="24" :sm="12" :lg="6">
  43. <el-form-item label="发货申请日期" prop="">
  44. <el-date-picker class="dateStyle" type="date" placeholder="选择日期"> </el-date-picker>
  45. </el-form-item>
  46. </el-col>
  47. <el-col :xs="24" :sm="12" :lg="6">
  48. <el-form-item label="产品名称" prop="">
  49. <el-input placeholder="请输入"></el-input>
  50. </el-form-item>
  51. </el-col>
  52. <el-col :xs="24" :sm="12" :lg="6">
  53. <el-form-item label="规格型号" prop="">
  54. <el-input placeholder="请输入"></el-input>
  55. </el-form-item>
  56. </el-col>
  57. </el-row>
  58. </el-form>
  59. </template>
  60. </Collapse>
  61. </div>
  62. <!-- 按钮 -->
  63. <div class="btn-group clearfix">
  64. <div class="fl">
  65. <el-button type="primary" size="small" @click="examineFn">审批</el-button>
  66. <el-button type="primary" size="small">编辑</el-button>
  67. <el-button type="primary" size="small">详情</el-button>
  68. </div>
  69. <div class="fr">
  70. <el-button type="primary" size="small">导出</el-button>
  71. </div>
  72. </div>
  73. <!-- 列表 -->
  74. <div class="mymain-container">
  75. <div class="table">
  76. <el-table
  77. v-loading="listLoading"
  78. :data="dataList"
  79. element-loading-text="Loading"
  80. border
  81. fit
  82. highlight-current-row
  83. stripe
  84. >
  85. <el-table-column
  86. align="center"
  87. label="工程登录编码"
  88. prop=""
  89. min-width="160"
  90. show-overflow-tooltip
  91. ></el-table-column>
  92. <el-table-column
  93. align="center"
  94. label="工程名称"
  95. prop=""
  96. min-width="160"
  97. show-overflow-tooltip
  98. ></el-table-column>
  99. <el-table-column
  100. align="center"
  101. label="经销商编码"
  102. prop=""
  103. min-width="160"
  104. show-overflow-tooltip
  105. ></el-table-column>
  106. <el-table-column
  107. align="center"
  108. label="经销商名称"
  109. prop=""
  110. min-width="160"
  111. show-overflow-tooltip
  112. ></el-table-column>
  113. <el-table-column
  114. align="center"
  115. label="是否免扣"
  116. prop=""
  117. min-width="160"
  118. show-overflow-tooltip
  119. ></el-table-column>
  120. <el-table-column
  121. align="center"
  122. label="押金比例"
  123. prop=""
  124. min-width="160"
  125. show-overflow-tooltip
  126. ></el-table-column>
  127. <el-table-column
  128. align="center"
  129. label="押金金额"
  130. prop=""
  131. min-width="160"
  132. show-overflow-tooltip
  133. ></el-table-column>
  134. <el-table-column
  135. align="center"
  136. label="状态"
  137. prop=""
  138. min-width="160"
  139. show-overflow-tooltip
  140. ></el-table-column>
  141. <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
  142. <template slot-scope="">
  143. <el-button type="text" class="textColor" slot="reference">审批</el-button>
  144. <el-button type="text" class="textColor" slot="reference">编辑</el-button>
  145. <el-button type="text" class="textColor" slot="reference">详情</el-button>
  146. </template>
  147. </el-table-column>
  148. </el-table>
  149. </div>
  150. <!-- 分页 -->
  151. <div class="fr">
  152. <el-pagination
  153. :current-page="currentPage"
  154. :page-sizes="[10, 20, 30, 50]"
  155. :page-size="10"
  156. layout="total, sizes, prev, pager, next, jumper"
  157. :total="listTotal"
  158. >
  159. </el-pagination>
  160. </div>
  161. </div>
  162. </div>
  163. <NodeductListDetail v-else />
  164. </div>
  165. </template>
  166. <script>
  167. import NodeductListDetail from './components/nodeduct_list-detail'
  168. export default {
  169. components: {
  170. NodeductListDetail
  171. },
  172. data() {
  173. return {
  174. currentPage: 1, // 当前页码
  175. pageSize: 10, // 每页数量
  176. listTotal: 0, // 列表总数
  177. dataList: [], // 列表数据
  178. searchForm: {}, //搜索表单
  179. listLoading: false, // 列表加载loading
  180. examine: '全部',
  181. isCollapse: true,
  182. showExamine: true
  183. }
  184. },
  185. methods: {
  186. examineFn() {
  187. this.showExamine = false
  188. }
  189. }
  190. }
  191. </script>
  192. <style lang="scss" scoped>
  193. .dateStyle {
  194. width: 100%;
  195. }
  196. </style>