result.vue 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. <template>
  2. <view class="groundtials-wrap">
  3. <view class="inner-item" v-for="(item,index) in datas" :key="index">
  4. <view class="inventory-item">
  5. <view class="shuo-item shuo-item-one">
  6. <view class="shuo-label">
  7. 盘点单号:
  8. </view>
  9. <view class="shuo-cont">
  10. {{item.code}}
  11. </view>
  12. </view>
  13. </view>
  14. <view class="inventory-item">
  15. <view class="shuo-item shuo-item-one">
  16. <view class="shuo-label">
  17. 任务名称:
  18. </view>
  19. <view class="shuo-cont">
  20. {{item.hispName}}
  21. </view>
  22. </view>
  23. </view>
  24. <view class="inventory-item">
  25. <view class="shuo-item shuo-item-one">
  26. <view class="shuo-label">
  27. 目标仓库:
  28. </view>
  29. <view class="shuo-cont">
  30. {{item.mubiao}}
  31. </view>
  32. </view>
  33. </view>
  34. <view class="inventory-item">
  35. <view class="shuo-item shuo-item-one">
  36. <view class="shuo-label">
  37. 盘点品种:
  38. </view>
  39. <view class="shuo-cont">
  40. {{item.snub}}
  41. </view>
  42. </view>
  43. </view>
  44. <view class="inventory-item">
  45. <view class="shuo-item">
  46. <view class="shuo-label">
  47. 应盘总数:
  48. </view>
  49. <view class="shuo-await">
  50. {{item.yingp}}
  51. </view>
  52. </view>
  53. <view class="shuo-item">
  54. <view class="shuo-label">
  55. 实盘总数:
  56. </view>
  57. <view class="shuo-ready">
  58. {{item.ship}}
  59. </view>
  60. </view>
  61. </view>
  62. <view class="inventory-item">
  63. <view class="shuo-item shuo-item-one">
  64. <view class="shuo-label">
  65. 盘点金额:
  66. </view>
  67. <view class="shuo-cont">
  68. {{item.panjin}}
  69. </view>
  70. </view>
  71. </view>
  72. <view class="inventory-item">
  73. <view class="shuo-item shuo-item-one">
  74. <view class="shuo-label">
  75. 盘点时间:
  76. </view>
  77. <view class="shuo-cont">
  78. {{item.daohuoTime}}
  79. </view>
  80. </view>
  81. </view>
  82. <view class="all-text">已盘点</view>
  83. </view>
  84. <view class="inventory-wrap">
  85. <view class="inner-item" v-for="(item,index) in listDatacont" :key="index">
  86. <view class="inventory-item">
  87. {{item.name}}
  88. </view>
  89. <view class="inventory-item">
  90. <view class="shuo-item">
  91. <view class="shuo-label">
  92. 规格:
  93. </view>
  94. <view class="shuo-cont">
  95. {{item.guige}}
  96. </view>
  97. </view>
  98. <view class="shuo-item">
  99. <view class="shuo-label">
  100. 型号:
  101. </view>
  102. <view class="shuo-cont">
  103. {{item.xinghao}}
  104. </view>
  105. </view>
  106. </view>
  107. <view class="inventory-item">
  108. <view class="shuo-item">
  109. <view class="shuo-label">
  110. 应在库:
  111. </view>
  112. <view class="shuo-await">
  113. {{item.yansliang}}
  114. </view>
  115. </view>
  116. <view class="shuo-item">
  117. <view class="shuo-label">
  118. 实在库:
  119. </view>
  120. <view class="shuo-ready">
  121. {{item.yishangj}}
  122. </view>
  123. </view>
  124. </view>
  125. <view class="inventory-item">
  126. <view class="shuo-label">
  127. 盘盈:
  128. </view>
  129. <view class="shuo-cont">
  130. {{item.panying}}
  131. </view>
  132. </view>
  133. <view class="inventory-item">
  134. <view class="shuo-label">
  135. 生产厂家:
  136. </view>
  137. <view class="shuo-cont">
  138. {{item.hispName}}
  139. </view>
  140. </view>
  141. <view class="inventory-item">
  142. <view class="shuo-label">
  143. 上架货位:
  144. </view>
  145. <view class="shuo-cont">
  146. {{item.shangjhuwe}}
  147. </view>
  148. </view>
  149. </view>
  150. </view>
  151. </view>
  152. </template>
  153. <script>
  154. export default {
  155. data() {
  156. return {
  157. datas: [{
  158. code: "KMT20231126",
  159. hispName: "中心库2023年11悦盘点",
  160. mubiao: "中心仓库",
  161. snub: 200,
  162. yingp: 20213,
  163. ship: 20214,
  164. panjin: 13323.13,
  165. daohuoTime: "2023-11-26 14:05:08"
  166. }],
  167. listDatacont: []
  168. }
  169. },
  170. onLoad() {
  171. },
  172. mounted() {
  173. this.listDatacont = listData;
  174. },
  175. methods: {
  176. queryList(pageNo, pageSize) {
  177. this.$refs.paging.complete(this.data);
  178. },
  179. }
  180. }
  181. </script>
  182. <style lang="scss">
  183. .groundtials-wrap {
  184. width: 100%;
  185. height: 100%;
  186. padding: 20rpx;
  187. box-sizing: border-box;
  188. background-color: #F1F1F1;
  189. .inventory-wrap {
  190. width: 100%;
  191. border: 2rpx solid #BDBDBD;
  192. margin-top: 20rpx;
  193. border-radius: 20rpx;
  194. }
  195. .inner-item {
  196. width: 100%;
  197. height: 400rpx;
  198. border-bottom: 2rpx solid #BDBDBD;
  199. padding: 20rpx 20rpx 20rpx 50rpx;
  200. box-sizing: border-box;
  201. position: relative;
  202. background-color: #fff;
  203. border-radius: 20rpx;
  204. position: relative;
  205. .all-text {
  206. width: 150rpx;
  207. height: 40rpx;
  208. position: absolute;
  209. right: 10rpx;
  210. top: 25rpx;
  211. font-family: PingFangSC-regular;
  212. font-size: 28rpx;
  213. color: rgba(52, 124, 175, 0.6);
  214. }
  215. .inventory-item {
  216. width: 100%;
  217. height: 40rpx;
  218. color: rgba(16, 16, 16, 1);
  219. font-size: 28rpx;
  220. text-align: left;
  221. font-family: PingFangSC-semiBold;
  222. margin-top: 10rpx;
  223. display: flex;
  224. align-items: center;
  225. .shuo-label {
  226. color: rgba(16, 16, 16, 1);
  227. font-size: 28rpx;
  228. text-align: left;
  229. font-family: PingFangSC-regular;
  230. width: 120rpx;
  231. }
  232. .shuo-cont {
  233. color: rgba(16, 16, 16, 1);
  234. font-size: 28rpx;
  235. text-align: left;
  236. font-family: PingFangSC-regular;
  237. margin-left: 30rpx;
  238. }
  239. .shuo-item {
  240. width: 50%;
  241. height: 100%;
  242. line-height: 20rpx;
  243. display: flex;
  244. align-items: center;
  245. .shuo-label {
  246. color: rgba(16, 16, 16, 1);
  247. font-size: 28rpx;
  248. text-align: left;
  249. font-family: PingFangSC-regular;
  250. width: 130rpx;
  251. }
  252. .shuo-cont {
  253. color: rgba(16, 16, 16, 1);
  254. font-size: 28rpx;
  255. text-align: left;
  256. font-family: PingFangSC-regular;
  257. margin-left: 30rpx;
  258. }
  259. .shuo-await {
  260. color: rgba(255, 191, 107, 1);
  261. font-size: 28rpx;
  262. text-align: left;
  263. font-family: PingFangSC-regular;
  264. margin-left: 20rpx;
  265. }
  266. .shuo-ready {
  267. color: rgba(162, 239, 77, 1);
  268. font-size: 28rpx;
  269. text-align: left;
  270. font-family: PingFangSC-regular;
  271. margin-left: 20rpx;
  272. }
  273. }
  274. .shuo-item-one {
  275. width: 80%;
  276. .shuo-label {
  277. width: 120rpx;
  278. }
  279. }
  280. }
  281. }
  282. }
  283. </style>