浏览代码

出库设备清单

常志远 2 年之前
父节点
当前提交
2250aaa588

二进制
assets/img/riLine-delete-bin-line Copy@1x.png


二进制
assets/img/riLine-qr-scan-line Copy@1x.png


+ 9 - 0
pages.json

@@ -33,6 +33,15 @@
             }
             
         }
+        ,{
+            "path" : "pages/storeManagement/equipmentDelivery/deliveryList",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "",
+                "enablePullDownRefresh": false
+            }
+            
+        }
     ],
 
 	

+ 383 - 0
pages/storeManagement/equipmentDelivery/deliveryList.vue

@@ -0,0 +1,383 @@
+<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 class="qr-code">
+						<text><img src="../../../assets/img/riLine-qr-scan-line Copy@1x.png" alt=""></text>
+						<text>扫码出库</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 class="address">
+					<view class="name">
+						位置:
+					</view>
+					<view class="value">
+						荆力总包仓库1仓库2号货架302
+					</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 class="del">
+							<img src="../../../assets/img/riLine-delete-bin-line Copy@1x.png" alt="">
+						</view>
+					</view>
+				</view>
+				<!-- 备注 -->
+				<textarea placeholder="备注" name="" id="" cols="30" rows="10"></textarea>
+			</view>
+
+		</view>
+
+     <view class="list" >
+     	<!-- 清单信息 -->
+     	<view class="list-infos">
+     		<view class="infos-head">
+     			<view class="name">
+     				汽油液压机
+     			</view>
+     			<view class="qr-code">
+     				<text><img src="../../../assets/img/riLine-qr-scan-line Copy@1x.png" alt=""></text>
+     				<text>扫码出库</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 class="address">
+     			<view class="name">
+     				位置:
+     			</view>
+     			<view class="value">
+     				荆力总包仓库1仓库2号货架302
+     			</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 class="del">
+     					<img src="../../../assets/img/riLine-delete-bin-line Copy@1x.png" alt="">
+     				</view>
+     			</view>
+     		</view>
+     		<!-- 备注 -->
+     		<textarea placeholder="备注" name="" id="" cols="30" rows="10"></textarea>
+     	</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 {
+				display: flex;
+				color: #777777;
+				font-size: 24rpx;
+			}
+		}
+
+		.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;
+
+				.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);
+
+				.item {
+					display: flex;
+				}
+			}
+
+		}
+
+		// 备注
+		uni-textarea {
+			width: 100%;
+			height: 80rpx;
+			line-height: 80rpx;
+			text-indent: 24rpx;
+			margin-top: 24rpx;
+			background-color: rgba(241, 242, 245, 1);
+			color: rgba(136, 136, 136, 1);
+			border-radius: 8px;
+			font-family: Microsoft Yahei;
+		}
+	}
+</style>