Commit c612caba authored by Facius's avatar Facius

出入库记录

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