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
cc107525
Commit
cc107525
authored
Jun 26, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
Dev See merge request
!50
parents
c39eb70b
37d1f4b9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
src/views/order/podUs/components/updateAddress.vue
+1
-1
src/views/order/podUs/index.vue
+11
-7
No files found.
src/views/order/podUs/components/updateAddress.vue
View file @
cc107525
...
@@ -45,7 +45,7 @@ const submitForm = async () => {
...
@@ -45,7 +45,7 @@ const submitForm = async () => {
visible
.
value
=
false
visible
.
value
=
false
emits
(
'success'
)
emits
(
'success'
)
await
ElMessageBox
.
alert
(
await
ElMessageBox
.
alert
(
'请修改/刷新地址后取消物流
重新创建物流订单、获取跟踪号、获取打印面单。
'
,
'请修改/刷新地址后取消物流
或者更换物流在重新创建物流订单、获取跟踪号、获取打印面单
'
,
'提示'
,
'提示'
,
{
{
type
:
'warning'
,
type
:
'warning'
,
...
...
src/views/order/podUs/index.vue
View file @
cc107525
...
@@ -1087,7 +1087,9 @@
...
@@ -1087,7 +1087,9 @@
<
div
<
div
:
style
=
"{
:
style
=
"{
visibility:
visibility:
status === 'IN_PRODUCTION' || status === 'PICKING'
status === 'IN_PRODUCTION' ||
status === 'PICKING' ||
status === 'TO_BE_ARRANGE'
? 'visible'
? 'visible'
: 'hidden',
: 'hidden',
}
"
}
"
...
@@ -1108,7 +1110,7 @@
...
@@ -1108,7 +1110,7 @@
{{
cardItem
?.
baseSku
}}
{{
cardItem
?.
baseSku
}}
<
/span
>
<
/span
>
<
/div
>
<
/div
>
<
div
class
=
"grid-item"
>
<
div
v
-
if
=
"status !== 'TO_BE_ARRANGE'"
class
=
"grid-item"
>
<
span
class
=
"grid-item-label"
>
补胚数量:
<
/span
>
<
span
class
=
"grid-item-label"
>
补胚数量:
<
/span
>
<
span
class
=
"grid-item-value"
>
<
span
class
=
"grid-item-value"
>
{{
cardItem
?.
replenishmentNum
||
0
}}
{{
cardItem
?.
replenishmentNum
||
0
}}
...
@@ -1821,7 +1823,7 @@ const handleRefreshAddress = async (row: PodUsOrderListData) => {
...
@@ -1821,7 +1823,7 @@ const handleRefreshAddress = async (row: PodUsOrderListData) => {
}
}
await
refreshAddressApi
([
row
.
id
])
await
refreshAddressApi
([
row
.
id
])
await
ElMessageBox
.
alert
(
await
ElMessageBox
.
alert
(
'请修改/刷新地址后取消物流
重新创建物流订单、获取跟踪号、获取打印面单。
'
,
'请修改/刷新地址后取消物流
或者更换物流在重新创建物流订单、获取跟踪号、获取打印面单
'
,
'提示'
,
'提示'
,
{
{
type
:
'warning'
,
type
:
'warning'
,
...
@@ -2236,7 +2238,7 @@ const downloadTif = async (type: string) => {
...
@@ -2236,7 +2238,7 @@ const downloadTif = async (type: string) => {
tifDownloadLoading
.
value
=
false
tifDownloadLoading
.
value
=
false
}
else
{
}
else
{
fetch
(
url
)
fetch
(
url
)
.
then
(
response
=>
{
.
then
(
(
response
)
=>
{
// 确保响应是 OK
// 确保响应是 OK
if
(
!
response
.
ok
)
{
if
(
!
response
.
ok
)
{
throw
new
Error
(
'网络响应错误'
)
throw
new
Error
(
'网络响应错误'
)
...
@@ -2244,15 +2246,17 @@ const downloadTif = async (type: string) => {
...
@@ -2244,15 +2246,17 @@ const downloadTif = async (type: string) => {
// 返回图片的二进制数据(Blob)
// 返回图片的二进制数据(Blob)
return
response
.
blob
()
return
response
.
blob
()
}
)
}
)
.
then
(
blob
=>
{
.
then
(
(
blob
)
=>
{
const
a
=
document
.
createElement
(
'a'
)
const
a
=
document
.
createElement
(
'a'
)
a
.
href
=
window
.
URL
.
createObjectURL
(
blob
)
a
.
href
=
window
.
URL
.
createObjectURL
(
blob
)
a
.
target
=
'_blank'
a
.
target
=
'_blank'
a
.
download
=
(
res
.
message
as
string
).
split
(
'/'
)[
(
res
.
message
as
string
).
split
(
'/'
).
length
-
1
]
a
.
download
=
(
res
.
message
as
string
).
split
(
'/'
)[
(
res
.
message
as
string
).
split
(
'/'
).
length
-
1
]
a
.
click
()
a
.
click
()
pngDownloadLoading
.
value
=
false
pngDownloadLoading
.
value
=
false
}
)
}
)
.
catch
(
error
=>
{
.
catch
(
(
error
)
=>
{
console
.
error
(
'下载图片时出错:'
,
error
)
console
.
error
(
'下载图片时出错:'
,
error
)
pngDownloadLoading
.
value
=
false
pngDownloadLoading
.
value
=
false
}
)
}
)
...
...
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