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
175c8ae8
Commit
175c8ae8
authored
Jun 08, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix_warehouseId' into 'dev'
Fix warehouse See merge request
!206
parents
6a0ecb04
09b0149e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
10 deletions
+21
-10
src/views/order/components/PodMakeOrder.vue
+10
-9
src/views/order/podUs/PodMakeOrder.vue
+11
-1
No files found.
src/views/order/components/PodMakeOrder.vue
View file @
175c8ae8
...
...
@@ -192,11 +192,7 @@
<span
v-else
>
验货中。。。
</span>
</div>
<div
class=
"box-top-item-btn"
>
<ElButton
type=
"primary"
@
click=
"manualPrint"
>
手动打印
</ElButton>
<ElButton
type=
"primary"
@
click=
"manualPrint"
>
手动打印
</ElButton>
<ElButton
type=
"primary"
@
click=
"printNormal"
>
普货拣货
</ElButton>
<ElButton
type=
"success"
@
click=
"handlePrintFinish"
>
打单完成
...
...
@@ -605,9 +601,9 @@ const messageChange = (data: WebSocketMessage) => {
}
}
const
manualPrint
=
()
=>
{
if
(
podOrderDetailsData
.
value
)
{
print
(
podOrderDetailsData
.
value
,
true
)
const
manualPrint
=
()
=>
{
if
(
podOrderDetailsData
.
value
)
{
print
(
podOrderDetailsData
.
value
,
true
)
productionOrderRef
.
value
.
focus
()
}
}
...
...
@@ -645,7 +641,6 @@ const printNormal = async () => {
ElMessage
.
success
(
'操作成功'
)
productionOrderRef
.
value
.
focus
()
window
.
open
(
filePath
+
res
.
message
)
}
const
initPrintDevice
=
()
=>
{
const
lodop
=
getCLodop
(
null
,
null
)
...
...
@@ -795,6 +790,9 @@ const initOrderDetailBox = async () => {
if
(
!
factoryNo
)
{
return
}
if
(
!
warehouseId
.
value
)
{
return
ElMessage
.
warning
(
'请选择仓库'
)
}
const
loading
=
ElLoading
.
service
({
fullscreen
:
true
,
text
:
'加载中...'
,
...
...
@@ -1056,6 +1054,9 @@ const print = (data: OrderData, forcePrint = false, callback?: () => void) => {
}
const factoryNo = userStore.user?.factory.id
if (!factoryNo) return
if (!warehouseId.value) {
return ElMessage.warning('请选择仓库')
}
orderStore.setPodBoxList({
boxList: item ? item.data : null,
factoryNo,
...
...
src/views/order/podUs/PodMakeOrder.vue
View file @
175c8ae8
...
...
@@ -406,7 +406,11 @@ const podOrderDetailsColumns = computed(() => [
<
div
>
{
operationNo
}
{
statusText
&&
(
<
ElTag
size
=
"small"
type
=
{
type
}
style
=
{{
marginLeft
:
'6px'
,
...
style
}}
>
<
ElTag
size
=
"small"
type
=
{
type
}
style
=
{{
marginLeft
:
'6px'
,
...
style
}}
>
{
statusText
}
<
/ElTag
>
)}
...
...
@@ -879,6 +883,9 @@ const initOrderDetailBox = async () => {
if
(
!
factoryNo
)
{
return
}
if
(
!
warehouseId
.
value
)
{
return
ElMessage
.
warning
(
'请选择仓库'
)
}
const
loading
=
ElLoading
.
service
({
fullscreen
:
true
,
text
:
'加载中...'
,
...
...
@@ -1159,6 +1166,9 @@ const print = (data: OrderData, forcePrint = false, callback?: () => void) => {
}
const
factoryNo
=
userStore
.
user
?.
factory
.
id
if
(
!
factoryNo
)
return
if
(
!
warehouseId
.
value
)
{
return
ElMessage
.
warning
(
'请选择仓库'
)
}
orderStore
.
setPodBoxList
({
url
:
props
.
initUrl
,
fromUser
:
userStore
.
user
?
userStore
.
user
.
id
:
0
,
...
...
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