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
fe6667de
Commit
fe6667de
authored
Oct 13, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 复制物料名
parent
a61c5b3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
spareCell.vue
src/components/parts/spareCell.vue
+7
-2
spare.vue
src/pages/mine/warehouse/spare.vue
+1
-1
No files found.
src/components/parts/spareCell.vue
View file @
fe6667de
...
...
@@ -6,7 +6,7 @@
<image
class=
"image-view"
:src=
"imageUrl"
></image>
</view>
<view
class=
"info-view"
>
<view
class=
"name-text"
>
{{
item
.
name
}}
</view>
<view
class=
"name-text"
@
click=
"copyName(item.name)"
>
{{
item
.
name
}}
</view>
<view
class=
"info-bottom"
>
<view>
{{
remarkText
}}
</view>
<view
class=
"count-view"
>
...
...
@@ -66,7 +66,7 @@
},
placeholderImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'morentupian.png'
}
,
}
},
watch
:
{
'item.quantity'
(
val
)
{
...
...
@@ -89,6 +89,11 @@
this
.
$emit
(
'change'
,
this
.
check
)
this
.
$emit
(
'numChange'
,
event
.
value
)
},
copyName
(
name
)
{
uni
.
setClipboardData
({
data
:
name
})
}
}
}
</
script
>
...
...
src/pages/mine/warehouse/spare.vue
View file @
fe6667de
...
...
@@ -34,7 +34,7 @@
<template
v-else
>
<view
class=
"list-item"
v-for=
"(item, index) in partsList"
:key=
"item.id"
>
<SpareCell
:item=
"item"
:showChecked=
"showBounce"
type=
"stock"
@
change=
"handleChange($event, index)"
@
numChange=
"handleNumChange($event, index)"
/>
@
change=
"handleChange($event, index)"
@
numChange=
"handleNumChange($event, index)"
/>
</view>
<!-- 底部加载状态 -->
<view
class=
"load-more-view"
v-if=
"partsList.length > 0"
>
...
...
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