warehousing.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <!-- 入库单 -->
  2. <template>
  3. <view class="container-wrap">
  4. <uni-nav-bar title="到货入库" :status-bar="true" background-color="#3F92F9" color="#FFF">
  5. <view slot="left">
  6. <u-icon name="account-fill" color="#FFF" size="35"></u-icon>
  7. <span style="padding: 0 5rpx;color: #FFFFFF;">{{ userInfo.name }}</span>
  8. </view>
  9. <view slot="right" @tap="$utils.back()">
  10. <span style="color: #FFFFFF;">返回</span>
  11. </view>
  12. </uni-nav-bar>
  13. <view class="container">
  14. <scroll-view
  15. scroll-y="true"
  16. style="height: calc(100vh - 150rpx);"
  17. @scrolltolower="loadMore"
  18. @refresherrefresh="onRefresh"
  19. refresher-background="transparent"
  20. :refresher-triggered="triggered"
  21. :refresher-enabled="true" >
  22. <view class="list">
  23. <view class="item" v-for="(item, index) in 10" :key="index" @tap="$utils.open(`/pages/warehousing/warehousing-details?data=${$utils.object2Code(item)}`)">
  24. <view class="title">入库单号:SI-202107051338562167</view>
  25. <view class="row flex-between">
  26. <view class="col flex-start">
  27. <view class="label">物料编号:</view>
  28. <view class="value">01.001.0002</view>
  29. </view>
  30. </view>
  31. <view class="row flex-between">
  32. <view class="col flex-start">
  33. <view class="label">物料名称:</view>
  34. <view class="value">直喷110g针织-130cm</view>
  35. </view>
  36. </view>
  37. <view class="row flex-between">
  38. <view class="col flex-start">
  39. <view class="label">采购数量:</view>
  40. <view class="value">1000米</view>
  41. </view>
  42. <view class="col flex-end" style="text-align: right;">
  43. <view class="label">未入库:</view>
  44. <view class="value">200米</view>
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. <u-loadmore :status="loadStatus" @loadmore="loadMore" />
  50. </scroll-view>
  51. </view>
  52. <view class="footer">
  53. <my-fixed-button></my-fixed-button>
  54. </view>
  55. </view>
  56. </template>
  57. <script>
  58. export default {
  59. data() {
  60. return {
  61. };
  62. },
  63. methods: {
  64. getPageList() {
  65. console.log(123)
  66. }
  67. }
  68. }
  69. </script>
  70. <style lang="scss">
  71. .container-wrap {
  72. overflow: hidden;
  73. .container {
  74. padding-bottom: 100rpx;
  75. .list {
  76. padding: 10rpx 20rpx;
  77. .item {
  78. padding: 20rpx;
  79. margin-bottom: 10rpx;
  80. width: 100%;
  81. border: 1px solid #D7D7D7;
  82. border-radius: 5rpx;
  83. background-color: #FFFFFF;
  84. .title {
  85. padding-bottom: 5rpx;
  86. font-size: 32rpx;
  87. }
  88. .row {
  89. padding-bottom: 5rpx;
  90. color: #797979;
  91. &:last-child {
  92. padding-bottom: 0;
  93. }
  94. .col {
  95. flex: 1;
  96. .label {
  97. width: 120rpx;
  98. }
  99. }
  100. }
  101. }
  102. }
  103. }
  104. }
  105. </style>