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
0
Merge Requests
0
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
9149ef8b
Commit
9149ef8b
authored
Sep 06, 2025
by
wuqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
4ee9dda6
90303965
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
30 deletions
+44
-30
src/api/podOrder.ts
+2
-3
src/components/searchProdOrder.vue
+8
-9
src/views/order/podCN/PodMakeOrder.vue
+22
-2
src/views/podUsBillOrder/index.vue
+12
-16
No files found.
src/api/podOrder.ts
View file @
9149ef8b
...
@@ -37,13 +37,12 @@ export function getSubOrderBySubOrderNumber(thirdSubOrderNumber: string) {
...
@@ -37,13 +37,12 @@ export function getSubOrderBySubOrderNumber(thirdSubOrderNumber: string) {
)
)
}
}
export
function
getSubOrderBySubOrder
(
factorySubOrderNumber
:
string
,
orderFrom
:
string
)
{
export
function
getSubOrderBySubOrder
(
factorySubOrderNumber
:
string
)
{
return
axios
.
get
<
never
,
BaseRespData
<
PodProductList
>>
(
return
axios
.
get
<
never
,
BaseRespData
<
PodProductList
>>
(
'factory/podJomallOrderProductCnUs/getSubOrderBySubOrderNumber'
,
'factory/podJomallOrderProductCnUs/getSubOrderBySubOrderNumber'
,
{
{
params
:
{
params
:
{
factorySubOrderNumber
,
factorySubOrderNumber
orderFrom
,
},
},
},
},
)
)
...
...
src/components/searchProdOrder.vue
View file @
9149ef8b
...
@@ -84,20 +84,19 @@ const trackcodeInput = async () => {
...
@@ -84,20 +84,19 @@ const trackcodeInput = async () => {
}
}
const
user
=
JSON
.
parse
(
localStorage
.
getItem
(
'user'
)
||
'{}'
)
const
user
=
JSON
.
parse
(
localStorage
.
getItem
(
'user'
)
||
'{}'
)
let
orderNumber
:
string
//
let orderNumber: string
const
underscoreCount
=
(
TrackingNumber
.
value
.
match
(
/_/g
)
||
[]).
length
//
const underscoreCount = (TrackingNumber.value.match(/_/g) || []).length
if
(
underscoreCount
>=
3
)
{
//
if (underscoreCount >= 3) {
orderNumber
=
TrackingNumber
.
value
.
split
(
'_'
)[
3
]
//
orderNumber = TrackingNumber.value.split('_')[3]
}
else
{
//
} else {
orderNumber
=
TrackingNumber
.
value
//
orderNumber = TrackingNumber.value
}
//
}
try
{
try
{
const
res
=
await
getSubOrderBySubOrder
(
const
res
=
await
getSubOrderBySubOrder
(
orderNumber
,
TrackingNumber
.
value
user
.
factory
?.
countryCode
.
toLowerCase
(),
)
)
if
(
!
res
.
data
)
{
if
(
!
res
.
data
)
{
return
ElMessage
.
error
(
'生产单不存在'
)
return
ElMessage
.
error
(
'生产单不存在'
)
...
...
src/views/order/podCN/PodMakeOrder.vue
View file @
9149ef8b
...
@@ -143,12 +143,27 @@
...
@@ -143,12 +143,27 @@
{{ boxIndex }}
{{ boxIndex }}
</span>
</span>
<span
class=
"box-top-item-box-index-text"
>
号箱
</span>
<span
class=
"box-top-item-box-index-text"
>
号箱
</span>
<
template
v-if=
"pickFlag"
>
<strong
style=
"
font-size: 60px;
color: #00ff00;
display: inline-block;
text-align: center;
width: 90px;
"
>
{{
podOrderDetailsData
?.
purchaseNumber
}}
</strong>
<span
style=
"font-size: 30px"
>
{{
'件已配齐'
}}
</span>
</
template
>
<
template
v-else
>
<span
style=
"font-size: 30px"
>
放入第
</span>
<span
style=
"font-size: 30px"
>
放入第
</span>
<div
class=
"box-top-item-box-index-number"
>
<div
class=
"box-top-item-box-index-number"
>
{{
podOrderDetailsData
?.
pickingNumber
}}
{{
podOrderDetailsData
?.
pickingNumber
}}
</div>
</div>
<span
style=
"font-size: 30px"
>
件商品
</span>
<span
style=
"font-size: 30px"
>
件商品
</span>
</
template
>
</div>
</div>
<div
class=
"box-top-item-status"
>
<div
class=
"box-top-item-status"
>
<span
<span
...
@@ -410,7 +425,12 @@ watch(
...
@@ -410,7 +425,12 @@ watch(
)
)
const
podBoxIndex
=
computed
(()
=>
orderStore
.
podBoxIndex
)
const
podBoxIndex
=
computed
(()
=>
orderStore
.
podBoxIndex
)
const
pickFlag
=
computed
(()
=>
{
if
(
podOrderDetailsData
.
value
?.
productList
)
{
return
podOrderDetailsData
.
value
?.
productList
.
every
((
item
)
=>
item
.
power
)
}
return
false
})
let
renderLock
=
false
let
renderLock
=
false
const
renderItemBox
=
(
bool
:
boolean
)
=>
{
const
renderItemBox
=
(
bool
:
boolean
)
=>
{
...
...
src/views/podUsBillOrder/index.vue
View file @
9149ef8b
...
@@ -210,15 +210,6 @@
...
@@ -210,15 +210,6 @@
<
template
#
default
>
US
账户
<
/template
>
<
template
#
default
>
US
账户
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
<
el
-
table
-
column
label
=
"应付金额($)"
header
-
align
=
"center"
prop
=
"totalAmount"
width
=
"130"
align
=
"center"
show
-
overflow
-
tooltip
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"实付金额($)"
label
=
"实付金额($)"
header
-
align
=
"center"
header
-
align
=
"center"
prop
=
"actual_amount"
prop
=
"actual_amount"
...
@@ -601,17 +592,23 @@
...
@@ -601,17 +592,23 @@
/>
/>
<
el
-
table
-
column
<
el
-
table
-
column
label
=
"订单号"
label
=
"订单号"
prop
=
"
order.
order_number"
prop
=
"
erp_
order_number"
header
-
align
=
"center"
header
-
align
=
"center"
align
=
"center"
align
=
"center"
min
-
width
=
"220"
min
-
width
=
"220"
show
-
overflow
-
tooltip
show
-
overflow
-
tooltip
>
>
<
template
#
default
=
"{ row
}
"
>
<
span
>
{{
<
/el-table-column
>
row
.
erp_order_number
||
row
.
factory_order_number
<
el
-
table
-
column
}}
<
/span
>
label
=
"工厂订单号"
<
/template
>
prop
=
"order.factory_order_number"
header
-
align
=
"center"
align
=
"center"
min
-
width
=
"220"
show
-
overflow
-
tooltip
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
<
el
-
table
-
column
label
=
"店铺单号"
label
=
"店铺单号"
...
@@ -945,7 +942,6 @@
...
@@ -945,7 +942,6 @@
<
el
-
col
:
span
=
"6"
>
<
el
-
col
:
span
=
"6"
>
物流总价
(
$
)
:
{{
currentRow
?.
carriage_total_amount
}}
物流总价
(
$
)
:
{{
currentRow
?.
carriage_total_amount
}}
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"6"
>
应付金额
(
$
)
:
{{
currentRow
?.
total_amount
}}
<
/el-col
>
<
el
-
col
:
span
=
"6"
>
实付金额
(
$
)
:
{{
currentRow
?.
actual_amount
}}
<
/el-col
>
<
el
-
col
:
span
=
"6"
>
实付金额
(
$
)
:
{{
currentRow
?.
actual_amount
}}
<
/el-col
>
<
/el-row
>
<
/el-row
>
<
el
-
row
style
=
"margin: 10px 0"
>
<
el
-
row
style
=
"margin: 10px 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