Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
7b1cc9f7
Commit
7b1cc9f7
authored
Aug 22, 2024
by
qinjianhui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wq' into 'master'
Wq See merge request
!2
parents
e9ea2851
cdcea429
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/views/order/ProductInfo.vue
+8
-3
No files found.
src/views/order/ProductInfo.vue
View file @
7b1cc9f7
...
@@ -102,17 +102,17 @@
...
@@ -102,17 +102,17 @@
</span>
</span>
</div>
</div>
<div
<div
:title=
"
item
.remark || ''"
:title=
"
(item as InterItem)
.remark || ''"
class=
"order-list-expand_item_info_title"
class=
"order-list-expand_item_info_title"
>
>
<span
class=
"order-list-expand_item_label"
>
备注:
</span>
<span
class=
"order-list-expand_item_label"
>
备注:
</span>
<span
class=
"order-list-expand_item_value"
<span
class=
"order-list-expand_item_value"
>
{{
item
.
remark
||
'--'
}}
>
{{
(
item
as
InterItem
)
.
remark
||
'--'
}}
</span>
</span>
<el-icon
<el-icon
class=
"icon"
class=
"icon"
style=
"color: #e6a23c"
style=
"color: #e6a23c"
@
click=
"setRemarks(item.id,
item.remark
)"
@
click=
"setRemarks(item.id,
(item as InterItem).remark||''
)"
><EditPen
><EditPen
/></el-icon>
/></el-icon>
</div>
</div>
...
@@ -196,6 +196,11 @@ defineProps({
...
@@ -196,6 +196,11 @@ defineProps({
type
:
Number
,
type
:
Number
,
},
},
})
})
interface
InterItem
{
id
:
number
;
remark
?:
string
;
// 可选属性
[
propName
:
string
]:
string
|
number
|
boolean
|
undefined
|
unknown
;
// 额外属性
}
const
emit
=
defineEmits
<
{
const
emit
=
defineEmits
<
{
(
e
:
'update-remark'
,
payload
:
{
id
:
number
;
remark
:
string
}):
void
;
(
e
:
'update-remark'
,
payload
:
{
id
:
number
;
remark
:
string
}):
void
;
}
>
();
}
>
();
...
...
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