|
@@ -0,0 +1,539 @@
|
|
|
+<template>
|
|
|
+ <view class="container">
|
|
|
+ <u-navbar title="出库单详情"></u-navbar>
|
|
|
+ <!-- 出库单状态 -->
|
|
|
+ <view class="head">
|
|
|
+ <view class="photo">
|
|
|
+ <img src="../../../assets/img/photoCopy 3@1x.png" alt="">
|
|
|
+ </view>
|
|
|
+ <view class="name">
|
|
|
+ 刘群
|
|
|
+ </view>
|
|
|
+ <view class="submit">
|
|
|
+ 提交了<text>出库申请</text>
|
|
|
+ </view>
|
|
|
+ <view class="state">
|
|
|
+ 已出库
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 出库单详情 -->
|
|
|
+ <view class="details">
|
|
|
+ <view class="item">
|
|
|
+ <view class="name">
|
|
|
+ 所属项目
|
|
|
+ </view>
|
|
|
+ <view class="value">
|
|
|
+ 洪湖文泉110kV变电站二期
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="item">
|
|
|
+ <view class="name">
|
|
|
+ 需求时间
|
|
|
+ </view>
|
|
|
+ <view class="value">
|
|
|
+ 无
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="item">
|
|
|
+ <view class="name">
|
|
|
+ 使用周期至
|
|
|
+ </view>
|
|
|
+ <view class="value">
|
|
|
+ 2023年6月30日
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="item">
|
|
|
+ <view class="name">
|
|
|
+ 申请时间
|
|
|
+ </view>
|
|
|
+ <view class="value">
|
|
|
+ 2023年3月27日 11:00
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <!-- 出库设备清单 -->
|
|
|
+ <view class="list">
|
|
|
+ <view class="list-head">
|
|
|
+ <view class="title">
|
|
|
+ 出库设备清单
|
|
|
+ </view>
|
|
|
+ <view class="amount">
|
|
|
+ 全部 <text>18</text> 件设备
|
|
|
+ <u-icon name="arrow-right"></u-icon>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 清单信息 -->
|
|
|
+ <view class="list-infos" v-for="item in 2">
|
|
|
+ <view class="infos-head">
|
|
|
+ <view class="name">
|
|
|
+ 接地线 220kV 无杆
|
|
|
+ </view>
|
|
|
+ <view class="state">
|
|
|
+ 实际出库 <text>2</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="infos">
|
|
|
+ <view class="infos-1">
|
|
|
+ <view class="infos-item">
|
|
|
+ <view class="item-name">
|
|
|
+ 型号:
|
|
|
+ </view>
|
|
|
+ <view class="item-value">
|
|
|
+ GZYV GYVZ-50
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="infos-item">
|
|
|
+ <view class="item-name">
|
|
|
+ 单位:
|
|
|
+ </view>
|
|
|
+ <view class="item-value">
|
|
|
+ 台
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="infos-2">
|
|
|
+ <view class="infos-item">
|
|
|
+ <view class="item-name">
|
|
|
+ 单位:
|
|
|
+ </view>
|
|
|
+ <view class="item-value">
|
|
|
+ 台
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="infos-item">
|
|
|
+ <view class="item-name">
|
|
|
+ 库存:
|
|
|
+ </view>
|
|
|
+ <view class="item-value">
|
|
|
+ 20
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <!-- 流程 -->
|
|
|
+ <view class="process">
|
|
|
+ <view class="title">
|
|
|
+ 流程
|
|
|
+ </view>
|
|
|
+ <u-time-line>
|
|
|
+
|
|
|
+ <u-time-line-item node-top="10">
|
|
|
+ <template v-slot:node>
|
|
|
+ <view>
|
|
|
+ <view class="u-node" style="background:#CDCDCD;">
|
|
|
+ <!-- 此处为uView的icon组件 -->
|
|
|
+ <!-- <u-icon name="checkmark" color="#fff" :size="24"></u-icon> -->
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template v-slot:content>
|
|
|
+ <view>
|
|
|
+ <view class="u-order-desc">
|
|
|
+ <view class="level">
|
|
|
+ 项目部
|
|
|
+ </view>
|
|
|
+ <view class="date">
|
|
|
+ 2023-03-26 13:00
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="u-order-time">
|
|
|
+ <view class="photo">
|
|
|
+ <img src="../../../assets/img/level.png" alt="">
|
|
|
+ </view>
|
|
|
+ <view class="confirm">
|
|
|
+ <img src="../../../assets/img/riFill-checkbox-circle-fill@1x.png" alt="">
|
|
|
+ </view>
|
|
|
+ <view class="name">
|
|
|
+ 李天择
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+ </u-time-line-item>
|
|
|
+
|
|
|
+ <u-time-line-item node-top="10">
|
|
|
+ <template v-slot:node>
|
|
|
+ <view class="">
|
|
|
+ <view class="u-node" style="background:#CDCDCD;">
|
|
|
+ <!-- 此处为uView的icon组件 -->
|
|
|
+ <!-- <u-icon name="checkmark" color="#fff" :size="24"></u-icon> -->
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template v-slot:content>
|
|
|
+ <view>
|
|
|
+ <view class="u-order-desc">
|
|
|
+ <view class="level">
|
|
|
+ 部门负责人
|
|
|
+ </view>
|
|
|
+ <view class="date">
|
|
|
+ 2023-03-26 13:00
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="u-order-time">
|
|
|
+ <view class="photo">
|
|
|
+ <img src="../../../assets/img/level.png" alt="">
|
|
|
+ </view>
|
|
|
+ <view class="confirm">
|
|
|
+ <img src="../../../assets/img/riFill-checkbox-circle-fill@1x.png" alt="">
|
|
|
+ </view>
|
|
|
+ <view class="name">
|
|
|
+ 李天择
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+ </u-time-line-item>
|
|
|
+ <u-time-line-item node-top="10">
|
|
|
+ <template v-slot:node>
|
|
|
+ <view>
|
|
|
+ <view class="u-node" style="background:#CDCDCD;">
|
|
|
+ <!-- 此处为uView的icon组件 -->
|
|
|
+ <!-- <u-icon name="checkmark" color="#fff" :size="24"></u-icon> -->
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template v-slot:content>
|
|
|
+ <view>
|
|
|
+ <view class="u-order-desc">
|
|
|
+ <view class="level">
|
|
|
+ 主管领导
|
|
|
+ </view>
|
|
|
+ <view class="date">
|
|
|
+ 2023-03-26 13:00
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="u-order-time">
|
|
|
+ <view class="photo">
|
|
|
+ <img src="../../../assets/img/level.png" alt="">
|
|
|
+ </view>
|
|
|
+ <view class="confirm">
|
|
|
+ <img src="../../../assets/img/riFill-checkbox-circle-fill@1x.png" alt="">
|
|
|
+ </view>
|
|
|
+ <view class="name">
|
|
|
+ 李天择
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+ </u-time-line-item>
|
|
|
+
|
|
|
+ <u-time-line-item node-top="10">
|
|
|
+ <template v-slot:node>
|
|
|
+ <view class="">
|
|
|
+ <view class="u-node" style="background:#CDCDCD;">
|
|
|
+ <!-- 此处为uView的icon组件 -->
|
|
|
+ <!-- <u-icon name="checkmark" color="#fff" :size="24"></u-icon> -->
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <template v-slot:content>
|
|
|
+ <view>
|
|
|
+ <view class="u-order-desc">
|
|
|
+ <view class="level">
|
|
|
+ 仓库管理
|
|
|
+ </view>
|
|
|
+ <view class="date">
|
|
|
+ 2023-03-26 13:00
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="u-order-time">
|
|
|
+ <view class="photo">
|
|
|
+ <img src="../../../assets/img/level.png" alt="">
|
|
|
+ </view>
|
|
|
+ <view class="confirm">
|
|
|
+ <img src="../../../assets/img/riFill-checkbox-circle-fill@1x.png" alt="">
|
|
|
+ </view>
|
|
|
+ <view class="name">
|
|
|
+ 周乐心
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+ </u-time-line-item>
|
|
|
+ </u-time-line>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped lang="scss">
|
|
|
+ page {
|
|
|
+ padding-bottom: 100px;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ // 出库单状态
|
|
|
+ .head {
|
|
|
+ background-color: #fff;
|
|
|
+ padding: 24rpx 32rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ color: #101010;
|
|
|
+ font-size: 32rpx;
|
|
|
+
|
|
|
+ .photo {
|
|
|
+ width: 84rpx;
|
|
|
+ height: 84rpx;
|
|
|
+ border-radius: 100rpx;
|
|
|
+
|
|
|
+ img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .name {
|
|
|
+ color: #101010;
|
|
|
+ font-size: 32rpx;
|
|
|
+ margin-right: 8rpx;
|
|
|
+ margin-left: 24rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .submit {
|
|
|
+ text {
|
|
|
+ color: #3385FF;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .state {
|
|
|
+ line-height: 48rpx;
|
|
|
+ padding: 0 24rpx;
|
|
|
+ border-radius: 50px;
|
|
|
+ background-color: rgba(255, 255, 255, 1);
|
|
|
+ color: rgba(69, 186, 69, 1);
|
|
|
+ font-size: 12px;
|
|
|
+ text-align: center;
|
|
|
+ font-family: Arial;
|
|
|
+ border: 1px solid rgba(69, 186, 69, 1);
|
|
|
+ margin-left: auto;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 出库单详情
|
|
|
+ .details {
|
|
|
+ background-color: #fff;
|
|
|
+ margin-top: 24rpx;
|
|
|
+ padding: 0 32rpx;
|
|
|
+
|
|
|
+ .item {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 22rpx 0;
|
|
|
+ border-bottom: 1px solid rgba(244, 244, 244, 1);
|
|
|
+
|
|
|
+ .name {
|
|
|
+ color: rgba(119, 119, 119, 1);
|
|
|
+ }
|
|
|
+
|
|
|
+ .value {
|
|
|
+ color: #101010;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 出库单列表
|
|
|
+ .list {
|
|
|
+ background-color: #fff;
|
|
|
+ margin-top: 24rpx;
|
|
|
+ padding: 22rpx 32rpx;
|
|
|
+
|
|
|
+ .list-head {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ color: #333333;
|
|
|
+ font-size: 32rpx
|
|
|
+ }
|
|
|
+
|
|
|
+ .amount {
|
|
|
+ color: #777777;
|
|
|
+ font-size: 24rpx;
|
|
|
+
|
|
|
+ text {
|
|
|
+ color: #3385FF;
|
|
|
+ }
|
|
|
+
|
|
|
+ /deep/.u-icon--right {
|
|
|
+ margin-left: 8rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 清单信息
|
|
|
+ .list-infos {
|
|
|
+ border-radius: 8px;
|
|
|
+ background-color: #F5F6F9;
|
|
|
+ margin-top: 24rpx;
|
|
|
+ padding: 24rpx;
|
|
|
+
|
|
|
+ .infos-head {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ margin-bottom: 24rpx;
|
|
|
+
|
|
|
+ .name {
|
|
|
+ color: rgba(51, 51, 51, 1);
|
|
|
+ font-size: 32rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .state {
|
|
|
+ color: rgba(0, 81, 255, 1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .infos {
|
|
|
+ margin-top: 16rpx;
|
|
|
+ display: flex;
|
|
|
+ color: #777777;
|
|
|
+ font-size: 24rpx;
|
|
|
+
|
|
|
+ .infos-1 {
|
|
|
+ margin-right: 68rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .infos-item {
|
|
|
+ display: flex;
|
|
|
+ margin-bottom: 8rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 流程
|
|
|
+ .process {
|
|
|
+ background-color: #fff;
|
|
|
+ margin-top: 24rpx;
|
|
|
+ padding: 24rpx 32rpx;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ color: rgba(51, 51, 51, 1);
|
|
|
+ font-size: 32rpx;
|
|
|
+ }
|
|
|
+ .u-time-axis-item{
|
|
|
+ margin-bottom: 76rpx;
|
|
|
+ }
|
|
|
+ .u-time-axis {
|
|
|
+ padding: 18rpx 40rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .u-node {
|
|
|
+ width: 18rpx;
|
|
|
+ height: 18rpx;
|
|
|
+ border-radius: 100rpx !important;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ background: #d0d0d0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .u-order-title {
|
|
|
+ color: #333333;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 32rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .u-order-desc {
|
|
|
+ margin-bottom: 16rpx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .level {
|
|
|
+ color: #333333;
|
|
|
+ font-size: 32rpx;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+
|
|
|
+ .date {
|
|
|
+ color: rgba(119, 119, 119, 1);
|
|
|
+ }
|
|
|
+
|
|
|
+ .state {
|
|
|
+ color: rgba(255, 121, 0, 1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .u-order-time {
|
|
|
+ width: 90rpx;
|
|
|
+ color: #777777;
|
|
|
+ font-size: 28rpx;
|
|
|
+ margin-top: 16rpx;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .photo {
|
|
|
+ width: 56rpx;
|
|
|
+ height: 56rpx;
|
|
|
+ border-radius: 100px;
|
|
|
+ margin-bottom: 4rpx;
|
|
|
+
|
|
|
+ img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .confirm {
|
|
|
+ position: absolute;
|
|
|
+ top: 46rpx;
|
|
|
+ left: 56rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .name {
|
|
|
+ color: rgba(51, 51, 51, 1);
|
|
|
+ font-size: 24rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .u-time-axis{
|
|
|
+ .u-time-axis-item:last-of-type{
|
|
|
+ margin-bottom: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 确认出库
|
|
|
+ .bottom{
|
|
|
+ background-color: #fff;
|
|
|
+ margin-top: 44rpx;
|
|
|
+ padding: 16rpx 32rpx;
|
|
|
+ uni-button{
|
|
|
+ border-radius: 8px;
|
|
|
+ background: linear-gradient(180deg, rgba(22,119,255,1) 0%,rgba(16,98,213,1) 100%);
|
|
|
+ color: rgba(255, 255, 255, 1);
|
|
|
+ font-size: 32rpx;
|
|
|
+ line-height: 88rpx;
|
|
|
+ z-index: 999;
|
|
|
+ }
|
|
|
+ }
|
|
|
+</style>
|