check-item.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <template>
  2. <view class="check-item">
  3. <view class="header-box">
  4. <view class="header-box-l">
  5. <view class="header-box-name">2025年中心仓第三季度食品盘点</view>
  6. <view>盘点单号:2024202244</view>
  7. </view>
  8. <view>
  9. <view class="tips-box tips-red">待盘点</view>
  10. <!-- <view class="tips-box tips-green">已盘点</view>
  11. <view class="tips-box tips-hui">已取消</view>
  12. <view class="tips-box tips-yellow">盘点中</view> -->
  13. </view>
  14. </view>
  15. <view class="cont-box">
  16. <view class="cont-item">
  17. <view class="item-label">盘点仓库</view>
  18. <view class="item-val">中心仓</view>
  19. </view>
  20. <view class="cont-item">
  21. <view class="item-label">创建人</view>
  22. <view class="item-val">刘双美</view>
  23. </view>
  24. <view class="cont-item">
  25. <view class="item-label">盘点负责人</view>
  26. <view class="item-val">刘双美</view>
  27. </view>
  28. <view class="cont-item">
  29. <view class="item-label">货物种类</view>
  30. <view class="item-val">20</view>
  31. </view>
  32. <view class="cont-item">
  33. <view class="item-label">货物总量</view>
  34. <view class="item-val">80件</view>
  35. </view>
  36. <view class="cont-item">
  37. <view class="item-label">库位范围</view>
  38. <view class="item-val">A区-B区</view>
  39. </view>
  40. <view class="cont-item">
  41. <view class="item-label">创建时间</view>
  42. <view class="item-val">2025-04-03</view>
  43. </view>
  44. <view class="cont-item">
  45. <view class="item-label">盘点时间</view>
  46. <view class="item-val">2025-04-03</view>
  47. </view>
  48. <view class="cont-item">
  49. <view class="item-label">盘点人</view>
  50. <view class="item-val">刘双美</view>
  51. </view>
  52. </view>
  53. <view class="btn-box">
  54. <!-- <u-button class="detail-btn" type="primary" text="详情"></u-button> -->
  55. <u-button class="detail-btn" type="primary" text="去提交"></u-button>
  56. <u-button class="detail-btn ss-m-l-24" type="primary" text="去盘点"></u-button>
  57. </view>
  58. </view>
  59. </template>
  60. <script>
  61. export default{
  62. props:{
  63. },
  64. data() {
  65. return {
  66. }
  67. }
  68. }
  69. </script>
  70. <style lang="scss" scoped>
  71. .check-item {
  72. padding: 24rpx 24rpx 0 24rpx;
  73. // border-radius: 16px;
  74. background: #FFF;
  75. border-bottom: 4rpx solid #F0F6FB;
  76. .header-box {
  77. display: flex;
  78. justify-content: space-between;
  79. .header-box-l {
  80. color: #999;
  81. font-size: 28rpx;
  82. font-weight: 400;
  83. .header-box-name {
  84. color: #333;
  85. font-size: 28rpx;
  86. font-weight: 500;
  87. }
  88. }
  89. .tips-box {
  90. width: 120rpx;
  91. height: 44rpx;
  92. font-size: 22rpx;
  93. text-align: center;
  94. line-height: 44rpx;
  95. border-radius: 8rpx;
  96. }
  97. .tips-red {
  98. color: #FF3B1D;
  99. background: rgba(255, 59, 29, 0.20);
  100. }
  101. .tips-green {
  102. color: #00B97B;
  103. background: rgba(0, 185, 123, 0.20);
  104. }
  105. .tips-hui {
  106. color: #BFC8DB;
  107. background: rgba(173, 181, 189, 0.26);
  108. }
  109. .tips-yellow {
  110. color: #F59701;
  111. background: rgba(245, 151, 1, 0.20);
  112. }
  113. }
  114. .cont-box {
  115. border-radius: 16rpx;
  116. background: #F6F8FA;
  117. margin-top: 16rpx;
  118. padding: 24rpx;
  119. display: grid;
  120. grid-template-columns: 33.3% 33.3% 33.3%;
  121. .cont-item {
  122. margin-bottom: 20rpx;
  123. .item-label {
  124. color: #999;
  125. font-size: 24rpx;
  126. font-weight: 400;
  127. margin-bottom: 6rpx;
  128. }
  129. .item-val {
  130. color: #000;
  131. font-size: 28rpx;
  132. font-weight: 400;
  133. }
  134. }
  135. }
  136. .btn-box {
  137. display: flex;
  138. align-items: center;
  139. justify-content: flex-end;
  140. padding: 16rpx 0 24rpx;
  141. .detail-btn {
  142. width: 144rpx;
  143. height: 56rpx;
  144. border-radius: 28rpx;
  145. background: #0256FF;
  146. font-size: 32rpx;
  147. border-radius: 8rpx;
  148. }
  149. }
  150. }
  151. </style>