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
b5f911d1
Commit
b5f911d1
authored
Sep 13, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 【ID1001716】【扳手会小程序】:物料选择页面,隐藏字段“可用xxx件”
parent
8b7dcae6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
index.vue
src/components/select-parts/index.vue
+7
-1
addParts.vue
src/pages/parts/addParts.vue
+1
-0
No files found.
src/components/select-parts/index.vue
View file @
b5f911d1
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<view
class=
"right-content-name u-line-2"
>
{{
info
.
name
}}
</view>
<view
class=
"right-content-name u-line-2"
>
{{
info
.
name
}}
</view>
<view
class=
"right-content-desc u-line-2"
>
{{
info
.
remark
}}
</view>
<view
class=
"right-content-desc u-line-2"
>
{{
info
.
remark
}}
</view>
<view
class=
"u-flex right-content-opera"
>
<view
class=
"u-flex right-content-opera"
>
<view
class=
"no"
v-if=
"
info.max
"
>
<view
class=
"no"
v-if=
"
maxShow
"
>
可用
{{
info
.
max
}}
件
可用
{{
info
.
max
}}
件
</view>
</view>
<view
class=
"num"
>
<view
class=
"num"
>
...
@@ -43,6 +43,12 @@
...
@@ -43,6 +43,12 @@
default
()
{
default
()
{
return
false
return
false
}
}
},
maxShow
:
{
// 是否显示可用数量
type
:
Boolean
,
default
()
{
return
true
}
}
}
},
},
data
()
{
data
()
{
...
...
src/pages/parts/addParts.vue
View file @
b5f911d1
...
@@ -104,6 +104,7 @@
...
@@ -104,6 +104,7 @@
:key=
"index"
:key=
"index"
:info=
"item"
:info=
"item"
:show-checked=
"false"
:show-checked=
"false"
:maxShow=
"false"
@
numChange=
"numChange($event, item, index)"
@
numChange=
"numChange($event, item, index)"
@
apply=
"apply(item, index)"
@
apply=
"apply(item, index)"
></select-parts>
></select-parts>
...
...
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