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
27c8409e
Commit
27c8409e
authored
Jun 21, 2025
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修改
parent
823b5c34
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
3 deletions
+72
-3
src/types/api/podUsOrder.ts
+1
-0
src/views/order/podUs/index.vue
+71
-3
No files found.
src/types/api/podUsOrder.ts
View file @
27c8409e
...
...
@@ -22,6 +22,7 @@ export interface SearchForm {
productionClient
:
string
warehouseId
:
string
|
number
thirdSkuCode
:
string
supplierProductNo
:
string
}
export
interface
PodUsOrderListData
{
id
:
number
...
...
src/views/order/podUs/index.vue
View file @
27c8409e
...
...
@@ -41,6 +41,14 @@
<ElOption
label=
"多面"
value=
"multiple"
/>
</ElSelect>
</ElFormItem>
<ElFormItem
label=
"供应货号"
>
<ElInput
v-model=
"searchForm.supplierProductNo"
placeholder=
"生产单号"
clearable
style=
"width: 150px"
/>
</ElFormItem>
<ElFormItem
label=
"生产单号"
>
<ElInput
v-model=
"searchForm.factorySubOrderNumber"
...
...
@@ -1627,6 +1635,7 @@ const [searchForm] = useValue<SearchForm>({
productionClient
:
''
,
warehouseId
:
''
,
thirdSkuCode
:
''
,
supplierProductNo
:
''
}
)
const
exceptionStatus
=
ref
(
1
)
const
userMarkList
=
ref
<
string
[]
>
([])
...
...
@@ -1834,6 +1843,7 @@ const changeTab = (item: Tab) => {
status
.
value
=
item
.
status
||
''
selection
.
value
=
[]
cardSelection
.
value
=
[]
stockOutSuccessIds
.
value
=
[]
search
(
true
)
}
const
onCellStyle
=
({
column
}
:
{
column
:
Column
}
)
=>
{
...
...
@@ -1961,7 +1971,22 @@ async function confirmProduct() {
const
{
code
,
data
}
=
await
confirmProductApi
([...
ids
])
if
(
code
===
200
)
{
resultInfo
.
value
=
data
||
[]
resultInfo
.
value
=
(
data
as
{
id
:
string
|
number
status
:
boolean
factoryOrderNumber
?:
string
message
:
string
}
[])
||
[]
if
(
Array
.
isArray
(
data
)
&&
(
data
as
{
status
:
boolean
}
[]).
some
((
item
)
=>
!
item
.
status
)
)
{
resultRefs
.
value
?.
showDialog
()
}
else
{
search
()
loadTabData
()
}
}
ElMessage
.
success
(
'操作成功'
)
...
...
@@ -1989,7 +2014,22 @@ async function confirmProductToRiin() {
const
{
code
,
data
}
=
await
confirmProductToRiinApi
([...
ids
])
if
(
code
===
200
)
{
resultInfo
.
value
=
data
||
[]
resultInfo
.
value
=
(
data
as
{
id
:
string
|
number
status
:
boolean
factoryOrderNumber
?:
string
message
:
string
}
[])
||
[]
if
(
Array
.
isArray
(
data
)
&&
(
data
as
{
status
:
boolean
}
[]).
some
((
item
)
=>
!
item
.
status
)
)
{
resultRefs
.
value
?.
showDialog
()
}
else
{
search
()
loadTabData
()
}
}
ElMessage
.
success
(
'操作成功'
)
...
...
@@ -2569,7 +2609,14 @@ const getOrderByIdApi = async (type: string) => {
if
(
res
.
code
===
200
)
{
if
(
isArray
(
res
.
data
))
{
resultInfo
.
value
=
res
.
data
||
[]
resultRefs
.
value
?.
showDialog
(
type
)
resultInfo
.
value
=
(
res
.
data
as
{
id
:
string
|
number
status
:
boolean
factoryOrderNumber
?:
string
message
:
string
}
[])
||
[]
resultRefs
.
value
?.
showDialog
()
}
else
if
(
isString
(
res
.
data
))
{
window
.
open
(
filePath
+
res
.
data
)
}
...
...
@@ -2586,7 +2633,14 @@ const getOrderByIdApi = async (type: string) => {
}
}
//展示返回结果
const
resultInfo
=
ref
([])
const
resultInfo
=
ref
<
{
id
:
string
|
number
status
:
boolean
factoryOrderNumber
?:
string
message
:
string
}
[]
>
([])
const
resultConfim
=
()
=>
{
search
()
loadTabData
()
...
...
@@ -2793,8 +2847,22 @@ const logisticsToPicking = async () => {
ids
:
selection
.
value
.
map
((
item
)
=>
item
.
id
).
join
(
','
),
}
)
if
(
res
.
code
!==
200
)
return
resultInfo
.
value
=
res
.
data
||
[]
resultInfo
.
value
=
(
res
.
data
as
{
id
:
string
|
number
status
:
boolean
factoryOrderNumber
?:
string
message
:
string
}
[])
||
[]
if
(
Array
.
isArray
(
res
.
data
)
&&
(
res
.
data
as
{
status
:
boolean
}
[]).
some
((
item
)
=>
!
item
.
status
)
)
{
resultRefs
.
value
?.
showDialog
()
}
else
{
search
()
loadTabData
()
}
ElMessage
.
success
(
'操作成功'
)
// search()
// loadTabData()
...
...
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