add.vue 1.31 KB
<template>
	<view>
		<view class="u-f u-f-jcsb u-f-aic bill">
			<view>
				入库单号
			</view>
			<view>
				DE2021011100001
			</view>
		</view>
		<view class="material">
			<view class="item u-f u-f-row">
				<view class="fl u-f2" @tap="handleSelect">
					<view class="fl">
						物料
					</view>
					<view class="select fr u-f u-f-aic">
						点击选择物料
						<uni-icons type="forward" size="20"></uni-icons>
					</view>
				</view>
				
				<view class="scan fr u-f u-f-aic u-f1" @tap="handleScan">
					<uni-icons type="scan" size="20"></uni-icons>扫码选择
				</view>
			</view>	
		</view>	
	</view>
</template>

<script>
	export default {
		methods: {
			handleSelect() {
				uni.navigateTo({
					url: '../../material/material'
				})
			},
			handleScan() {
				
			}
		}
	}
</script>

<style lang="scss" scoped>
	.bill {
		padding: 0 30rpx;
		height: 90rpx;
		font-size: 32rpx;
		background-color: #fff;
	}
	.material {
		margin-top: 20rpx;
		padding: 0 30rpx;
		height: 90rpx;
		background-color: #fff;
		font-size: 32rpx;
		.item {
			line-height: 90rpx;
			.select {
				height: 90rpx;
				border-right: 2rpx solid #D6D6D6;
				padding-right: 20rpx;
				.uni-icons {
					width: 30rpx;
				}
			}
			.scan {
				padding-left: 20rpx;
				.uni-icons {
					margin-right: 10rpx;
				}
			}
		}
	}
</style>