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
9bae991f
Commit
9bae991f
authored
Jul 08, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签收之后按钮没消失
parent
364b3763
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
appliedPartsCell.vue
src/components/parts/appliedPartsCell.vue
+8
-3
index.vue
src/pages/mine/warehouse/index.vue
+1
-1
partsDetail.vue
src/pages/mine/warehouse/partsDetail.vue
+6
-2
No files found.
src/components/parts/appliedPartsCell.vue
View file @
9bae991f
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<text
class=
"amount-view"
>
{{
total
}}
</text>
<text
class=
"amount-view"
>
{{
total
}}
</text>
<text>
件
</text>
<text>
件
</text>
</view>
</view>
<u-button
v-if=
"
buttonText
"
:custom-style=
"customStyle"
shape=
"circle"
@
click
.
stop=
"handleOperate"
type=
"primary"
>
{{
buttonText
}}
</u-button>
<u-button
v-if=
"
showButton
"
:custom-style=
"customStyle"
shape=
"circle"
@
click
.
stop=
"handleOperate"
type=
"primary"
>
{{
buttonText
}}
</u-button>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -74,9 +74,13 @@
...
@@ -74,9 +74,13 @@
'20'
:
''
,
'20'
:
''
,
'-2'
:
''
,
'-2'
:
''
,
'-1'
:
''
,
'-1'
:
''
,
'100'
:
''
'100'
:
''
,
'91'
:
''
}
}
},
},
showButton
()
{
return
this
.
info
.
status
==
'1'
||
this
.
info
.
status
==
'15'
},
isHorizontal
()
{
isHorizontal
()
{
return
this
.
type
==
'horizontal'
return
this
.
type
==
'horizontal'
},
},
...
@@ -88,7 +92,8 @@
...
@@ -88,7 +92,8 @@
'20'
:
''
,
'20'
:
''
,
'-2'
:
''
,
'-2'
:
''
,
'-1'
:
''
,
'-1'
:
''
,
'100'
:
''
'100'
:
''
,
'91'
:
''
}
}
},
},
buttonOperateType
()
{
buttonOperateType
()
{
...
...
src/pages/mine/warehouse/index.vue
View file @
9bae991f
src/pages/mine/warehouse/partsDetail.vue
View file @
9bae991f
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"bottom-view"
v-if=
"
buttonText
"
>
<view
class=
"bottom-view"
v-if=
"
showButton
"
>
<view
class=
"total-view"
>
<view
class=
"total-view"
>
<text>
合计:
</text>
<text>
合计:
</text>
<text
class=
"amount-view"
>
{{
total
}}
</text>
<text
class=
"amount-view"
>
{{
total
}}
</text>
...
@@ -84,12 +84,16 @@
...
@@ -84,12 +84,16 @@
'20'
:
''
,
'20'
:
''
,
'-2'
:
''
,
'-2'
:
''
,
'-1'
:
''
,
'-1'
:
''
,
'100'
:
''
'100'
:
''
,
'91'
:
''
}
}
},
},
buttonText
()
{
buttonText
()
{
return
this
.
texts
[
this
.
info
.
status
]
return
this
.
texts
[
this
.
info
.
status
]
},
},
showButton
()
{
return
this
.
info
.
status
==
'1'
||
this
.
info
.
status
==
'15'
},
hasExpress
()
{
hasExpress
()
{
return
this
.
$u
.
test
.
isEmpty
(
this
.
info
.
express
)
?
false
:
true
return
this
.
$u
.
test
.
isEmpty
(
this
.
info
.
express
)
?
false
:
true
},
},
...
...
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