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
c9c063f4
Commit
c9c063f4
authored
Jun 25, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tiff 按钮加载bug修复
parent
5456fcc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
26 deletions
+27
-26
src/views/order/podUs/index.vue
+27
-26
No files found.
src/views/order/podUs/index.vue
View file @
c9c063f4
...
...
@@ -262,7 +262,7 @@
blue: item.quantity && item.quantity > 0,
red: item.status === 'EXCEPTION_ORDER',
}"
>
{{ item.quantity }}
</span
>
{{ item.quantity }}
</span
>
</div>
<!-- <div
...
...
@@ -329,7 +329,7 @@
<ElButton
:loading=
"tifDownloadLoading"
type=
"warning"
@
click=
"downloadTif('tiff'
, 'tiff'
)"
@
click=
"downloadTif('tiff')"
>
TIF排版
</ElButton>
...
...
@@ -338,7 +338,7 @@
<ElButton
:loading=
"pngDownloadLoading"
type=
"warning"
@
click=
"downloadTif('png'
, 'composingPNG'
)"
@
click=
"downloadTif('png')"
>
PNG排版
</ElButton>
...
...
@@ -447,19 +447,19 @@
<
template
#
dropdown
>
<ElDropdownMenu>
<ElDropdownItem
@
click=
"getOrderByIdApi('createLogisticsOrder')"
>
创建物流订单
</ElDropdownItem
>
创建物流订单
</ElDropdownItem
>
<ElDropdownItem
@
click=
"getOrderByIdApi('getTrackingNumber')"
>
获取跟踪号
</ElDropdownItem
>
获取跟踪号
</ElDropdownItem
>
<ElDropdownItem
@
click=
"getOrderByIdApi('getPrintOrder')"
>
获取打印面单
</ElDropdownItem
>
获取打印面单
</ElDropdownItem
>
<ElDropdownItem
@
click=
"getOrderByIdApi('cancelLogisticsOrder')"
>
取消物流订单
</ElDropdownItem
>
取消物流订单
</ElDropdownItem
>
<ElDropdownItem
@
click=
"getOrderByIdApi('batchChangeLogistics')"
>
更换物流
</ElDropdownItem
>
更换物流
</ElDropdownItem
>
</ElDropdownMenu>
</
template
>
...
...
@@ -610,7 +610,7 @@
</div>
<div
class=
"goods-item-info-item"
>
<span
class=
"goods-item-info-item-label"
>
第三方生产单号:
</span
>
第三方生产单号:
</span
>
<span
class=
"goods-item-info-item-value"
...
...
@@ -643,7 +643,7 @@
>
<!--
<span
class=
"goods-item-info-item-label"
>
补胚状态:
</span>
-->
<el-tag
size=
"small"
effect=
"dark"
type=
"danger"
>
补胚中
>
补胚中
</el-tag>
</div>
</div>
...
...
@@ -675,13 +675,13 @@
<div
class=
"goods-item-info-item"
>
<span
class=
"goods-item-info-item-label"
>
{{
status
===
'EXCEPTION_ORDER'
||
status
===
'PICKING'
||
status
===
'TO_BE_CONFIRMED'
||
status
===
'STOCK_OUT'
?
'数量:'
:
'已生产数量:'
}}
</span>
status
===
'EXCEPTION_ORDER'
||
status
===
'PICKING'
||
status
===
'TO_BE_CONFIRMED'
||
status
===
'STOCK_OUT'
?
'数量:'
:
'已生产数量:'
}}
</span>
<span
class=
"goods-item-info-item-value"
>
{{
status
===
'EXCEPTION_ORDER'
||
...
...
@@ -710,7 +710,7 @@
size=
"small"
type=
"success"
@
click=
"applyForReplenishment(item)"
>
申请补胚
>
申请补胚
</el-button>
<!-- f -->
</div>
...
...
@@ -896,17 +896,17 @@
<el-timeline-item
:color=
"row.createTime ? '#409EFF' : ''"
:timestamp=
"row.createTime"
>
创建时间
>
创建时间
</el-timeline-item>
<el-timeline-item
:color=
"row.startStockingTime ? '#E6A23C' : ''"
:timestamp=
"row.startStockingTime"
>
确认时间
>
确认时间
</el-timeline-item>
<el-timeline-item
:color=
"row.finishTime ? '#67C23A' : ''"
:timestamp=
"row.finishTime"
>
完成时间
>
完成时间
</el-timeline-item>
</el-timeline>
<!--
<div
class=
"order-time-box"
>
...
...
@@ -1079,7 +1079,7 @@
<
div
class
=
"grid-container"
>
<
div
class
=
"grid-item"
title
=
"商品名称"
>
<
span
class
=
"grid-item-value"
>
{{
cardItem
?.
productName
}}
>
{{
cardItem
?.
productName
}}
<
/span
>
<
/div
>
<
div
...
...
@@ -1181,7 +1181,7 @@
<
/div
>
<
div
v
-
if
=
"cardItem.isReplenishment"
class
=
"grid-item"
>
<
el
-
tag
size
=
"small"
type
=
"danger"
effect
=
"dark"
>
补胚中
>
补胚中
<
/el-tag
>
<
/div
>
<
/div
>
...
...
@@ -1636,7 +1636,7 @@ import platformJson from '../../../json/platform.json'
declare
global
{
interface
Window
{
ActiveXObject
:
{
new
(
type
:
string
):
XMLHttpRequest
new
(
type
:
string
):
XMLHttpRequest
}
VBS_BinaryToArray
:
{
(
data
:
unknown
):
{
toArray
():
number
[]
}
...
...
@@ -2183,7 +2183,7 @@ const productionClientVisible = ref(false)
// productionClientVisible.value = true
//
}
const
downloadTif
=
async
(
type
:
string
,
dir
:
string
)
=>
{
const
downloadTif
=
async
(
type
:
string
)
=>
{
if
(
!
cardSelection
.
value
.
length
)
{
return
ElMessage
.
warning
(
'请选择数据'
)
}
...
...
@@ -2197,7 +2197,8 @@ const downloadTif = async (type: string, dir: string) => {
cardSelection
.
value
.
map
((
el
)
=>
el
.
id
),
type
,
)
window
.
open
(
`https://ps.jomalls.com/${dir
}
/`
+
res
.
message
,
'_blank'
)
const
url
=
type
===
'tiff'
?
`https://ps.jomalls.com/tiff/`
+
res
.
message
:
filePath
+
res
.
message
window
.
open
(
url
,
'_blank'
)
if
(
type
===
'tiff'
)
{
tifDownloadLoading
.
value
=
false
}
else
{
...
...
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