deliveryDetails.vue 10 KB

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