add.vue
1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<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>