123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <template>
- <view>
- <view class="menu">
- <view class="btn">
- <u-button type="success" @click="goScanBox">按计划装箱</u-button>
- </view>
- <view class="btn">
- <u-button @click="goScanSet">无计划装箱</u-button>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- boxForm: {
- invType: '',
- org: '',
- workshop: '',
- packType: '',
- },
- invTypes: [],
- orgs: [],
- workshops: [],
- packTypes: [],
- }
- },
- mounted() {},
- onLoad(option) {
- // const Info = JSON.parse(decodeURIComponent(option.Info))
- // console.log(Info);
- uni.setStorageSync('box_invType', '');
- },
- methods: {
- goScanBox() {
- uni.setStorageSync('box_invType', 'AJHZX');
- this.$tab.navigateTo('/pages/index/scan-box')
- },
- goScanSet() {
- uni.setStorageSync('box_invType', 'ZXRGJC');
- this.$tab.navigateTo('/pages/index/scan-set')
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- page {
- // background-image: linear-gradient(to bottom, #b9c4de, #ffffff);
- }
- .menu {
- display: flex;
- flex-wrap: wrap;
- padding-top: 20%;
- flex-direction: column;
- align-items: center;
- .btn {
- margin: 5%;
- width: 50%;
- }
- }
- </style>
|