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
f3ae69ed
Commit
f3ae69ed
authored
Jun 24, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: podus添加工艺查询字段
parent
3fb33185
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
0 deletions
+44
-0
src/api/podUsOrder.ts
+7
-0
src/types/api/podUsOrder.ts
+5
-0
src/views/order/podUs/index.vue
+32
-0
No files found.
src/api/podUsOrder.ts
View file @
f3ae69ed
...
@@ -428,3 +428,10 @@ export function arrangeFinishApi(ids: number[]) {
...
@@ -428,3 +428,10 @@ export function arrangeFinishApi(ids: number[]) {
ids
,
ids
,
)
)
}
}
// 获取工艺
export
function
getListCraftApi
()
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
`factory/podJomallOrderProductUs/listCraft`
,
)
}
src/types/api/podUsOrder.ts
View file @
f3ae69ed
...
@@ -25,6 +25,7 @@ export interface SearchForm {
...
@@ -25,6 +25,7 @@ export interface SearchForm {
thirdSkuCode
:
string
thirdSkuCode
:
string
supplierProductNo
:
string
supplierProductNo
:
string
batchArrangeNumber
:
string
batchArrangeNumber
:
string
craftCode
:
string
}
}
export
interface
PodUsOrderListData
{
export
interface
PodUsOrderListData
{
id
:
number
id
:
number
...
@@ -182,3 +183,7 @@ export interface LogisticsFormData {
...
@@ -182,3 +183,7 @@ export interface LogisticsFormData {
expressSheetUrl
:
string
expressSheetUrl
:
string
expressSheet
:
File
|
null
expressSheet
:
File
|
null
}
}
export
interface
CraftListData
{
craftName
:
string
craftCode
:
string
}
src/views/order/podUs/index.vue
View file @
f3ae69ed
...
@@ -42,6 +42,22 @@
...
@@ -42,6 +42,22 @@
<el-radio-button
:label=
"true"
>
多件
</el-radio-button>
<el-radio-button
:label=
"true"
>
多件
</el-radio-button>
</el-radio-group>
</el-radio-group>
</ElFormItem>
</ElFormItem>
<ElFormItem
label=
"工艺"
>
<ElSelect
v-model=
"searchForm.craftCode"
clearable
filterable
placeholder=
"请输入"
style=
"width: 150px"
>
<el-option
v-for=
"item in craftList"
:key=
"item.craftCode"
:label=
"item.craftName"
:value=
"item.craftCode"
></el-option>
</ElSelect>
</ElFormItem>
<ElFormItem
label=
"库存SKU"
>
<ElFormItem
label=
"库存SKU"
>
<ElInput
<ElInput
v-model
.
trim=
"searchForm.thirdSkuCode"
v-model
.
trim=
"searchForm.thirdSkuCode"
...
@@ -1553,6 +1569,7 @@ import {
...
@@ -1553,6 +1569,7 @@ import {
replenishmentSuccessApi
,
replenishmentSuccessApi
,
toOutOfStockApi
,
toOutOfStockApi
,
arrangeFinishApi
,
arrangeFinishApi
,
getListCraftApi
,
}
from
'@/api/podUsOrder'
}
from
'@/api/podUsOrder'
import
{
BaseRespData
}
from
'@/types/api'
import
{
BaseRespData
}
from
'@/types/api'
...
@@ -1573,6 +1590,7 @@ import {
...
@@ -1573,6 +1590,7 @@ import {
AddressInfo
,
AddressInfo
,
LogisticsData
,
LogisticsData
,
LogisticsFormData
,
LogisticsFormData
,
CraftListData
,
}
from
'@/types/api/podUsOrder'
}
from
'@/types/api/podUsOrder'
import
usePageList
from
'@/utils/hooks/usePageList'
import
usePageList
from
'@/utils/hooks/usePageList'
import
{
useValue
}
from
'@/utils/hooks/useValue'
import
{
useValue
}
from
'@/utils/hooks/useValue'
...
@@ -1663,6 +1681,7 @@ const [searchForm, resetSearchForm] = useValue<SearchForm>({
...
@@ -1663,6 +1681,7 @@ const [searchForm, resetSearchForm] = useValue<SearchForm>({
thirdSkuCode
:
''
,
thirdSkuCode
:
''
,
supplierProductNo
:
''
,
supplierProductNo
:
''
,
batchArrangeNumber
:
''
,
batchArrangeNumber
:
''
,
craftCode
:
''
,
}
)
}
)
const
exceptionStatus
=
ref
(
1
)
const
exceptionStatus
=
ref
(
1
)
const
userMarkList
=
ref
<
string
[]
>
([])
const
userMarkList
=
ref
<
string
[]
>
([])
...
@@ -3152,6 +3171,18 @@ const loadWarehouseList = async () => {
...
@@ -3152,6 +3171,18 @@ const loadWarehouseList = async () => {
console
.
error
(
e
)
console
.
error
(
e
)
}
}
}
}
// 获取工艺列表
const
craftList
=
ref
<
CraftListData
[]
>
([])
const
loadCraftList
=
async
()
=>
{
try
{
const
res
=
await
getListCraftApi
()
if
(
res
.
code
!==
200
)
return
craftList
.
value
=
res
.
data
}
catch
(
e
)
{
console
.
error
(
e
)
}
}
const
refreshMaterial
=
async
()
=>
{
const
refreshMaterial
=
async
()
=>
{
if
(
status
.
value
===
'PICKING'
||
status
.
value
===
'TO_BE_REPLENISHMENT'
)
{
if
(
status
.
value
===
'PICKING'
||
status
.
value
===
'TO_BE_REPLENISHMENT'
)
{
if
(
cardSelection
.
value
.
length
===
0
)
{
if
(
cardSelection
.
value
.
length
===
0
)
{
...
@@ -3199,6 +3230,7 @@ onMounted(() => {
...
@@ -3199,6 +3230,7 @@ onMounted(() => {
getUserMark
()
getUserMark
()
loadProductionClient
()
loadProductionClient
()
loadWarehouseList
()
loadWarehouseList
()
loadCraftList
()
}
)
}
)
const
expressSheetUpload
=
async
(
file
:
File
)
=>
{
const
expressSheetUpload
=
async
(
file
:
File
)
=>
{
...
...
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