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
01db4852
Commit
01db4852
authored
Jun 24, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的备件
parent
86d9e393
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
90 additions
and
51 deletions
+90
-51
appliedPartsCell.vue
src/components/parts/appliedPartsCell.vue
+1
-1
index.vue
src/components/submit-bar/index.vue
+33
-21
mine.vue
src/pages/index/mine.vue
+6
-0
return.vue
src/pages/mine/warehouse/return.vue
+2
-24
spare.vue
src/pages/mine/warehouse/spare.vue
+48
-5
No files found.
src/components/parts/appliedPartsCell.vue
View file @
01db4852
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
case
'-1'
:
// 审核未通过
case
'-1'
:
// 审核未通过
return
'#FA5A49'
return
'#FA5A49'
case
'1'
:
// 已取消
case
'1'
:
// 已取消
return
'#
666666
'
return
'#
333333
'
default
:
default
:
return
'#2272FF'
return
'#2272FF'
}
}
...
...
src/components/submit-bar/index.vue
View file @
01db4852
<
template
>
<
template
>
<view
class=
"u-flex bottom"
>
<view
class=
"u-flex bottom"
:style=
"customStyle"
>
<view
class=
"u-flex bottom-left"
v-if=
"showChecked"
>
<view
class=
"select-view"
>
<view
class=
"left-list"
><u-checkbox
v-model=
"checked"
@
change=
"selectAll"
shape=
"circle"
width=
"30rpx"
/></view>
<view
class=
"u-flex bottom-left"
v-if=
"showChecked"
>
<view
class=
"left-list"
>
全选
</view>
<view
class=
"left-list"
><u-checkbox
icon-size=
"30"
size=
"40"
v-model=
"checked"
@
change=
"selectAll"
shape=
"circle"
/></view>
</view>
<view
class=
"left-list"
>
全选
</view>
<view
class=
"u-flex bottom-center"
>
</view>
<view
class=
"center-list"
>
已选择
{{
partNum
}}
种配件
</view>
<view
class=
"u-flex bottom-center"
>
<view
class=
"center-list"
>
合计
<text
class=
"num"
>
{{
num
}}
</text>
件
</view>
<view
class=
"center-list"
>
已选择
{{
partNum
}}
种
</view>
</view>
<view
class=
"center-list"
>
合计:
<text
class=
"num"
>
{{
num
}}
</text>
件
</view>
</view>
</view>
<view
class=
"u-flex bottom-right"
>
<view
class=
"u-flex bottom-right"
>
<button
:class=
"['btn', btnActive]"
@
click=
"submit"
>
{{
submitTxt
}}
</button>
<button
:class=
"['btn', btnActive]"
@
click=
"submit"
>
{{
submitTxt
}}
</button>
</view>
</view>
...
@@ -53,6 +55,10 @@
...
@@ -53,6 +55,10 @@
return
'确定'
return
'确定'
}
}
}
}
},
customStyle
:
{
type
:
String
,
default
:
'background-color: #FFFFFF;padding: 0 30rpx;'
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -86,28 +92,33 @@
...
@@ -86,28 +92,33 @@
.bottom
{
.bottom
{
width
:
100%
;
width
:
100%
;
height
:
180rpx
;
height
:
180rpx
;
background
:
#fff
;
//
background: #fff;
justify-content
:
space-between
;
justify-content
:
space-between
;
.u-flex
{
.u-flex
{
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
}
}
.select-view
{
display
:
flex
;
align-items
:
center
;
}
.bottom-left
{
.bottom-left
{
margin-left
:
30rpx
;
//
margin-left: 30rpx;
.left-list
{
.left-list
{
width
:
100%
;
width
:
100%
;
&
:nth-of-type
(
1
)
{
&
:nth-of-type
(
1
)
{
padding-left
:
10
rpx
;
padding-left
:
3
rpx
;
}
}
&
:nth-of-type
(
2
)
{
&
:nth-of-type
(
2
)
{
padding-top
:
20rpx
;
margin-top
:
8rpx
;
font-size
:
20rpx
;
}
}
}
}
}
}
.bottom-center
{
.bottom-center
{
flex
:
1
;
flex
:
1
;
align-items
:
flex-start
;
align-items
:
flex-start
;
margin
:
0
20rpx
;
//
margin: 0 20rpx;
.center-list
{
.center-list
{
&
:nth-of-type
(
1
)
{
&
:nth-of-type
(
1
)
{
color
:
#666
;
color
:
#666
;
...
@@ -115,18 +126,19 @@
...
@@ -115,18 +126,19 @@
}
}
&
:nth-of-type
(
2
)
{
&
:nth-of-type
(
2
)
{
color
:
#333
;
color
:
#333
;
font-size
:
28rpx
;
font-size
:
32rpx
;
margin-top
:
20rpx
;
margin-top
:
8rpx
;
font-weight
:
bold
;
.num
{
.num
{
color
:
#2272FF
;
color
:
#2272FF
;
padding
:
0
10rpx
;
padding
-right
:
10rpx
;
}
}
}
}
}
}
}
}
.bottom-right
{
.bottom-right
{
width
:
3
4
0rpx
;
width
:
3
6
0rpx
;
margin-right
:
20rpx
;
//
margin-right: 20rpx;
.btn
{
.btn
{
width
:
100%
;
width
:
100%
;
padding
:
30rpx
;
padding
:
30rpx
;
...
...
src/pages/index/mine.vue
View file @
01db4852
...
@@ -147,6 +147,12 @@
...
@@ -147,6 +147,12 @@
value
:
''
,
value
:
''
,
icon
:
process
.
uniEnv
.
qn_base_url
+
'cangku.png'
,
icon
:
process
.
uniEnv
.
qn_base_url
+
'cangku.png'
,
},
},
{
pathName
:
'warehouse/records'
,
title
:
'出入库记录'
,
value
:
''
,
icon
:
process
.
uniEnv
.
qn_base_url
+
'cangku.png'
,
},
]
]
},
},
telTip
()
{
telTip
()
{
...
...
src/pages/mine/warehouse/return.vue
View file @
01db4852
...
@@ -9,12 +9,6 @@
...
@@ -9,12 +9,6 @@
<text
class=
"search-btn-placeholder"
>
请输入关键字
</text>
<text
class=
"search-btn-placeholder"
>
请输入关键字
</text>
</view>
</view>
<text
class=
"search-btn-text"
>
搜索
</text>
<text
class=
"search-btn-text"
>
搜索
</text>
</view>
<view
class=
"title-view"
>
<view>
返件列表列表
</view>
<!--
<u-button
class=
"right-btn"
@
click=
"handleClickRecords"
:custom-style=
"buttonStyle"
type=
"primary"
shape=
"circle"
>
操作记录
</u-button>
-->
<view
class=
"right-btn"
@
click=
"handleClickRecords"
>
操作记录
</view>
</view>
</view>
<view
class=
"tab-view"
>
<view
class=
"tab-view"
>
<scroll-view
scroll-y
style=
"height: 100%;width: 100%;"
@
scrolltolower=
"reachBottom"
scroll-anchoring
<scroll-view
scroll-y
style=
"height: 100%;width: 100%;"
@
scrolltolower=
"reachBottom"
scroll-anchoring
...
@@ -114,11 +108,7 @@
...
@@ -114,11 +108,7 @@
url
:
'pages/mine/warehouse/partsDetail'
url
:
'pages/mine/warehouse/partsDetail'
})
})
},
},
handleClickRecords
()
{
uni
.
navigateTo
({
url
:
'pages/mine/warehouse/records'
})
},
handleClickSearch
()
{
handleClickSearch
()
{
},
},
...
@@ -182,19 +172,7 @@
...
@@ -182,19 +172,7 @@
text-align
:
right
;
text-align
:
right
;
}
}
}
}
.title-view
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
color
:
#333333
;
font-weight
:
bold
;
font-size
:
32rpx
;
.right-btn
{
padding-left
:
20rpx
;
color
:
#666666
;
font-size
:
26rpx
;
}
}
.tab-view
{
.tab-view
{
height
:
100%
;
height
:
100%
;
overflow
:
auto
;
overflow
:
auto
;
...
...
src/pages/mine/warehouse/spare.vue
View file @
01db4852
This diff is collapsed.
Click to expand it.
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