Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
c612caba
Commit
c612caba
authored
Jun 25, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出入库记录
parent
4ac53a7d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
17 deletions
+28
-17
pages.json
src/pages.json
+3
-2
records.vue
src/pages/mine/warehouse/records.vue
+17
-14
return.vue
src/pages/mine/warehouse/return.vue
+7
-0
spare.vue
src/pages/mine/warehouse/spare.vue
+1
-1
No files found.
src/pages.json
View file @
c612caba
...
@@ -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
}
}
},
},
{
{
...
...
src/pages/mine/warehouse/records.vue
View file @
c612caba
<
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
:
#F
4F5F7
;
background-color
:
#F
FFFFF
;
.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
{
...
...
src/pages/mine/warehouse/return.vue
View file @
c612caba
...
@@ -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
(
'我的配件页'
)
...
...
src/pages/mine/warehouse/spare.vue
View file @
c612caba
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
return
{
return
{
'font-size'
:
'32rpx'
,
'font-size'
:
'32rpx'
,
'color'
:
'#2272FF'
,
'color'
:
'#2272FF'
,
'margin-left'
:
'
1
0rpx'
'margin-left'
:
'
2
0rpx'
}
}
},
},
subBarInfo
()
{
subBarInfo
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment