<template>
|
<view>
|
<page-nav title="采购到货"></page-nav>
|
<!-- style="flex-direction: column;"> -->
|
<view class="body">
|
<u-button type="primary" icon='plus-circle' size='large' style="width: 96%;margin-left: 2%;" :plain="true"
|
:hairline="true" @click="navigateTo" text="选择采购订单"></u-button>
|
|
<!-- <u-button type="primary" icon='plus-circle' size='large' style="width: 96%;margin-left: 2%;margin-top: 70%;"
|
:plain="true" :hairline="true" @click="navigateTo2" 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="navigateTo" 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: './cgdh2'
|
});
|
},
|
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>
|