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
09b0149e
Commit
09b0149e
authored
Jun 08, 2026
by
wuqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pod-cn也加上仓库选择校验
parent
be792c18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
src/views/order/components/PodMakeOrder.vue
+10
-9
No files found.
src/views/order/components/PodMakeOrder.vue
View file @
09b0149e
...
...
@@ -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,
...
...
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