Bläddra i källkod

已出库 已出库设备清单

常志远 2 år sedan
förälder
incheckning
11d06494b5

+ 27 - 0
pages.json

@@ -42,6 +42,33 @@
             }
             
         }
+        ,{
+            "path" : "pages/storeManagement/equipmentDelivery/deliveried",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "",
+                "enablePullDownRefresh": false
+            }
+            
+        }
+        ,{
+            "path" : "pages/storeManagement/equipmentDelivery/deliveriedList",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "",
+                "enablePullDownRefresh": false
+            }
+            
+        }
+        ,{
+            "path" : "pages/storeManagement/equipmentEnter/equipmentEnter",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "",
+                "enablePullDownRefresh": false
+            }
+            
+        }
     ],
 
 	

+ 539 - 0
pages/storeManagement/equipmentDelivery/deliveried.vue

@@ -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>

+ 376 - 0
pages/storeManagement/equipmentDelivery/deliveriedList.vue

@@ -0,0 +1,376 @@
+<template>
+	<view>
+		<u-navbar>
+			<view class="title">
+				出库设备清单<text>(18)</text>
+			</view>
+		</u-navbar>
+		<view class="list" >
+			<!-- 清单信息 -->
+			<view class="list-infos">
+				<view class="infos-head">
+					<view class="name">
+						50KV直流高压电缆
+					</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">
+								10
+							</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 class="address">
+					<view class="name">
+						位置:
+					</view>
+					<view class="value">
+						荆力总包仓库1仓库2号货架302
+					</view>
+				</view>
+				<!-- 备注 -->
+				<view class="remark">
+					<view class="name">
+						备注:
+					</view>
+					<view class="value">
+						22
+					</view>
+				</view>
+
+				<view class="prepare-out"  >
+					<view class="head">
+						<view class="amount">
+							<view class="title">
+								实际领用:
+							</view>
+							<view class="value">
+								2
+							</view>
+						</view>
+
+						<view class="unfold">
+							展开<u-icon name="arrow-down" @click="changeShow()"></u-icon>
+							<view class="option" v-if="this.show==true">
+
+							</view>
+						</view>
+
+					</view>
+					<!-- 编号 -->
+					<view class="serial-number" v-for="item in 2">
+						<view class="item">
+							<view class="text">
+								设备编号:
+							</view>
+							<view class="number">
+								ND920182001511
+							</view>
+						</view>
+					</view>
+				</view>
+			</view>
+
+		</view>
+ 
+     <view class="list" >
+     	<!-- 清单信息 -->
+     	<view class="list-infos">
+     		<view class="infos-head">
+     			<view class="name">
+     				汽油液压机
+     			</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">
+     						10
+     					</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 class="address">
+     			<view class="name">
+     				位置:
+     			</view>
+     			<view class="value">
+     				荆力总包仓库1仓库2号货架302
+     			</view>
+     		</view>
+     		<!-- 备注 -->
+     		<view class="remark">
+     			<view class="name">
+     				备注:
+     			</view>
+     			<view class="value">
+     				22
+     			</view>
+     		</view>
+     
+     		<view class="prepare-out"  >
+     			<view class="head">
+     				<view class="amount">
+     					<view class="title">
+     						实际领用:
+     					</view>
+     					<view class="value">
+     						1
+     					</view>
+     				</view>
+     
+     				<view class="unfold">
+     					展开<u-icon name="arrow-down" @click="changeShow()"></u-icon>
+     					<view class="option" v-if="this.show==true">
+     
+     					</view>
+     				</view>
+     
+     			</view>
+     			<!-- 编号 -->
+     			<view class="serial-number" >
+     				<view class="item">
+     					<view class="text">
+     						设备编号:
+     					</view>
+     					<view class="number">
+     						ND920182001511
+     					</view>
+     				</view>
+     			</view>
+     		</view>
+     	</view>
+     
+     </view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				show: false
+			}
+		},
+		methods: {
+			changeShow() {
+				this.show = !this.show
+				
+			}
+		}
+	}
+</script>
+
+<style scoped lang="scss">
+	page{
+		padding-bottom: 100px;
+	}
+	.u-navbar {
+		.title {
+			display: flex;
+			flex-direction: row;
+			align-items: center;
+			justify-content: center;
+			flex: 1;
+			position: absolute;
+			left: 0;
+			right: 0;
+			height: 30px;
+			text-align: center;
+			flex-shrink: 0;
+			font-size: 36rpx;
+			color: #101010;
+
+			text {
+				color: #2A8EFB
+			}
+		}
+	}
+
+	.list {
+		background-color: #fff;
+		margin: 24rpx;
+		padding: 22rpx 32rpx;
+
+		// 清单信息
+		.list-infos {
+			border-radius: 8px;
+
+			.infos-head {
+				display: flex;
+				justify-content: space-between;
+				align-items: center;
+				margin-bottom: 24rpx;
+
+				.name {
+					color: rgba(51, 51, 51, 1);
+					font-size: 32rpx;
+				}
+
+				.qr-code {
+					border-radius: 4px;
+					background: linear-gradient(180deg, rgba(22, 119, 255, 1) 0%, rgba(16, 98, 213, 1) 100%);
+					color: rgba(255, 255, 255, 1);
+					font-size: 24rpx;
+					width: 160rpx;
+					text-align: center;
+					line-height: 64rpx;
+
+					text {
+						img {
+							vertical-align: middle;
+						}
+					}
+				}
+			}
+
+			.infos {
+				margin-top: 16rpx;
+				display: flex;
+				color: #777777;
+				font-size: 24rpx;
+
+				.infos-1 {
+					margin-right: 68rpx;
+				}
+
+
+				.infos-item {
+					display: flex;
+					margin-bottom: 8rpx;
+				}
+
+			}
+
+			.address,.remark {
+				display: flex;
+				color: #777777;
+				font-size: 24rpx;
+				margin-bottom: 8rpx;
+			}
+		}
+
+		.prepare-out {
+			padding: 24rpx;
+			margin-top: 40rpx;
+			border-radius: 8px;
+			background-color: rgba(245, 246, 249, 1);
+
+			.head {
+				display: flex;
+				justify-content: space-between;
+				align-items: center;
+                margin-bottom: 24rpx;
+				.amount {
+					display: flex;
+					color: rgba(0, 81, 255, 1);
+					font-size: 32rpx;
+				}
+
+				.unfold {
+					color: rgba(146, 158, 165, 1);
+					font-size: 24rpx;
+					position: relative;
+
+					.u-icon--right {
+						margin-left: 8rpx;
+					}
+				}
+
+				.option {
+					width: 160rpx;
+					height: 32rpx;
+					background-color: #fff;
+					position: absolute;
+					top: 30rpx;
+					right: 0;
+				}
+			}
+
+			// 编号
+			.serial-number {
+				display: flex;
+				justify-content: space-between;
+				align-items: center;
+				margin-top: 16rpx;
+				color: rgba(51, 51, 51, 1);
+				font-weight: bold;
+ 
+				.item {
+					display: flex;
+				}
+			}
+
+		}
+
+		
+	}
+</style>

