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
a92a5e10
Commit
a92a5e10
authored
Mar 30, 2026
by
zhuzhequan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://47.122.114.111:9999/qinjianhui/factory_front
into dev_log_test
# Conflicts: # src/api/axios.ts
parents
b05ed9f6
591b3659
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
55 additions
and
23 deletions
+55
-23
src/types/api/podCnOrder.ts
+2
-1
src/views/logistics/logisticsTracking.vue
+1
-1
src/views/order/orderTracking/index.vue
+2
-2
src/views/order/orderTracking/indexcn.vue
+2
-2
src/views/order/podCN/FastProduction.vue
+2
-2
src/views/order/podCN/PodMakeOrder.vue
+11
-1
src/views/order/podCN/index.vue
+31
-10
src/views/order/podUs/index.vue
+3
-3
src/views/podUsBillOrder/index.vue
+1
-1
No files found.
src/types/api/podCnOrder.ts
View file @
a92a5e10
...
@@ -15,6 +15,8 @@ export interface ExportParams extends SearchForm {
...
@@ -15,6 +15,8 @@ export interface ExportParams extends SearchForm {
}
}
export
interface
SearchForm
{
export
interface
SearchForm
{
timeType
?:
number
|
null
timeType
?:
number
|
null
newStandard
?:
number
|
string
standardDesignImage
?:
0
|
1
|
2
|
null
shopNumber
?:
string
shopNumber
?:
string
productMark
?:
string
productMark
?:
string
shipmentType
?:
string
|
number
shipmentType
?:
string
|
number
...
@@ -57,7 +59,6 @@ export interface SearchForm {
...
@@ -57,7 +59,6 @@ export interface SearchForm {
blocking
?:
boolean
blocking
?:
boolean
outOfStock
?:
boolean
outOfStock
?:
boolean
receiverCountry
?:
string
receiverCountry
?:
string
standardDesignImage
?:
boolean
}
}
export
interface
PodCnOrderListData
{
export
interface
PodCnOrderListData
{
id
:
number
id
:
number
...
...
src/views/logistics/logisticsTracking.vue
View file @
a92a5e10
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
<
div
>
{{
getStatus
(
row
.
orderStatus
)
}}
<
/div
>
<
div
>
{{
getStatus
(
row
.
orderStatus
)
}}
<
/div
>
<
/template
>
<
/template
>
<
template
#
shipmentType
=
"{ row
}
"
>
<
template
#
shipmentType
=
"{ row
}
"
>
{{
[
'自有物流'
,
'
工厂
物流'
][
row
.
shipmentType
]
}}
{{
[
'自有物流'
,
'
九猫统筹
物流'
][
row
.
shipmentType
]
}}
<
/template
>
<
/template
>
<
template
#
shippingAge
=
"{ row
}
"
>
<
template
#
shippingAge
=
"{ row
}
"
>
{{
getShippingAge
(
row
)
}}
{{
getShippingAge
(
row
)
}}
...
...
src/views/order/orderTracking/index.vue
View file @
a92a5e10
...
@@ -879,7 +879,7 @@ onMounted(() => {
...
@@ -879,7 +879,7 @@ onMounted(() => {
style=
"width: 150px"
style=
"width: 150px"
>
>
<ElOption
<ElOption
v-for=
"(item, index) in ['自有物流', '
工厂
物流']"
v-for=
"(item, index) in ['自有物流', '
九猫统筹
物流']"
:key=
"index"
:key=
"index"
:value=
"index"
:value=
"index"
:label=
"item"
:label=
"item"
...
@@ -1175,7 +1175,7 @@ onMounted(() => {
...
@@ -1175,7 +1175,7 @@ onMounted(() => {
<div>
{{
getStatus
(
row
.
status
)
}}
</div>
<div>
{{
getStatus
(
row
.
status
)
}}
</div>
</
template
>
</
template
>
<
template
#
shipmentType=
"{ row }"
>
<
template
#
shipmentType=
"{ row }"
>
{{
[
'自有物流'
,
'
工厂
物流'
][
row
.
shipmentType
]
}}
{{
[
'自有物流'
,
'
九猫统筹
物流'
][
row
.
shipmentType
]
}}
</
template
>
</
template
>
</TableView>
</TableView>
</div>
</div>
...
...
src/views/order/orderTracking/indexcn.vue
View file @
a92a5e10
...
@@ -1156,7 +1156,7 @@ onMounted(() => {
...
@@ -1156,7 +1156,7 @@ onMounted(() => {
<ElOption
<ElOption
v-for=
"(item, index) in searchForm.replaceShipment === 0
v-for=
"(item, index) in searchForm.replaceShipment === 0
? ['自提', '快递']
? ['自提', '快递']
: ['自有物流', '
工厂
物流']"
: ['自有物流', '
九猫统筹
物流']"
:key=
"index"
:key=
"index"
:value=
"index"
:value=
"index"
:label=
"item"
:label=
"item"
...
@@ -1267,7 +1267,7 @@ onMounted(() => {
...
@@ -1267,7 +1267,7 @@ onMounted(() => {
{{
{{
(
row
.
replaceShipment
===
0
(
row
.
replaceShipment
===
0
?
[
'自提'
,
'快递'
]
?
[
'自提'
,
'快递'
]
:
[
'自有物流'
,
'
工厂
物流'
])[
row
.
shipmentType
]
:
[
'自有物流'
,
'
九猫统筹
物流'
])[
row
.
shipmentType
]
}}
}}
</
template
>
</
template
>
<
template
#
replaceShipment=
"{ row }"
>
<
template
#
replaceShipment=
"{ row }"
>
...
...
src/views/order/podCN/FastProduction.vue
View file @
a92a5e10
...
@@ -221,7 +221,7 @@ const historyData = ref<HistoryDataItem[]>([])
...
@@ -221,7 +221,7 @@ const historyData = ref<HistoryDataItem[]>([])
const
placeholderText
=
ref
(
''
)
const
placeholderText
=
ref
(
''
)
const
sendNum
=
ref
(
0
)
const
sendNum
=
ref
(
0
)
const
isDownloadImage
=
ref
(
false
)
const
isDownloadImage
=
ref
(
false
)
const
isAutoSure
=
ref
(
fals
e
)
const
isAutoSure
=
ref
(
tru
e
)
const
detail
=
ref
<
PodOrderRes
>
({
const
detail
=
ref
<
PodOrderRes
>
({
id
:
-
1
,
id
:
-
1
,
podJomallOrderCnId
:
-
1
,
podJomallOrderCnId
:
-
1
,
...
@@ -290,7 +290,7 @@ watch(
...
@@ -290,7 +290,7 @@ watch(
trackingNumberRef
.
value
&&
trackingNumberRef
.
value
.
focus
()
trackingNumberRef
.
value
&&
trackingNumberRef
.
value
.
focus
()
TrackingNumber
.
value
=
''
TrackingNumber
.
value
=
''
isAutoSure
.
value
=
fals
e
isAutoSure
.
value
=
tru
e
sendNum
.
value
=
0
sendNum
.
value
=
0
}
}
},
},
...
...
src/views/order/podCN/PodMakeOrder.vue
View file @
a92a5e10
...
@@ -194,7 +194,7 @@
...
@@ -194,7 +194,7 @@
<div
class=
"box-top-item-btn"
>
<div
class=
"box-top-item-btn"
>
<ElButton
<ElButton
type=
"primary"
type=
"primary"
@
click=
"
podOrderDetailsData && print(podOrderDetailsData, true)
"
@
click=
"
manualPrint
"
>
手动打印
>
手动打印
</ElButton>
</ElButton>
<ElButton
type=
"primary"
@
click=
"printNormal"
>
普货拣货
</ElButton>
<ElButton
type=
"primary"
@
click=
"printNormal"
>
普货拣货
</ElButton>
...
@@ -603,6 +603,14 @@ const messageChange = (data: WebSocketMessage) => {
...
@@ -603,6 +603,14 @@ const messageChange = (data: WebSocketMessage) => {
setPodBoxList
(
more
)
setPodBoxList
(
more
)
}
}
}
}
const
manualPrint
=
()
=>
{
if
(
podOrderDetailsData
.
value
){
print
(
podOrderDetailsData
.
value
,
true
)
productionOrderRef
.
value
.
focus
()
}
}
const
setPodBoxList
=
(
data
:
WebSocketMessage
)
=>
{
const
setPodBoxList
=
(
data
:
WebSocketMessage
)
=>
{
const
obj
=
data
.
txt
const
obj
=
data
.
txt
if
(
obj
&&
typeof
obj
===
'string'
)
{
if
(
obj
&&
typeof
obj
===
'string'
)
{
...
@@ -634,7 +642,9 @@ const printNormal = async () => {
...
@@ -634,7 +642,9 @@ const printNormal = async () => {
}
}
const
res
=
await
printNormalPdf
(
arr
.
join
())
const
res
=
await
printNormalPdf
(
arr
.
join
())
ElMessage
.
success
(
'操作成功'
)
ElMessage
.
success
(
'操作成功'
)
productionOrderRef
.
value
.
focus
()
window
.
open
(
filePath
+
res
.
message
)
window
.
open
(
filePath
+
res
.
message
)
}
}
const
initPrintDevice
=
()
=>
{
const
initPrintDevice
=
()
=>
{
const
lodop
=
getCLodop
(
null
,
null
)
const
lodop
=
getCLodop
(
null
,
null
)
...
...
src/views/order/podCN/index.vue
View file @
a92a5e10
...
@@ -186,6 +186,23 @@
...
@@ -186,6 +186,23 @@
style=
"width: 150px"
style=
"width: 150px"
/>
/>
</ElFormItem>
</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=
"生产单号"
>
<ElFormItem
v-if=
"status !== 'BATCH_DOWNLOAD'"
label=
"生产单号"
>
<ElInput
<ElInput
v-model
.
trim=
"searchForm.factorySubOrderNumber"
v-model
.
trim=
"searchForm.factorySubOrderNumber"
...
@@ -458,7 +475,7 @@
...
@@ -458,7 +475,7 @@
style=
"width: 150px"
style=
"width: 150px"
>
>
<ElOption
<ElOption
v-for=
"(item, index) in ['自有物流', '
工厂
物流']"
v-for=
"(item, index) in ['自有物流', '
九猫统筹
物流']"
:key=
"index"
:key=
"index"
:value=
"index"
:value=
"index"
:label=
"item"
:label=
"item"
...
@@ -574,19 +591,22 @@
...
@@ -574,19 +591,22 @@
></ElOption>
></ElOption>
</ElSelect>
</ElSelect>
</ElFormItem>
</ElFormItem>
<ElFormItem
label=
"规范素材"
>
<ElFormItem
label=
"规范素材"
>
<ElSelect
<ElSelect
v-model=
"searchForm.
standardDesignImage
"
v-model=
"searchForm.
newStandard
"
placeholder=
"请选择"
placeholder=
"请选择"
clearable
clearable
filterable
filterable
:teleported=
"false"
style=
"width: 150px"
style=
"width: 150px"
>
>
<ElOption
<ElOption
v-for=
"(_, index) in ['否', '是']"
v-for=
"(_, index) in ['否', '是']"
:key=
"index"
:key=
"index"
:value=
"
!!
index"
:value=
"index"
:label=
"
index === 0 ? '否' : '是'
"
:label=
"
['否', '是'][index]
"
></ElOption>
></ElOption>
</ElSelect>
</ElSelect>
</ElFormItem>
</ElFormItem>
...
@@ -786,7 +806,7 @@
...
@@ -786,7 +806,7 @@
>
>
</ElDropdownMenu>
</ElDropdownMenu>
</template> -->
</template> -->
<!-- 代发:0.自有物流 1.
工厂
物流; 不代发: 0.自提 1.快递-->
<!-- 代发:0.自有物流 1.
九猫统筹
物流; 不代发: 0.自提 1.快递-->
<
template
<
template
v-if=
"
v-if=
"
status === 'CREATE_LOGISTICS' || status === 'WAIT_SHIPMENT'
status === 'CREATE_LOGISTICS' || status === 'WAIT_SHIPMENT'
...
@@ -1624,7 +1644,7 @@
...
@@ -1624,7 +1644,7 @@
>
>
{{
{{
row
.
replaceShipment
===
1
row
.
replaceShipment
===
1
?
[
'自有物流'
,
'
工厂
物流'
][
row
.
shipmentType
]
?
[
'自有物流'
,
'
九猫统筹
物流'
][
row
.
shipmentType
]
:
[
'自提'
,
'快递'
][
row
.
shipmentType
]
:
[
'自提'
,
'快递'
][
row
.
shipmentType
]
}}
}}
</span>
</span>
...
@@ -3214,6 +3234,7 @@ const detailData = ref({})
...
@@ -3214,6 +3234,7 @@ const detailData = ref({})
const
[
searchForm
,
resetSearchForm
]
=
useValue
<
SearchForm
>
({
const
[
searchForm
,
resetSearchForm
]
=
useValue
<
SearchForm
>
({
timeType
:
1
,
timeType
:
1
,
shopNumber
:
''
,
shopNumber
:
''
,
newStandard
:
''
,
replaceShipment
:
''
,
replaceShipment
:
''
,
productMark
:
''
,
productMark
:
''
,
shipmentType
:
''
,
shipmentType
:
''
,
...
@@ -3952,12 +3973,11 @@ const tableColumns = computed(() => {
...
@@ -3952,12 +3973,11 @@ const tableColumns = computed(() => {
}
,
}
,
{
{
label
:
'规范素材'
,
label
:
'规范素材'
,
minWidth
:
1
8
0
,
minWidth
:
1
3
0
,
prop
:
'standardDesignImage'
,
prop
:
'standardDesignImage'
,
slot
:
'standardDesignImage'
,
slot
:
'standardDesignImage'
,
align
:
'center'
,
align
:
'center'
,
}
,
}
,{
{
label
:
'失败原因'
,
label
:
'失败原因'
,
minWidth
:
250
,
minWidth
:
250
,
prop
:
'failReason'
,
prop
:
'failReason'
,
...
@@ -4209,6 +4229,7 @@ const {
...
@@ -4209,6 +4229,7 @@ const {
baseparams
.
tagsIdArr
&&
delete
baseparams
.
tagsIdArr
baseparams
.
tagsIdArr
&&
delete
baseparams
.
tagsIdArr
// 批量下载
// 批量下载
if
(
status
.
value
===
'BATCH_DOWNLOAD'
)
{
if
(
status
.
value
===
'BATCH_DOWNLOAD'
)
{
delete
baseparams
.
newStandard
return
batchDownloadApi
(
return
batchDownloadApi
(
{
{
...
baseparams
,
...
baseparams
,
...
...
src/views/order/podUs/index.vue
View file @
a92a5e10
...
@@ -425,7 +425,7 @@
...
@@ -425,7 +425,7 @@
shipmentList=['自提','快递']
shipmentList=['自提','快递']
searchForm.shipmentType=0
searchForm.shipmentType=0
}else{
}else{
shipmentList=['自有物流', '
工厂
物流']
shipmentList=['自有物流', '
九猫统筹
物流']
searchForm.shipmentType=''
searchForm.shipmentType=''
}
}
}
}
...
@@ -1695,7 +1695,7 @@
...
@@ -1695,7 +1695,7 @@
{{
{{
row
.
shipmentType
==
0
&&
row
.
replaceShipment
==
0
row
.
shipmentType
==
0
&&
row
.
replaceShipment
==
0
?
'自提'
?
'自提'
:
[
'自有物流'
,
'
工厂
物流'
][
row
.
shipmentType
]
:
[
'自有物流'
,
'
九猫统筹
物流'
][
row
.
shipmentType
]
}}
}}
</span>
</span>
</div>
</div>
...
@@ -3759,7 +3759,7 @@ const handleBatchDelete = async (type: string, id?: string) => {
...
@@ -3759,7 +3759,7 @@ const handleBatchDelete = async (type: string, id?: string) => {
}
}
}
}
const
shipmentList
=
ref
([
'自有物流'
,
'
工厂
物流'
])
const
shipmentList
=
ref
([
'自有物流'
,
'
九猫统筹
物流'
])
// 批量下载 重新排版
// 批量下载 重新排版
const
handleReComposingDesign
=
async
()
=>
{
const
handleReComposingDesign
=
async
()
=>
{
...
...
src/views/podUsBillOrder/index.vue
View file @
a92a5e10
...
@@ -777,7 +777,7 @@
...
@@ -777,7 +777,7 @@
>
>
<
template
#
default
=
"{ row
}
"
>
<
template
#
default
=
"{ row
}
"
>
<
span
v
-
if
=
"row.order"
>
{{
<
span
v
-
if
=
"row.order"
>
{{
row
.
order
.
shipment_type
==
1
?
'
工厂
物流'
:
'自我物流'
row
.
order
.
shipment_type
==
1
?
'
九猫统筹
物流'
:
'自我物流'
}}
<
/span
>
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
...
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