Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pda
pda-ui
Commits
0d66bebb
Commit
0d66bebb
authored
Jun 19, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
切换页签保存数据
parent
db6587d4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
+19
-3
main.js
src/main.js
+1
-1
index.vue
src/views/mes/wm/area/index.vue
+9
-1
index.vue
src/views/mes/wm/location/index.vue
+9
-1
No files found.
src/main.js
View file @
0d66bebb
...
...
@@ -23,7 +23,7 @@ import './permission' // permission control
import
{
getDicts
}
from
"@/api/system/dict/data"
;
import
{
getConfigKey
}
from
"@/api/system/config"
;
import
{
parseTime
,
resetForm
,
addDateRange
,
selectDictLabel
,
selectDictLabels
,
handleTree
,
formatMoney
}
from
"@/utils/ruoyi"
;
window
.
store
=
store
import
TipLabel
from
'@/components/TipLabel/index.vue'
import
PageTitle
from
'@/components/Page/PageTitle.vue'
...
...
src/views/mes/wm/area/index.vue
View file @
0d66bebb
...
...
@@ -248,7 +248,7 @@
import
{
listArea
,
getArea
,
delArea
,
addArea
,
updateArea
}
from
"@/api/mes/wm/area"
;
import
{
genCode
}
from
"@/api/system/autocode/rule"
export
default
{
name
:
"
Area
"
,
name
:
"
areaList
"
,
dicts
:
[
'sys_yes_no'
],
data
()
{
return
{
...
...
@@ -307,6 +307,14 @@ export default {
this
.
queryParams
.
locationId
=
locationId
;
this
.
getList
();
},
activated
()
{
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
locationId
&&
this
.
locationId
!==
this
.
$route
.
query
.
locationId
)
{
this
.
reset
()
this
.
locationId
=
this
.
$route
.
query
.
locationId
this
.
queryParams
.
locationId
=
this
.
locationId
;
this
.
getList
();
}
},
methods
:
{
/** 查询库位设置列表 */
getList
()
{
...
...
src/views/mes/wm/location/index.vue
View file @
0d66bebb
...
...
@@ -152,7 +152,7 @@
import
{
listLocation
,
getLocation
,
delLocation
,
addLocation
,
updateLocation
}
from
"@/api/mes/wm/location"
;
import
{
genCode
}
from
"@/api/system/autocode/rule"
export
default
{
name
:
"
Location
"
,
name
:
"
locationList
"
,
dicts
:
[
'sys_yes_no'
],
data
()
{
return
{
...
...
@@ -208,6 +208,14 @@ export default {
this
.
queryParams
.
warehouseId
=
warehouseId
;
this
.
getList
();
},
activated
()
{
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
warehouseId
&&
this
.
warehouseId
!==
this
.
$route
.
query
.
warehouseId
)
{
this
.
reset
()
this
.
warehouseId
=
this
.
$route
.
query
.
warehouseId
this
.
queryParams
.
warehouseId
=
this
.
warehouseId
;
this
.
getList
();
}
},
methods
:
{
/** 查询库区设置列表 */
getList
()
{
...
...
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