+ 2 - 2
pages/storeManagement/equipmentDelivery/deliveryDetails.vue

@@ -70,7 +70,7 @@
 						接地线 220kV 无杆
 					</view>
 					<view class="state">
-						预出库 2
+						预出库 <text>2</text>
 					</view>
 				</view>
 				<view class="infos">
@@ -264,7 +264,7 @@
 			</u-time-line>
 		</view>
     <!-- 确认出库 -->
-	<view class="bottom">
+	<view class="bottom" >
 		<button>确认出库</button>
 	</view>
 	</view>

+ 6 - 6
pages/storeManagement/equipmentDelivery/deliveryList.vue

@@ -29,10 +29,10 @@
 						</view>
 						<view class="infos-item">
 							<view class="item-name">
-								单位
+								待出库
 							</view>
 							<view class="item-value">
-								
+								10
 							</view>
 						</view>
 					</view>
@@ -131,10 +131,10 @@
      				</view>
      				<view class="infos-item">
      					<view class="item-name">
-     						单位
+     						待出库
      					</view>
      					<view class="item-value">
-     						
+     						10
      					</view>
      				</view>
      			</view>
@@ -325,7 +325,7 @@
 				display: flex;
 				justify-content: space-between;
 				align-items: center;
-
+margin-bottom: 24rpx;
 				.amount {
 					display: flex;
 					color: rgba(0, 81, 255, 1);
@@ -359,7 +359,7 @@
 				align-items: center;
 				margin-top: 16rpx;
 				color: rgba(51, 51, 51, 1);
-
+                font-weight: bold;
 				.item {
 					display: flex;
 				}