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
cc86aa8e
Commit
cc86aa8e
authored
Mar 27, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
Dev See merge request
!176
parents
3fb76dc3
685ca9eb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
12 deletions
+43
-12
src/api/axios.ts
+0
-1
src/types/api/podCnOrder.ts
+2
-1
src/views/order/podCN/FastProduction.vue
+2
-2
src/views/order/podCN/PodMakeOrder.vue
+11
-1
src/views/order/podCN/index.vue
+28
-7
No files found.
src/api/axios.ts
View file @
cc86aa8e
...
...
@@ -35,7 +35,6 @@ axios.interceptors.response.use(
(
response
)
=>
{
// 1. 判断响应码
const
data
=
response
.
data
if
(
data
&&
typeof
data
===
'object'
&&
typeof
data
.
code
===
'number'
)
{
// token 过期
if
(
data
.
code
===
403
)
{
...
...
src/types/api/podCnOrder.ts
View file @
cc86aa8e
...
...
@@ -15,6 +15,8 @@ export interface ExportParams extends SearchForm {
}
export
interface
SearchForm
{
timeType
?:
number
|
null
newStandard
?:
number
|
string
standardDesignImage
?:
0
|
1
|
2
|
null
shopNumber
?:
string
productMark
?:
string
shipmentType
?:
string
|
number
...
...
@@ -57,7 +59,6 @@ export interface SearchForm {
blocking
?:
boolean
outOfStock
?:
boolean
receiverCountry
?:
string
standardDesignImage
?:
boolean
}
export
interface
PodCnOrderListData
{
id
:
number
...
...
src/views/order/podCN/FastProduction.vue
View file @
cc86aa8e
...
...
@@ -221,7 +221,7 @@ const historyData = ref<HistoryDataItem[]>([])
const
placeholderText
=
ref
(
''
)
const
sendNum
=
ref
(
0
)
const
isDownloadImage
=
ref
(
false
)
const
isAutoSure
=
ref
(
fals
e
)
const
isAutoSure
=
ref
(
tru
e
)
const
detail
=
ref
<
PodOrderRes
>
({
id
:
-
1
,
podJomallOrderCnId
:
-
1
,
...
...
@@ -290,7 +290,7 @@ watch(
trackingNumberRef
.
value
&&
trackingNumberRef
.
value
.
focus
()
TrackingNumber
.
value
=
''
isAutoSure
.
value
=
fals
e
isAutoSure
.
value
=
tru
e
sendNum
.
value
=
0
}
},
...
...
src/views/order/podCN/PodMakeOrder.vue
View file @
cc86aa8e
...
...
@@ -194,7 +194,7 @@
<div
class=
"box-top-item-btn"
>
<ElButton
type=
"primary"
@
click=
"
podOrderDetailsData && print(podOrderDetailsData, true)
"
@
click=
"
manualPrint
"
>
手动打印
</ElButton>
<ElButton
type=
"primary"
@
click=
"printNormal"
>
普货拣货
</ElButton>
...
...
@@ -603,6 +603,14 @@ const messageChange = (data: WebSocketMessage) => {
setPodBoxList
(
more
)
}
}
const
manualPrint
=
()
=>
{
if
(
podOrderDetailsData
.
value
){
print
(
podOrderDetailsData
.
value
,
true
)
productionOrderRef
.
value
.
focus
()
}
}
const
setPodBoxList
=
(
data
:
WebSocketMessage
)
=>
{
const
obj
=
data
.
txt
if
(
obj
&&
typeof
obj
===
'string'
)
{
...
...
@@ -634,7 +642,9 @@ const printNormal = async () => {
}
const
res
=
await
printNormalPdf
(
arr
.
join
())
ElMessage
.
success
(
'操作成功'
)
productionOrderRef
.
value
.
focus
()
window
.
open
(
filePath
+
res
.
message
)
}
const
initPrintDevice
=
()
=>
{
const
lodop
=
getCLodop
(
null
,
null
)
...
...
src/views/order/podCN/index.vue
View file @
cc86aa8e
...
...
@@ -186,6 +186,23 @@
style=
"width: 150px"
/>
</ElFormItem>
<ElFormItem
v-if=
"status === 'BATCH_DOWNLOAD'"
label=
"规范素材"
>
<ElSelect
v-model=
"searchForm.standardDesignImage"
placeholder=
"请选择"
clearable
filterable
:teleported=
"false"
style=
"width: 150px"
>
<ElOption
v-for=
"(_, index) in ['否', '是','混合']"
:key=
"index"
:value=
"index"
:label=
"['否', '是','混合'][index]"
></ElOption>
</ElSelect>
</ElFormItem>
<ElFormItem
v-if=
"status !== 'BATCH_DOWNLOAD'"
label=
"生产单号"
>
<ElInput
v-model
.
trim=
"searchForm.factorySubOrderNumber"
...
...
@@ -574,19 +591,22 @@
></ElOption>
</ElSelect>
</ElFormItem>
<ElFormItem
label=
"规范素材"
>
<ElFormItem
label=
"规范素材"
>
<ElSelect
v-model=
"searchForm.
standardDesignImage
"
v-model=
"searchForm.
newStandard
"
placeholder=
"请选择"
clearable
filterable
:teleported=
"false"
style=
"width: 150px"
>
<ElOption
v-for=
"(_, index) in ['否', '是']"
:key=
"index"
:value=
"
!!
index"
:label=
"
index === 0 ? '否' : '是'
"
:value=
"index"
:label=
"
['否', '是'][index]
"
></ElOption>
</ElSelect>
</ElFormItem>
...
...
@@ -3214,6 +3234,7 @@ const detailData = ref({})
const
[
searchForm
,
resetSearchForm
]
=
useValue
<
SearchForm
>
({
timeType
:
1
,
shopNumber
:
''
,
newStandard
:
''
,
replaceShipment
:
''
,
productMark
:
''
,
shipmentType
:
''
,
...
...
@@ -3952,12 +3973,11 @@ const tableColumns = computed(() => {
}
,
{
label
:
'规范素材'
,
minWidth
:
1
8
0
,
minWidth
:
1
3
0
,
prop
:
'standardDesignImage'
,
slot
:
'standardDesignImage'
,
align
:
'center'
,
}
,
{
}
,{
label
:
'失败原因'
,
minWidth
:
250
,
prop
:
'failReason'
,
...
...
@@ -4209,6 +4229,7 @@ const {
baseparams
.
tagsIdArr
&&
delete
baseparams
.
tagsIdArr
// 批量下载
if
(
status
.
value
===
'BATCH_DOWNLOAD'
)
{
delete
baseparams
.
newStandard
return
batchDownloadApi
(
{
...
baseparams
,
...
...
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