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
78
79
80
81
82
83
84
85
86
87
88
89
| <template>
| <view>
| <page-nav title="采购入库1"></page-nav>
| <view class="body" style="flex-direction: column;">
| <u-button type="primary" icon='plus-circle' size='large' style="width: 96%;margin-left: 2%;margin-top: 70%;"
| :plain="true" :hairline="true" @click="navigateTo" text="选择采购订单"></u-button>
|
| <u-button type="primary" icon='scan' size='large' style="width: 96%;margin-left: 2%;margin-top: 4%;"
| :plain="true" :hairline="true" @click="navigateTo2" text="扫描到货标签"></u-button>
| </view>
| </view>
| </template>
|
|
| <script>
| // import {
|
|
| // } from '../../config/api.js';
| const App = getApp()
| export default {
| onLoad(option) {
|
| },
|
| onPullDownRefresh() {
| setTimeout(() => {
| this.init(() => {
| uni.stopPullDownRefresh();
| })
| }, 1000);
| },
|
| data() {
| return {
|
|
|
| }
| },
| created() {
|
| },
| mounted() {
| this.init()
|
| },
| methods: {
| navigateTo() {
| uni.navigateTo({
| url: './cgrk2' //选择采购订单
| });
| },
| navigateTo2() {
| uni.navigateTo({
| url: './cgrk3' //扫描到货标签
| });
| },
| init() {
| uni.stopPullDownRefresh();
| },
| }
| }
| </script>
|
| <style lang="scss" scoped>
| @import url('@/style/global.css');
|
| ::v-deep .uicon-arrow-left>span {
| display: block;
| }
|
| .body {
| background-color: #f6f7fb !important;
| width: 100%;
| height: 1400rpx;
| display: flex;
| align-items: center;
| }
|
|
| .u-button--large {
| position: relative;
| }
|
| ::v-deep .uicon-plus-circle {
| font-size: 32rpx !important;
| }
| </style>
|
|