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
2ac0682b
Commit
2ac0682b
authored
Aug 20, 2025
by
wuqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
77ae4561
3e3e7fbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
src/views/order/podUs/PodMakeOrder.vue
+13
-4
No files found.
src/views/order/podUs/PodMakeOrder.vue
View file @
2ac0682b
...
...
@@ -357,8 +357,17 @@ watch(visible, async (value: boolean) => {
if
(
value
)
{
podOrderDetailsData
.
value
=
{}
currentCode
=
''
warehouseId
.
value
=
props
.
warehouseList
[
0
].
id
_warehouseId
.
value
=
props
.
warehouseList
[
0
].
id
// warehouseId.value = props.warehouseList[0].id
// _warehouseId.value = props.warehouseList[0].id
const
locaclWarehouseId
=
localStorage
.
getItem
(
'locaclWarehouseId'
)
// 设置仓库ID,优先使用本地存储的值,否则使用列表中的第一个仓库
warehouseId
.
value
=
locaclWarehouseId
?
JSON
.
parse
(
locaclWarehouseId
)
:
props
.
warehouseList
[
0
].
id
_warehouseId
.
value
=
locaclWarehouseId
?
JSON
.
parse
(
locaclWarehouseId
)
:
props
.
warehouseList
[
0
].
id
if
(
userStore
.
user
?.
factory
.
id
)
{
try
{
...
...
@@ -382,9 +391,9 @@ watch(visible, async (value: boolean) => {
initOrderDetailBox
()
initPrintDevice
()
const
locaclPrinter
=
localStorage
.
getItem
(
'sheetPrinter'
)
const
locaclWarehouseId
=
localStorage
.
getItem
(
'locaclWarehouseId'
)
//
const locaclWarehouseId = localStorage.getItem('locaclWarehouseId')
if
(
locaclPrinter
)
sheetPrinter
.
value
=
JSON
.
parse
(
locaclPrinter
)
if
(
locaclWarehouseId
)
warehouseId
.
value
=
JSON
.
parse
(
locaclWarehouseId
)
//
if (locaclWarehouseId) warehouseId.value = JSON.parse(locaclWarehouseId)
}
else
{
if
(
userStore
.
user
?.
factory
.
id
)
{
socket
.
send
({
...
...
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