warehousing-details.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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. <view class="info">
  15. <view class="row flex-start">
  16. <view class="label">采购单号:</view>
  17. <view class="value">PO-210705133755-2</view>
  18. </view>
  19. <view class="row flex-start">
  20. <view class="label">入库单号:</view>
  21. <view class="value">SI-202107051338562167</view>
  22. </view>
  23. <view class="row flex-start">
  24. <view class="label">物料编码:</view>
  25. <view class="value">01.001.0002</view>
  26. </view>
  27. <view class="row flex-start">
  28. <view class="label">物料名称:</view>
  29. <view class="value">直喷110g针织-130cm</view>
  30. </view>
  31. <view class="row flex-start">
  32. <view class="label">申购数量:</view>
  33. <view class="value">1000 米</view>
  34. </view>
  35. <view class="row flex-start">
  36. <view class="label">待入库数量:</view>
  37. <view class="value">200 米</view>
  38. </view>
  39. <view class="row flex-start">
  40. <view class="label">仓库名称:</view>
  41. <view class="value">面料仓</view>
  42. </view>
  43. <view class="row flex-start">
  44. <view class="label">入库区域:</view>
  45. <view class="value">2#</view>
  46. </view>
  47. <view class="row flex-start">
  48. <view class="label">供应商:</view>
  49. <view class="value">某某某有限公司</view>
  50. </view>
  51. </view>
  52. <view class="title">
  53. 入库记录
  54. </view>
  55. <view class="subtitle">
  56. 已入库:800 米
  57. </view>
  58. <view class="history-list">
  59. <view class="item" v-for="(item, index) in 6" :key="index">
  60. <view class="row-title">
  61. 入库数量:100 米
  62. </view>
  63. <view class="row flex-between">
  64. <view class="col">操作员:张三</view>
  65. <view class="col">2021-07-10 15:00:00</view>
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. <view class="footer">
  71. <my-fixed-button :customClick="true" text="绑定标签" @click="bind"></my-fixed-button>
  72. </view>
  73. </view>
  74. </template>
  75. <script>
  76. export default {
  77. data() {
  78. return {
  79. data: {}
  80. };
  81. },
  82. methods: {
  83. getPageList() {
  84. console.log(123)
  85. },
  86. bind() {
  87. this.$utils.open(`/pages/warehousing/warehousing-bind?data=${this.$utils.object2Code(this.data)}`)
  88. }
  89. },
  90. onLoad(option) {
  91. this.data = this.$utils.code2Object(option.data)
  92. console.log(this.data)
  93. }
  94. }
  95. </script>
  96. <style lang="scss">
  97. .container-wrap {
  98. overflow: hidden;
  99. .container {
  100. height: calc(100vh - 150rpx);
  101. overflow: auto;
  102. padding: 20rpx;
  103. padding-bottom: 100rpx;
  104. .info {
  105. padding: 20rpx 40rpx;
  106. width: 100%;
  107. .row {
  108. padding-bottom: 10rpx;
  109. &:last-child {
  110. padding-bottom: 0;
  111. }
  112. .label, .value {
  113. font-size: 32rpx;
  114. }
  115. }
  116. }
  117. .title {
  118. padding-top: 30rpx;
  119. font-size: 36rpx;
  120. font-weight: bold;
  121. text-align: center;
  122. }
  123. .subtitle {
  124. padding-bottom: 10rpx;
  125. text-align: center;
  126. }
  127. .history-list {
  128. padding: 20rpx 40rpx;
  129. background-color: #FFFFFF;
  130. .item {
  131. padding: 20rpx 0;
  132. border-bottom: 1px solid #666666;
  133. &:last-child {
  134. border-bottom: none;
  135. }
  136. .row-title {
  137. padding-bottom: 10rpx;
  138. font-size: 32rpx;
  139. color: #333333;
  140. }
  141. .row {
  142. .col {
  143. color: #7F7F7F;
  144. }
  145. }
  146. }
  147. }
  148. }
  149. }
  150. </style>