Addgaps.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. <template>
  2. <view class="content">
  3. <view class="top"></view>
  4. <view class="title">
  5. <view class="title-item flex">
  6. <view class="title-font">
  7. 提交人:
  8. </view>
  9. <view class="title-font">
  10. 全包员工
  11. </view>
  12. </view>
  13. <view class="xian">
  14. </view>
  15. <view class="title-item flex">
  16. <view class="title-font">
  17. 当前检验阶段:
  18. </view>
  19. <view class="title-font">
  20. 下料
  21. </view>
  22. </view>
  23. </view>
  24. <view class="main " v-for="(item,index) in list">
  25. <view class="main-top">
  26. <image class="main-icon" src="../../static/icon/order.png" mode=""></image>
  27. <view class="main-font">
  28. {{item.name}}
  29. </view>
  30. </view>
  31. <view class="main-bottom flex">
  32. <view class="num">
  33. 总数量:
  34. </view>
  35. <view class="main-input red">
  36. 363
  37. </view>
  38. </view>
  39. <view class="xian"></view>
  40. <view class="main-bottom flex">
  41. <view class="num">
  42. 缺漏数量:
  43. </view>
  44. <view class="main-input">
  45. <input type="number" v-model="item.number" placeholder="请填写缺漏数量">
  46. </view>
  47. </view>
  48. </view>
  49. <view class="btn">
  50. 确认领取
  51. </view>
  52. <view class="" style="height: 80rpx;"></view>
  53. </view>
  54. </template>
  55. <script>
  56. export default {
  57. data() {
  58. return {
  59. list: [{
  60. name: '规格1(黄色,37码)',
  61. number: '',
  62. }, {
  63. name: '规格2(黄色,37码)',
  64. number: '',
  65. }, {
  66. name: '规格3(黄色,37码)',
  67. number: '',
  68. }, {
  69. name: '规格4(黄色,37码)',
  70. number: '',
  71. }, {
  72. name: '规格5(黄色,37码)',
  73. number: '',
  74. }, {
  75. name: '规格6(黄色,37码)',
  76. number: '',
  77. }, {
  78. name: '规格7(黄色,37码)',
  79. number: '',
  80. }, {
  81. name: '规格8(黄色,37码)',
  82. number: '',
  83. }],
  84. type: 0,
  85. };
  86. },
  87. onLoad(opt) {
  88. this.type = opt.type
  89. },
  90. onShow() {},
  91. onReachBottom() {},
  92. onReady() {},
  93. methods: {}
  94. };
  95. </script>
  96. <style lang="scss">
  97. page,
  98. .content {
  99. min-height: 100%;
  100. height: auto;
  101. background: #ffffff;
  102. }
  103. .top {
  104. width: 100%;
  105. height: 20rpx;
  106. background: #f8f8f8;
  107. }
  108. .xian {
  109. width: 100%;
  110. height: 2rpx;
  111. background: #EAECED;
  112. }
  113. .title {
  114. width: 700rpx;
  115. background: #FFFFFF;
  116. border: 2px solid #EAECED;
  117. box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(50, 50, 52, 0.06);
  118. border-radius: 20rpx;
  119. margin: 20rpx auto 0;
  120. padding: 0 24rpx;
  121. .title-item {
  122. padding: 24rpx 6rpx;
  123. .title-font {
  124. font-size: 32rpx;
  125. font-family: PingFang SC;
  126. font-weight: bold;
  127. color: #323333;
  128. }
  129. }
  130. }
  131. .main {
  132. margin: 20rpx auto 0;
  133. padding: 0 20rpx;
  134. width: 700rpx;
  135. background: #FFFFFF;
  136. border: 2px solid #EAECED;
  137. box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(50, 50, 52, 0.06);
  138. border-radius: 20rpx;
  139. .main-top {
  140. display: flex;
  141. align-items: center;
  142. padding: 16rpx 0;
  143. border-bottom: 1px solid #EAECED;
  144. .main-icon {
  145. width: 32rpx;
  146. height: 37rpx;
  147. }
  148. .main-font {
  149. margin-left: 10rpx;
  150. font-size: 30rpx;
  151. font-family: PingFang SC;
  152. font-weight: bold;
  153. color: #333333;
  154. }
  155. }
  156. .main-bottom {
  157. padding: 20rpx 0;
  158. .num {
  159. font-size: 28rpx;
  160. font-family: PingFang SC;
  161. font-weight: 500;
  162. color: #666666;
  163. }
  164. .main-input {
  165. text-align: right;
  166. font-size: 28rpx;
  167. font-family: PingFang SC;
  168. font-weight: 500;
  169. color: #999999;
  170. }
  171. .red {
  172. color: #FF4C4C;
  173. }
  174. }
  175. }
  176. .btn {
  177. text-align: center;
  178. margin: 100rpx auto 0;
  179. width: 622rpx;
  180. height: 85rpx;
  181. background: #069CFA;
  182. border-radius: 15rpx;
  183. line-height: 85rpx;
  184. font-size: 32rpx;
  185. font-family: PingFang SC;
  186. font-weight: bold;
  187. color: #FFFFFF;
  188. }
  189. </style>