outbound.vue 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. <template>
  2. <view class="picking-wrap">
  3. <view class="ground-title-picking">
  4. <csr-tab :value.sync="index" :tabList="tabList" style="{position: 'relative';z-index: 51;}"></csr-tab>
  5. <view class="ground-icon"></view>
  6. <ren-dropdown-filter :filterData='filterData' :defaultIndex='defaultIndex' @ed='ed'
  7. :stylesData="{padding:'0 0 0 580rpx'}"></ren-dropdown-filter>
  8. </view>
  9. <uni-easyinput prefixIcon="search" v-model="value" placeholder="请输入或扫描入库单号" @iconClick="iconClick"
  10. :focus="true">
  11. </uni-easyinput>
  12. <z-paging ref="paging" @query="queryList" v-model="dataList" :use-page-scroll="true">
  13. <view class="inner-item" v-for="(item,index) in dataList" :key="index">
  14. <view class="inventory-item">
  15. <view class="shuo-item">
  16. {{item.name}}
  17. </view>
  18. </view>
  19. <view class="inventory-item">
  20. <view class="shuo-item">
  21. <view class="shuo-label">
  22. 规格:
  23. </view>
  24. <view class="shuo-cont">
  25. {{item.guige}}
  26. </view>
  27. </view>
  28. <view class="shuo-item">
  29. <view class="shuo-label">
  30. 型号:
  31. </view>
  32. <view class="shuo-cont">
  33. {{item.xinghao}}
  34. </view>
  35. </view>
  36. </view>
  37. <view class="inventory-item">
  38. <view class="shuo-item">
  39. <view class="shuo-label">
  40. 生产厂家:
  41. </view>
  42. <view class="shuo-cont">
  43. {{item.shengchancj}}
  44. </view>
  45. </view>
  46. </view>
  47. <view class="inventory-item">
  48. <view class="shuo-item">
  49. <view class="shuo-label">
  50. 商品货位:
  51. </view>
  52. <view class="shuo-cont">
  53. {{item.huowei}}
  54. </view>
  55. </view>
  56. </view>
  57. <view class="inventory-item">
  58. <view class="shuo-item">
  59. <view class="shuo-label">
  60. 库存数量:
  61. </view>
  62. <view class="shuo-cont">
  63. {{item.kucunshul}}
  64. </view>
  65. </view>
  66. <view class="shuo-item">
  67. <view class="shuo-label">
  68. 盘点数量:
  69. </view>
  70. <view class="shuo-cont">
  71. <uni-number-box @change="changeValue" />
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. </z-paging>
  77. <view class="foter-btn">
  78. <button type="primary" size="mini">结束盘点</button>
  79. </view>
  80. </view>
  81. </template>
  82. <script>
  83. import {
  84. listData
  85. } from './list.js';
  86. import ZPMixin from '@/uni_modules/z-paging/components/z-paging/js/z-paging-mixin.js'
  87. export default {
  88. mixins: [ZPMixin],
  89. data() {
  90. return {
  91. index: 0,
  92. tabList: ['待盘点', '已盘点'],
  93. value: "",
  94. dataList: [],
  95. listData: listData,
  96. filterData: [
  97. [{
  98. text: '货架1',
  99. value: 0
  100. }, {
  101. text: '货架2',
  102. value: 1
  103. }]
  104. ],
  105. defaultIndex: [0],
  106. }
  107. },
  108. methods: {
  109. queryList(pageNo, pageSize) {
  110. this.$refs.paging.complete(this.listData);
  111. },
  112. //跳转上架详情
  113. itemDetails(item) {
  114. uni.navigateTo({
  115. url: '/pages/pickingetials/pickingetials',
  116. success: function(res) {}
  117. });
  118. }
  119. }
  120. }
  121. </script>
  122. <style lang="scss" scoped>
  123. .picking-wrap {
  124. width: 100%;
  125. height: 100%;
  126. padding: 20rpx;
  127. box-sizing: border-box;
  128. background-color: #F1F1F1;
  129. .ground-title-picking {
  130. width: 100%;
  131. height: 100rpx;
  132. border-bottom: 2rpx solid #ccc;
  133. display: flex;
  134. align-items: center;
  135. padding: 20rpx;
  136. box-sizing: border-box;
  137. position: relative;
  138. margin-bottom: 10rpx;
  139. }
  140. .inner-item {
  141. width: 100%;
  142. height: 360rpx;
  143. border-bottom: 2rpx solid #BDBDBD;
  144. padding: 20rpx 20rpx 20rpx 50rpx;
  145. box-sizing: border-box;
  146. position: relative;
  147. background-color: #fff;
  148. border-radius: 20rpx;
  149. position: relative;
  150. margin-top: 10rpx;
  151. .all-text {
  152. width: 150rpx;
  153. height: 40rpx;
  154. position: absolute;
  155. right: 20rpx;
  156. top: 30rpx;
  157. font-family: PingFangSC-regular;
  158. font-size: 28rpx;
  159. color: rgba(52, 124, 175, 0.6);
  160. }
  161. .inventory-item {
  162. width: 100%;
  163. height: 40rpx;
  164. color: rgba(16, 16, 16, 1);
  165. font-size: 28rpx;
  166. text-align: left;
  167. font-family: PingFangSC-semiBold;
  168. margin-top: 10rpx;
  169. display: flex;
  170. align-items: center;
  171. .shuo-label {
  172. color: rgba(16, 16, 16, 1);
  173. font-size: 28rpx;
  174. text-align: left;
  175. font-family: PingFangSC-regular;
  176. }
  177. .shuo-cont {
  178. color: rgba(16, 16, 16, 1);
  179. font-size: 28rpx;
  180. text-align: left;
  181. font-family: PingFangSC-regular;
  182. margin-left: 30rpx;
  183. .uni-numbox{
  184. width:170rpx;
  185. }
  186. }
  187. .shuo-item {
  188. width: 50%;
  189. height: 100%;
  190. line-height: 20rpx;
  191. display: flex;
  192. align-items: center;
  193. .shuo-label {
  194. color: rgba(16, 16, 16, 1);
  195. font-size: 28rpx;
  196. text-align: left;
  197. font-family: PingFangSC-regular;
  198. }
  199. .shuo-cont {
  200. color: rgba(16, 16, 16, 1);
  201. font-size: 28rpx;
  202. text-align: left;
  203. font-family: PingFangSC-regular;
  204. margin-left: 30rpx;
  205. }
  206. .shuo-await {
  207. color: rgba(255, 191, 107, 1);
  208. font-size: 28rpx;
  209. text-align: left;
  210. font-family: PingFangSC-regular;
  211. margin-left: 20rpx;
  212. }
  213. .shuo-ready {
  214. color: rgba(162, 239, 77, 1);
  215. font-size: 28rpx;
  216. text-align: left;
  217. font-family: PingFangSC-regular;
  218. margin-left: 20rpx;
  219. }
  220. }
  221. .shuo-one-cont {
  222. width: 60%;
  223. }
  224. .shuo-min {
  225. width: 33%;
  226. }
  227. .max-item {
  228. width: 68%;
  229. margin-left: 10rpx;
  230. .shuo-cont {
  231. font-size: 25rpx;
  232. }
  233. }
  234. }
  235. }
  236. .foter-btn{
  237. width:100%;
  238. height:120rpx;
  239. display: flex;
  240. align-items: center;
  241. justify-content: center;
  242. background-color: #fff;
  243. border-radius: 10rpx;
  244. }
  245. }
  246. </style>