Commit c612caba authored by Facius's avatar Facius

出入库记录

parent 4ac53a7d
......@@ -300,8 +300,9 @@
"path": "warehouse/records",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "操作记录",
"enablePullDownRefresh": false
"navigationBarTitleText": "出入库记录",
"enablePullDownRefresh": false,
"disableScroll": true
}
},
{
......
<template>
<view class="ware-wrap">
<w-navbar title="" :background="{backgroundColor: '#F4F5F7'}"></w-navbar>
<u-navbar back-icon-color="#333333" background="#FFFFFF" title="出入库记录" titleColor="#333333"
:border-bottom="false" title-bold></u-navbar>
<!-- <view class="content">
<view class="panel">
<view class="title">物料明细</view>
......@@ -61,22 +62,22 @@
},
computed: {},
onLoad() {
getApp().trackPage('我的仓库-操作记录')
getApp().trackPage('出入库记录')
this.getData();
},
methods: {
getData() {
let self = this
self.initDetails()
// self.initDetails()
self.loadAccess()
},
async initDetails() {
let self = this
let res = await self.$u.api.listBystock()
if(res && res.code == 200) {
self.details = res.data
}
},
// async initDetails() {
// let self = this
// let res = await self.$u.api.listBystock()
// if(res && res.code == 200) {
// self.details = res.data
// }
// },
loadRecord() {
if(this.status == 'nomore') return ;
this.status = 'loading';
......@@ -109,13 +110,15 @@
<style lang="scss" scoped>
.ware-wrap {
background-color: #F4F5F7;
.content {
padding: 34rpx 30rpx;
background-color: #FFFFFF;
// .content {
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
.panel {
padding: 0 30rpx 44rpx 30rpx;
height: 100%;
.title {
margin-bottom: 30rpx;
font-size: 32rpx;
......@@ -151,7 +154,7 @@
}
}
}
}
// }
}
}
.width-504 {
......
......@@ -66,6 +66,13 @@
searchButtonText() {
return this.searchedKeyword == this.keyword && this.keyword ? '取消' : '搜索'
},
actionStyle() {
return {
'font-size': '32rpx',
'color': '#2272FF',
'margin-left': '20rpx'
}
},
},
onLoad(e) {
getApp().trackPage('我的配件页')
......
......@@ -93,7 +93,7 @@
return {
'font-size': '32rpx',
'color': '#2272FF',
'margin-left': '10rpx'
'margin-left': '20rpx'
}
},
subBarInfo() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment