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
f8da4a73
Commit
f8da4a73
authored
Jul 21, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
podus 显示货号和变体sku See merge request
!64
parents
19882cdb
30bcb9a9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
src/components/CommonCard.vue
+1
-1
src/types/api/podUsOrder.ts
+1
-0
src/views/order/podUs/index.vue
+14
-4
No files found.
src/components/CommonCard.vue
View file @
f8da4a73
...
@@ -123,7 +123,7 @@ const props = withDefaults(defineProps<Props>(), {
...
@@ -123,7 +123,7 @@ const props = withDefaults(defineProps<Props>(), {
// 获取主图片源
// 获取主图片源
const
mainImageSrc
=
computed
<
string
>
(()
=>
{
const
mainImageSrc
=
computed
<
string
>
(()
=>
{
const
item
=
props
.
cardItem
as
IndexableObject
;
const
item
=
props
.
cardItem
as
IndexableObject
;
// 使用索引访问避免联合类型的属性访问问题
// 使用索引访问避免联合类型的属性访问问题
if
(
if
(
props
.
imageField
===
'variantImage'
&&
props
.
imageField
===
'variantImage'
&&
...
...
src/types/api/podUsOrder.ts
View file @
f8da4a73
...
@@ -82,6 +82,7 @@ export interface ProductList {
...
@@ -82,6 +82,7 @@ export interface ProductList {
id
:
number
id
:
number
podJomallOrderUsId
:
number
podJomallOrderUsId
:
number
thirdSubOrderNumber
?:
string
thirdSubOrderNumber
?:
string
thirdStockSku
?:
string
factorySubOrderNumber
?:
string
factorySubOrderNumber
?:
string
factoryCode
?:
string
factoryCode
?:
string
productName
?:
string
productName
?:
string
...
...
src/views/order/podUs/index.vue
View file @
f8da4a73
...
@@ -660,7 +660,7 @@
...
@@ -660,7 +660,7 @@
<DocumentCopy
/>
<DocumentCopy
/>
</el-icon>
</el-icon>
</div>
</div>
<div
v-if=
"item.thirdStockSku"
class=
"goods-item-info-item"
>
<div
class=
"goods-item-info-item"
>
<span
class=
"goods-item-info-item-label"
>
货号:
</span>
<span
class=
"goods-item-info-item-label"
>
货号:
</span>
<span
class=
"goods-item-info-item-value"
>
<span
class=
"goods-item-info-item-value"
>
{{
item
.
thirdStockSku
}}
{{
item
.
thirdStockSku
}}
...
@@ -741,6 +741,7 @@
...
@@ -741,6 +741,7 @@
{{
item
.
supplierProductNo
}}
{{
item
.
supplierProductNo
}}
</span>
</span>
</div>
</div>
<div
<div
v-if=
"item.isReplenishment"
v-if=
"item.isReplenishment"
class=
"goods-item-info-item"
class=
"goods-item-info-item"
...
@@ -1340,15 +1341,15 @@
...
@@ -1340,15 +1341,15 @@
<
/div
>
<
/div
>
<
div
class
=
"grid-item"
>
<
div
class
=
"grid-item"
>
<
div
<
div
:
title
=
"`
Base SKU:${cardItem?.base
Sku || ''
}
`"
:
title
=
"`
variant SKU: ${cardItem?.variant
Sku || ''
}
`"
class
=
"grid-item-value orderNumber"
class
=
"grid-item-value orderNumber"
>
>
{{
cardItem
?.
base
Sku
}}
{{
cardItem
?.
variant
Sku
}}
<
el
-
icon
<
el
-
icon
class
=
"icon"
class
=
"icon"
style
=
"margin-left: 3px"
style
=
"margin-left: 3px"
size
=
"14"
size
=
"14"
@
click
=
"copy(cardItem?.
base
Sku || '')"
@
click
=
"copy(cardItem?.
variant
Sku || '')"
>
>
<
DocumentCopy
/>
<
DocumentCopy
/>
<
/el-icon
>
<
/el-icon
>
...
@@ -1400,6 +1401,15 @@
...
@@ -1400,6 +1401,15 @@
{{
cardItem
?.
supplierProductNo
}}
{{
cardItem
?.
supplierProductNo
}}
<
/span
>
<
/span
>
<
/div
>
<
/div
>
<
div
class
=
"grid-item"
>
<
span
class
=
"grid-item-label"
>
货号:
<
/span
>
<
span
:
title
=
"`货号: ${cardItem?.thirdStockSku
}
`"
class
=
"grid-item-value"
>
{{
cardItem
?.
thirdStockSku
}}
<
/span
>
<
/div
>
<
div
<
div
class
=
"grid-item"
class
=
"grid-item"
...
...
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