result.vue 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  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. import {
  155. listData
  156. } from './list.js';
  157. export default {
  158. data() {
  159. return {
  160. datas: [{
  161. code: "KMT20231126",
  162. hispName: "中心库2023年11悦盘点",
  163. mubiao: "中心仓库",
  164. snub: 200,
  165. yingp: 20213,
  166. ship: 20214,
  167. panjin: 13323.13,
  168. daohuoTime: "2023-11-26 14:05:08"
  169. }],
  170. listDatacont: []
  171. }
  172. },
  173. onLoad() {
  174. },
  175. mounted() {
  176. this.listDatacont = listData;
  177. },
  178. methods: {
  179. queryList(pageNo, pageSize) {
  180. this.$refs.paging.complete(this.data);
  181. },
  182. }
  183. }
  184. </script>
  185. <style lang="scss">
  186. .groundtials-wrap {
  187. width: 100%;
  188. height: 100%;
  189. padding: 20rpx;
  190. box-sizing: border-box;
  191. background-color: #F1F1F1;
  192. .inventory-wrap {
  193. width: 100%;
  194. border: 2rpx solid #BDBDBD;
  195. margin-top: 20rpx;
  196. border-radius: 20rpx;
  197. }
  198. .inner-item {
  199. width: 100%;
  200. height: 400rpx;
  201. border-bottom: 2rpx solid #BDBDBD;
  202. padding: 20rpx 20rpx 20rpx 50rpx;
  203. box-sizing: border-box;
  204. position: relative;
  205. background-color: #fff;
  206. border-radius: 20rpx;
  207. position: relative;
  208. .all-text {
  209. width: 150rpx;
  210. height: 40rpx;
  211. position: absolute;
  212. right: 10rpx;
  213. top: 25rpx;
  214. font-family: PingFangSC-regular;
  215. font-size: 28rpx;
  216. color: rgba(52, 124, 175, 0.6);
  217. }
  218. .inventory-item {
  219. width: 100%;
  220. height: 40rpx;
  221. color: rgba(16, 16, 16, 1);
  222. font-size: 28rpx;
  223. text-align: left;
  224. font-family: PingFangSC-semiBold;
  225. margin-top: 10rpx;
  226. display: flex;
  227. align-items: center;
  228. .shuo-label {
  229. color: rgba(16, 16, 16, 1);
  230. font-size: 28rpx;
  231. text-align: left;
  232. font-family: PingFangSC-regular;
  233. width: 120rpx;
  234. }
  235. .shuo-cont {
  236. color: rgba(16, 16, 16, 1);
  237. font-size: 28rpx;
  238. text-align: left;
  239. font-family: PingFangSC-regular;
  240. margin-left: 30rpx;
  241. }
  242. .shuo-item {
  243. width: 50%;
  244. height: 100%;
  245. line-height: 20rpx;
  246. display: flex;
  247. align-items: center;
  248. .shuo-label {
  249. color: rgba(16, 16, 16, 1);
  250. font-size: 28rpx;
  251. text-align: left;
  252. font-family: PingFangSC-regular;
  253. width: 130rpx;
  254. }
  255. .shuo-cont {
  256. color: rgba(16, 16, 16, 1);
  257. font-size: 28rpx;
  258. text-align: left;
  259. font-family: PingFangSC-regular;
  260. margin-left: 30rpx;
  261. }
  262. .shuo-await {
  263. color: rgba(255, 191, 107, 1);
  264. font-size: 28rpx;
  265. text-align: left;
  266. font-family: PingFangSC-regular;
  267. margin-left: 20rpx;
  268. }
  269. .shuo-ready {
  270. color: rgba(162, 239, 77, 1);
  271. font-size: 28rpx;
  272. text-align: left;
  273. font-family: PingFangSC-regular;
  274. margin-left: 20rpx;
  275. }
  276. }
  277. .shuo-item-one {
  278. width: 80%;
  279. .shuo-label {
  280. width: 120rpx;
  281. }
  282. }
  283. }
  284. }
  285. }
  286. </style>