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
be1bc604
Commit
be1bc604
authored
Dec 02, 2025
by
sunyang
Committed by
wusiyi
Dec 18, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排单
parent
129eef49
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
70 additions
and
4 deletions
+70
-4
src/api/podCnOrder.ts
+5
-0
src/api/podUsOrder.ts
+5
-0
src/types/api/podCnOrder.ts
+1
-0
src/types/api/podUsOrder.ts
+1
-0
src/views/order/podCN/index.vue
+29
-2
src/views/order/podUs/index.vue
+29
-2
No files found.
src/api/podCnOrder.ts
View file @
be1bc604
...
...
@@ -38,6 +38,11 @@ export function syncReceiverAddress(data: number[]) {
)
}
export
function
getEmployeeListApi
()
{
return
axios
.
get
(
`/factory/factoryUser/list`
)
}
// 播种墙配货 扫码放入箱子
export
function
getPackingCnDataApi
(
code
:
string
,
...
...
src/api/podUsOrder.ts
View file @
be1bc604
...
...
@@ -626,6 +626,11 @@ export function getAccountCodeByFactoryIdApi(params: { token: string }) {
export
function
getLogisticsWayApi
()
{
return
axios
.
get
(
`logisticsWay/usableAllList`
)
}
export
function
getEmployeeListApi
()
{
return
axios
.
get
(
`/factory/factoryUser/list`
)
}
// 打印拣货单item
export
function
printPickPdfByBatchNumberApi
(
params
:
{
batchArrangeNumber
:
string
...
...
src/types/api/podCnOrder.ts
View file @
be1bc604
...
...
@@ -51,6 +51,7 @@ export interface SearchForm {
downloadStatus
?:
number
syntheticStatus
?:
number
automaticComposing
?:
number
employeeId
?:
number
}
export
interface
PodCnOrderListData
{
id
:
number
...
...
src/types/api/podUsOrder.ts
View file @
be1bc604
...
...
@@ -48,6 +48,7 @@ export interface SearchForm {
downloadStatus
?:
number
syntheticStatus
?:
number
automaticComposing
?:
number
employeeId
?:
number
}
export
interface
PodUsOrderListData
{
id
:
number
...
...
src/views/order/podCN/index.vue
View file @
be1bc604
...
...
@@ -31,7 +31,24 @@
>
</el-date-picker>
</ElFormItem>
<ElFormItem
label=
"创建人"
v-if=
"
status === 'BATCH_DOWNLOAD'
"
>
<ElSelect
v-model=
"searchForm.employeeId"
placeholder=
"请选择"
clearable
:teleported=
"false"
style=
"width: 150px"
>
<ElOption
v-for=
"(item, index) in employeeList"
:key=
"index"
:value=
"item.id"
:label=
"item.account"
></ElOption>
</ElSelect>
</ElFormItem>
<ElFormItem
label=
"工艺类型"
v-if=
"
status === 'BATCH_DOWNLOAD'
"
>
...
...
@@ -80,7 +97,7 @@
style=
"width: 150px"
>
<ElOption
v-for=
"(item, index) in ['
失败', '成功
']"
v-for=
"(item, index) in ['
否', '是
']"
:key=
"index"
:value=
"index"
:label=
"item"
...
...
@@ -2735,6 +2752,7 @@ import {
getCustomTagListCnApi
,
printNormalPdf
,
changeLogisticsApi
,
getEmployeeListApi
,
}
from
'@/api/podCnOrder'
import
{
BaseRespData
}
from
'@/types/api'
...
...
@@ -2860,6 +2878,7 @@ const sourceList = [
}
,
]
const
sizes
=
[
'FS'
,
'XS'
,
'S'
,
'M'
,
'L'
,
'XL'
,
'XXL'
,
'3XL'
,
'4XL'
,
'5XL'
]
const
employeeList
=
ref
<
{
account
:
string
;
id
:
number
}
[]
>
([])
const
exportData
=
()
=>
{
exportVisible
.
value
=
true
...
...
@@ -3766,6 +3785,14 @@ const asyncOrderAddress = async () => {
}
}
const
getEmployeeList
=
async
()
=>
{
const
{
data
}
=
await
getEmployeeListApi
()
employeeList
.
value
=
data
}
getEmployeeList
()
const
changeTab
=
(
item
:
Tab
)
=>
{
status
.
value
=
item
.
status
||
''
localStorage
.
setItem
(
'podCnStatus'
,
item
.
status
as
string
)
...
...
src/views/order/podUs/index.vue
View file @
be1bc604
...
...
@@ -31,7 +31,24 @@
>
</el-date-picker>
</ElFormItem>
<ElFormItem
label=
"创建人"
v-if=
"
status === 'BATCH_DOWNLOAD'
"
>
<ElSelect
v-model=
"searchForm.employeeId"
placeholder=
"请选择"
clearable
:teleported=
"false"
style=
"width: 150px"
>
<ElOption
v-for=
"(item, index) in employeeList"
:key=
"index"
:value=
"item.id"
:label=
"item.account"
></ElOption>
</ElSelect>
</ElFormItem>
<ElFormItem
label=
"工艺类型"
v-if=
"
status === 'BATCH_DOWNLOAD'
"
>
...
...
@@ -80,7 +97,7 @@
style=
"width: 150px"
>
<ElOption
v-for=
"(item, index) in ['
失败', '成功
']"
v-for=
"(item, index) in ['
否', '是
']"
:key=
"index"
:value=
"index"
:label=
"item"
...
...
@@ -3107,6 +3124,7 @@ import {
getLogisticsWayApi
,
printNormalPickPdfApi
,
updatePRNDownloadStatus
,
getEmployeeListApi
,
}
from
'@/api/podUsOrder'
import
{
BaseRespData
}
from
'@/types/api'
...
...
@@ -3204,6 +3222,8 @@ const printWarehouseSkuDialogRef = ref()
const
isAuto
=
ref
(
true
)
const
countryList
=
ref
([])
const
logisticsWayList
=
ref
<
{
name
:
string
;
id
:
number
}
[]
>
([])
const
employeeList
=
ref
<
{
account
:
string
;
id
:
number
}
[]
>
([])
const
craftTypeList
=
ref
<
{
name
:
string
;
code
:
string
}
[]
>
([
{
name
:
'烫画'
,
code
:
'TH'
}
])
...
...
@@ -6606,8 +6626,15 @@ const getLogisticsWay = async () => {
logisticsWayList
.
value
=
data
}
const
getEmployeeList
=
async
()
=>
{
const
{
data
}
=
await
getEmployeeListApi
()
employeeList
.
value
=
data
}
getPermission
()
getLogisticsWay
()
getEmployeeList
()
const
globalProperties
=
getCurrentInstance
()?.
appContext
.
config
.
globalProperties
// 获取全局挂载
...
...
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