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
ec6e09e1
Commit
ec6e09e1
authored
Jun 30, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_tiktok_bill' into 'dev'
feat:TIKTOK配货打单#ID1009947 See merge request
!244
parents
b4edcbe2
a067cc23
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
97 additions
and
12 deletions
+97
-12
components.d.ts
+0
-6
src/api/podUsOrder.ts
+17
-0
src/types/api/podMakeOrder.ts
+3
-3
src/types/api/podUsOrder.ts
+50
-0
src/views/order/podUs/DistributionBillOrder.vue
+0
-0
src/views/order/podUs/index.vue
+27
-3
No files found.
components.d.ts
View file @
ec6e09e1
...
...
@@ -23,7 +23,6 @@ declare module 'vue' {
ElDescriptions
:
typeof
import
(
'element-plus/es'
)[
'ElDescriptions'
]
ElDescriptionsItem
:
typeof
import
(
'element-plus/es'
)[
'ElDescriptionsItem'
]
ElDialog
:
typeof
import
(
'element-plus/es'
)[
'ElDialog'
]
ElDivider
:
typeof
import
(
'element-plus/es'
)[
'ElDivider'
]
ElDrawer
:
typeof
import
(
'element-plus/es'
)[
'ElDrawer'
]
ElDropdown
:
typeof
import
(
'element-plus/es'
)[
'ElDropdown'
]
ElDropdownItem
:
typeof
import
(
'element-plus/es'
)[
'ElDropdownItem'
]
...
...
@@ -36,8 +35,6 @@ declare module 'vue' {
ElInput
:
typeof
import
(
'element-plus/es'
)[
'ElInput'
]
ElInputNumber
:
typeof
import
(
'element-plus/es'
)[
'ElInputNumber'
]
ElLink
:
typeof
import
(
'element-plus/es'
)[
'ElLink'
]
ElMenu
:
typeof
import
(
'element-plus/es'
)[
'ElMenu'
]
ElMenuItem
:
typeof
import
(
'element-plus/es'
)[
'ElMenuItem'
]
ElOption
:
typeof
import
(
'element-plus/es'
)[
'ElOption'
]
ElPagination
:
typeof
import
(
'element-plus/es'
)[
'ElPagination'
]
ElPopover
:
typeof
import
(
'element-plus/es'
)[
'ElPopover'
]
...
...
@@ -46,7 +43,6 @@ declare module 'vue' {
ElRadioGroup
:
typeof
import
(
'element-plus/es'
)[
'ElRadioGroup'
]
ElRow
:
typeof
import
(
'element-plus/es'
)[
'ElRow'
]
ElSelect
:
typeof
import
(
'element-plus/es'
)[
'ElSelect'
]
ElSubMenu
:
typeof
import
(
'element-plus/es'
)[
'ElSubMenu'
]
ElSwitch
:
typeof
import
(
'element-plus/es'
)[
'ElSwitch'
]
ElTable
:
typeof
import
(
'element-plus/es'
)[
'ElTable'
]
ElTableColumn
:
typeof
import
(
'element-plus/es'
)[
'ElTableColumn'
]
...
...
@@ -55,10 +51,8 @@ declare module 'vue' {
ElTag
:
typeof
import
(
'element-plus/es'
)[
'ElTag'
]
ElTimeline
:
typeof
import
(
'element-plus/es'
)[
'ElTimeline'
]
ElTimelineItem
:
typeof
import
(
'element-plus/es'
)[
'ElTimelineItem'
]
ElTimePicker
:
typeof
import
(
'element-plus/es'
)[
'ElTimePicker'
]
ElTooltip
:
typeof
import
(
'element-plus/es'
)[
'ElTooltip'
]
ElTree
:
typeof
import
(
'element-plus/es'
)[
'ElTree'
]
ElTreeSelect
:
typeof
import
(
'element-plus/es'
)[
'ElTreeSelect'
]
ElUpload
:
typeof
import
(
'element-plus/es'
)[
'ElUpload'
]
Icon
:
typeof
import
(
'./src/components/Icon.vue'
)[
'default'
]
ImageView
:
typeof
import
(
'./src/components/ImageView.vue'
)[
'default'
]
...
...
src/api/podUsOrder.ts
View file @
ec6e09e1
...
...
@@ -9,6 +9,7 @@ import {
LogisticsData
,
ExportParams
,
InterceptStateGroupData
,
DataItem
,
}
from
'@/types/api/podUsOrder'
import
axios
from
'./axios'
import
{
PodMakeOrderData
}
from
'@/types/api/podMakeOrder'
...
...
@@ -116,6 +117,11 @@ export function updatePRNDownloadStatus(id: number) {
`/factory/podBatchDownload/updatePRNDownloadStatus?id=
${
id
}
`
,
)
}
export
function
tiktokPrintOrderApi
(
shopNumber
:
string
|
number
)
{
return
axios
.
get
<
never
,
BaseRespData
<
DataItem
[]
>>
(
`/factory/podJomallOrderUs/tiktok-print-order?shopNumber=
${
shopNumber
}
`
,
)
}
export
function
confirmOrderApi
(
data
:
number
[],
productionClient
:
string
,
...
...
@@ -166,6 +172,17 @@ export function cancelOrderApi(ids: number[], value: string) {
},
)
}
export
function
pendingOrderTobeWeighedApi
(
orderId
:
number
,
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderUs/podPrintOrderComplete`
,
{
orderId
:
orderId
,
},
)
}
export
function
getOperationLogApi
(
id
:
number
)
{
return
axios
.
get
<
never
,
BaseRespData
<
LogListData
[]
>>
(
`factory/podJomallOrderUsLog/getPodJomallOrderUsLog?id=
${
id
}
`
,
...
...
src/types/api/podMakeOrder.ts
View file @
ec6e09e1
...
...
@@ -11,8 +11,8 @@ export interface PodMakeOrderData {
export
interface
OrderData
{
shipmentsNote
?:
string
filePath
?:
string
fileData
?:
string
filePath
?:
string
|
null
fileData
?:
string
|
null
logisticsWayName
?:
string
|
null
company
?:
string
|
null
orderStatus
?:
number
...
...
@@ -29,7 +29,7 @@ export interface OrderData {
trackingNumber
?:
string
productList
?:
ProductList
[]
purchaseNumber
?:
number
pickingNumber
?:
number
pickingNumber
?:
number
|
null
printResult
?:
string
remark
?:
string
version
?:
number
...
...
src/types/api/podUsOrder.ts
View file @
ec6e09e1
...
...
@@ -241,3 +241,52 @@ export interface IAllList {
name
:
string
warehouseName
?:
string
}
export
interface
DataItem
{
printOrder
:
PrintOrderItem
pickingVerify
:
PickingVerifyItem
}
// 打印订单信息
interface
PrintOrderItem
{
filePath
:
string
shopNumber
:
string
id
:
number
trackingNumber
:
string
platform
:
string
fileData
:
string
}
// 产品项
export
interface
ProductItem
{
id
:
number
productName
:
string
variantSku
:
string
variantImage
:
string
baseSku
:
string
thirdSkuCode
:
string
purchaseNumber
:
number
podJomallUsNo
:
string
numberMap
:
null
count
:
number
|
null
imageAry
:
string
passNum
:
number
productMark
:
string
putPackingTime
:
null
subShopNumber
:
string
power
:
boolean
pickingNumber
:
number
|
null
}
// 拣货验证信息
export
interface
PickingVerifyItem
{
id
:
number
shopNumber
:
string
factoryOrderNumber
:
string
podOrderUsStatus
:
string
trackingNumber
:
string
pickingNumber
:
null
purchaseNumber
:
number
filePath
:
null
fileData
:
null
version
:
number
productList
:
ProductItem
[]
}
\ No newline at end of file
src/views/order/podUs/DistributionBillOrder.vue
0 → 100644
View file @
ec6e09e1
This diff is collapsed.
Click to expand it.
src/views/order/podUs/index.vue
View file @
ec6e09e1
...
...
@@ -982,7 +982,10 @@
</span>
</ElFormItem>
<ElFormItem
v-if=
"['WAIT_TRACK'].includes(status) && [1,2,5].includes(waitTrackStatus)"
v-if=
"
['WAIT_TRACK'].includes(status) &&
[1, 2, 5].includes(waitTrackStatus)
"
>
<span
class=
"item"
>
<ElButton
type=
"success"
@
click=
"reissueOrder"
>
补发
</ElButton>
...
...
@@ -995,6 +998,13 @@
>
</span>
</ElFormItem>
<ElFormItem
v-if=
"status === 'WAIT_SHIPMENT'"
>
<span
class=
"item"
>
<ElButton
type=
"success"
@
click=
"distributionBillBtn"
>
TIKTOK配货打单
</ElButton
>
</span>
</ElFormItem>
</ElForm>
</div>
<div
class=
"header-filter-tab"
>
...
...
@@ -2782,6 +2792,14 @@
@
set
-
warehouse
-
id
=
"handleWarehouseIdChange"
@
refresh
=
"onFastRefresh"
/>
<
DistributionBillOrder
v
-
model
=
"distributionBillVisible"
:
print
-
order
=
"printOrder"
:
warehouse
-
list
=
"warehouseList"
@
set
-
printer
=
"handlePrinterChange"
@
set
-
warehouse
-
id
=
"handleWarehouseIdChange"
@
refresh
=
"onFastRefresh"
/>
<
InspPackagOrder
ref
=
"InspPackagOrderRef"
@
refresh
=
"onFastRefresh"
...
...
@@ -3282,6 +3300,7 @@ import { computed, onMounted, ref, nextTick, reactive, h } from 'vue'
import
FastProduction
from
'./FastProduction.vue'
import
{
filePath
}
from
'@/api/axios'
import
PodMakeOrder
from
'./PodMakeOrder.vue'
import
DistributionBillOrder
from
'./DistributionBillOrder.vue'
import
InspPackagOrder
from
'./InspPackagOrder.vue'
import
{
OrderData
}
from
'@/types/api/podMakeOrder'
import
useLodop
,
{
LODOPObject
}
from
'@/utils/hooks/useLodop'
...
...
@@ -3759,7 +3778,6 @@ const handleBatchDelete = async (type: string, id?: string) => {
loading
.
close
()
}
}
const
shipmentList
=
ref
([
'自有物流'
,
'九猫统筹物流'
])
// 批量下载 重新排版
...
...
@@ -4041,7 +4059,6 @@ const rightClick = (e: MouseEvent) => {
y
:
e
.
clientY
,
}
)
}
const
handleSelectionChange
=
(
val
:
PodUsOrderListData
[])
=>
{
selection
.
value
=
val
// 当清空选择时,清除补货校验成功的状态
...
...
@@ -5509,7 +5526,14 @@ const printPodOrder = async () => {
sheetPrinter
.
value
=
lodop
.
GET_PRINTER_NAME
(
0
)
podOrderVisible
.
value
=
true
}
const
distributionBillVisible
=
ref
(
false
)
const
distributionBillBtn
=
async
()
=>
{
const
lodop
=
getCLodop
(
null
,
null
)
if
(
!
lodop
)
return
sheetPrinter
.
value
=
lodop
.
GET_PRINTER_NAME
(
0
)
distributionBillVisible
.
value
=
true
}
const
InspPackagOrderRef
=
ref
()
// const inspPackagOrder = async () =>
{
...
...
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