verification.vue 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533
  1. <template>
  2. <view >
  3. <u-navbar title="入库单详情"></u-navbar>
  4. <view class="container">
  5. <!-- 归还单状态 -->
  6. <view class="head">
  7. <view class="photo">
  8. <u-avatar size="84" :src="item.userImg"></u-avatar>
  9. </view>
  10. <view class="name">
  11. 刘群
  12. </view>
  13. <view class="submit">
  14. 提交了<text>设备归还单</text>
  15. </view>
  16. <view class="state">
  17. 待入库
  18. </view>
  19. </view>
  20. <!-- 归还单详情 -->
  21. <view class="details">
  22. <view class="item">
  23. <view class="name">
  24. 项目部
  25. </view>
  26. <view class="value">
  27. 洪湖文泉110kV变电站二期施工单位
  28. </view>
  29. </view>
  30. <view class="item">
  31. <view class="name">
  32. 归还仓库
  33. </view>
  34. <view class="value">
  35. 荆力总包仓库
  36. </view>
  37. </view>
  38. <view class="item">
  39. <view class="name">
  40. 提交时间
  41. </view>
  42. <view class="value">
  43. 2020-11-27 11:00
  44. </view>
  45. </view>
  46. </view>
  47. <!-- 归还设备清单 -->
  48. <view class="list">
  49. <view class="list-head">
  50. <view class="title">
  51. 归还设备清单
  52. </view>
  53. <view class="amount">
  54. 全部 <text>18</text> 件设备
  55. <u-icon name="arrow-right"></u-icon>
  56. </view>
  57. </view>
  58. <!-- 清单信息 -->
  59. <view class="list-infos" >
  60. <view class="infos-head">
  61. <view class="name">
  62. 50KV直流高压电缆检测仪
  63. </view>
  64. <view class="state">
  65. <text><img src="@/assets/img/riLine-checkbox-circle-line@1x.png" alt=""></text> 已收到
  66. </view>
  67. </view>
  68. <view class="infos">
  69. <view class="infos-1">
  70. <view class="infos-item">
  71. <view class="item-name">
  72. 型号:
  73. </view>
  74. <view class="item-value">
  75. GZYV GYVZ-50
  76. </view>
  77. </view>
  78. </view>
  79. <view class="infos-2">
  80. <view class="infos-item">
  81. <view class="item-name">
  82. 设备编号:
  83. </view>
  84. <view class="item-value">
  85. ND920182001511
  86. </view>
  87. </view>
  88. </view>
  89. </view>
  90. </view>
  91. <view class="list-infos" >
  92. <view class="infos-head">
  93. <view class="name">
  94. 50KV直流高压电缆检测仪
  95. </view>
  96. <view class="qr-code">
  97. <text><img src="@/assets/img/riLine-qr-scan-line Copy@1x.png" alt=""></text>
  98. <text>扫码核验</text>
  99. </view>
  100. </view>
  101. <view class="infos">
  102. <view class="infos-1">
  103. <view class="infos-item">
  104. <view class="item-name">
  105. 型号:
  106. </view>
  107. <view class="item-value">
  108. GZYV GYVZ-50
  109. </view>
  110. </view>
  111. </view>
  112. <view class="infos-2">
  113. <view class="infos-item">
  114. <view class="item-name">
  115. 设备编号:
  116. </view>
  117. <view class="item-value">
  118. ND920182001511
  119. </view>
  120. </view>
  121. </view>
  122. </view>
  123. </view>
  124. </view>
  125. <!-- 流程 -->
  126. <view class="process" >
  127. <view class="title">
  128. 流程
  129. </view>
  130. <u-time-line>
  131. <u-time-line-item node-top="10">
  132. <template v-slot:node>
  133. <view>
  134. <view class="u-node" style="background:#CDCDCD;">
  135. <!-- 此处为uView的icon组件 -->
  136. <!-- <u-icon name="checkmark" color="#fff" :size="24"></u-icon> -->
  137. </view>
  138. </view>
  139. </template>
  140. <template v-slot:content>
  141. <view>
  142. <view class="u-order-desc">
  143. <view class="level">
  144. 项目部
  145. </view>
  146. <view class="date">
  147. 2023-03-26 13:00
  148. </view>
  149. </view>
  150. <view class="u-order-time">
  151. <view class="photo">
  152. </view>
  153. <view class="confirm">
  154. <img src="@/assets/img/riFill-checkbox-circle-fill@1x.png" alt="">
  155. </view>
  156. <view class="name">
  157. 李天择
  158. </view>
  159. </view>
  160. </view>
  161. </template>
  162. </u-time-line-item>
  163. <u-time-line-item node-top="10">
  164. <template v-slot:node>
  165. <view class="">
  166. <view class="u-node" style="background:#CDCDCD;">
  167. <!-- 此处为uView的icon组件 -->
  168. <!-- <u-icon name="checkmark" color="#fff" :size="24"></u-icon> -->
  169. </view>
  170. </view>
  171. </template>
  172. <template v-slot:content>
  173. <view>
  174. <view class="u-order-desc">
  175. <view class="level">
  176. 仓库管理
  177. </view>
  178. <view class="state">
  179. 等待验收入库
  180. </view>
  181. </view>
  182. <view class="u-order-time">
  183. <view class="photo">
  184. </view>
  185. <view class="confirm">
  186. <img src="@/assets/img/riFill-gradienter-fill@1x.png" alt="">
  187. </view>
  188. <view class="name">
  189. 周乐心
  190. </view>
  191. </view>
  192. </view>
  193. </template>
  194. </u-time-line-item>
  195. </u-time-line>
  196. </view>
  197. </view>
  198. <!-- 确认出库 -->
  199. <view class="bottom">
  200. <u-button type="primary" @click="submit()">确认入库</u-button>
  201. </view>
  202. </view>
  203. </template>
  204. <script>
  205. export default {
  206. data() {
  207. return {
  208. }
  209. },methods:{
  210. submit(){
  211. }
  212. }
  213. }
  214. </script>
  215. <style scoped lang="scss">
  216. page {
  217. padding-bottom: 200rpx;
  218. }
  219. // 归还单状态
  220. .head {
  221. background-color: #fff;
  222. padding: 24rpx 32rpx;
  223. display: flex;
  224. align-items: center;
  225. color: #101010;
  226. font-size: 32rpx;
  227. .photo {
  228. width: 84rpx;
  229. height: 84rpx;
  230. border-radius: 100rpx;
  231. img {
  232. width: 100%;
  233. height: 100%;
  234. overflow: hidden;
  235. }
  236. }
  237. .name {
  238. color: #101010;
  239. font-size: 32rpx;
  240. margin-right: 8rpx;
  241. margin-left: 24rpx;
  242. }
  243. .submit {
  244. text {
  245. color: #3385FF;
  246. }
  247. }
  248. .state {
  249. line-height: 48rpx;
  250. padding: 0 24rpx;
  251. border-radius: 50px;
  252. background-color: rgba(255, 255, 255, 1);
  253. color: rgba(51, 133, 255, 1);
  254. font-size: 12px;
  255. text-align: center;
  256. font-family: Arial;
  257. border: 1px solid rgba(51, 133, 255, 1);
  258. margin-left: auto;
  259. }
  260. }
  261. // 归还单详情
  262. .details {
  263. background-color: #fff;
  264. margin-top: 24rpx;
  265. padding: 0 32rpx;
  266. .item {
  267. display: flex;
  268. justify-content: space-between;
  269. padding: 22rpx 0;
  270. border-bottom: 1px solid rgba(244, 244, 244, 1);
  271. .name {
  272. color: rgba(119, 119, 119, 1);
  273. }
  274. .value {
  275. color: #101010;
  276. }
  277. }
  278. }
  279. // 归还单列表
  280. .list {
  281. background-color: #fff;
  282. margin-top: 24rpx;
  283. padding: 22rpx 32rpx;
  284. .list-head {
  285. display: flex;
  286. justify-content: space-between;
  287. align-items: center;
  288. .title {
  289. color: #333333;
  290. font-size: 32rpx
  291. }
  292. .amount {
  293. color: #777777;
  294. font-size: 24rpx;
  295. text {
  296. color: #3385FF;
  297. }
  298. /deep/.u-icon--right {
  299. margin-left: 8rpx;
  300. }
  301. }
  302. }
  303. // 清单信息
  304. .list-infos {
  305. border-radius: 8px;
  306. background-color: #F5F6F9;
  307. margin-top: 24rpx;
  308. padding: 24rpx;
  309. .infos-head {
  310. display: flex;
  311. justify-content: space-between;
  312. align-items: center;
  313. margin-bottom: 24rpx;
  314. .name {
  315. color: rgba(51, 51, 51, 1);
  316. font-size: 32rpx;
  317. }
  318. .state {
  319. border: 1px solid rgba(69, 186, 69, 1);
  320. border-radius: 4px;
  321. color: rgba(69, 186, 69, 1);
  322. font-size: 24rpx;
  323. line-height: 48rpx;
  324. width: 160rpx;
  325. text-align: center;
  326. text{
  327. img{
  328. vertical-align: middle;
  329. margin-right: 4rpx;
  330. }
  331. }
  332. }
  333. .qr-code {
  334. border-radius: 4px;
  335. background: linear-gradient(180deg, rgba(22, 119, 255, 1) 0%, rgba(16, 98, 213, 1) 100%);
  336. color: rgba(255, 255, 255, 1);
  337. font-size: 24rpx;
  338. width: 160rpx;
  339. text-align: center;
  340. line-height: 48rpx;
  341. text {
  342. img {
  343. vertical-align: middle;
  344. }
  345. }
  346. }
  347. }
  348. .infos {
  349. margin-top: 16rpx;
  350. display: flex;
  351. justify-content: space-between;
  352. color: #777777;
  353. font-size: 24rpx;
  354. .infos-1 {
  355. }
  356. .infos-item {
  357. display: flex;
  358. margin-bottom: 8rpx;
  359. }
  360. }
  361. }
  362. }
  363. // 流程
  364. .process {
  365. background-color: #fff;
  366. margin-top: 24rpx;
  367. padding: 24rpx 32rpx;
  368. .title {
  369. color: rgba(51, 51, 51, 1);
  370. font-size: 32rpx;
  371. }
  372. .u-time-axis-item{
  373. margin-bottom: 76rpx;
  374. }
  375. .u-time-axis {
  376. padding: 18rpx 40rpx;
  377. }
  378. .u-node {
  379. width: 18rpx;
  380. height: 18rpx;
  381. border-radius: 100rpx !important;
  382. display: flex;
  383. justify-content: center;
  384. align-items: center;
  385. background: #d0d0d0;
  386. }
  387. .u-order-title {
  388. color: #333333;
  389. font-weight: bold;
  390. font-size: 32rpx;
  391. }
  392. .u-order-desc {
  393. margin-bottom: 16rpx;
  394. display: flex;
  395. justify-content: space-between;
  396. align-items: center;
  397. .level {
  398. color: #333333;
  399. font-size: 32rpx;
  400. font-weight: bold;
  401. }
  402. .date {
  403. color: rgba(119, 119, 119, 1);
  404. }
  405. .state {
  406. color: rgba(255, 121, 0, 1);
  407. }
  408. }
  409. .u-order-time {
  410. width: 90rpx;
  411. color: #777777;
  412. font-size: 28rpx;
  413. margin-top: 16rpx;
  414. display: flex;
  415. flex-direction: column;
  416. align-items: center;
  417. .photo {
  418. width: 56rpx;
  419. height: 56rpx;
  420. border-radius: 100px;
  421. margin-bottom: 4rpx;
  422. img {
  423. width: 100%;
  424. height: 100%;
  425. overflow: hidden;
  426. position: relative;
  427. }
  428. }
  429. .confirm {
  430. position: absolute;
  431. top: 46rpx;
  432. left: 56rpx;
  433. }
  434. .name {
  435. color: rgba(51, 51, 51, 1);
  436. font-size: 24rpx;
  437. }
  438. }
  439. }
  440. .u-time-axis{
  441. .u-time-axis-item:last-of-type{
  442. margin-bottom: 0;
  443. }
  444. }
  445. // 确认出库
  446. .bottom {
  447. position: fixed;
  448. bottom: 0;
  449. left: 0;
  450. right: 0;
  451. background-color: #fff;
  452. margin-top: 44rpx;
  453. padding: 16rpx 32rpx;
  454. z-index: 999;
  455. uni-button {
  456. border-radius: 8px;
  457. background: linear-gradient(180deg, rgba(22, 119, 255, 1) 0%, rgba(16, 98, 213, 1) 100%);
  458. color: rgba(255, 255, 255, 1);
  459. font-size: 32rpx;
  460. line-height: 88rpx;
  461. }
  462. }
  463. </style>