Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
4ba4d39a
Commit
4ba4d39a
authored
Aug 29, 2022
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓储位只显示当前城市的仓库
parent
91b21e55
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
warehouseArea.js
src/api/ecw/warehouseArea.js
+3
-2
index.vue
src/components/WarehouseAreaDialog/index.vue
+6
-2
index.vue
src/views/ecw/order/warehousing/index.vue
+1
-1
No files found.
src/api/ecw/warehouseArea.js
View file @
4ba4d39a
...
...
@@ -35,10 +35,11 @@ export function getWarehouseArea(id) {
}
// 获得仓库查询库域
export
function
getByWarehouseId
()
{
export
function
getByWarehouseId
(
params
)
{
return
request
({
url
:
'
/ecw/warehouse-area/getByWarehouseId
'
,
method
:
'
get
'
method
:
'
get
'
,
params
})
}
...
...
src/components/WarehouseAreaDialog/index.vue
View file @
4ba4d39a
...
...
@@ -63,7 +63,11 @@ export default {
default
:
false
},
value
:
Array
,
orderId
:
Number
orderId
:
Number
,
cityId
:
{
type
:
Number
,
default
:
undefined
}
},
data
()
{
...
...
@@ -148,7 +152,7 @@ export default {
this
.
opened
=
true
}
getByWarehouseId
().
then
(
r
=>
{
getByWarehouseId
(
{
cityId
:
this
.
cityId
}
).
then
(
r
=>
{
const
area
=
r
.
data
area
.
forEach
(
e
=>
{
// 仓库
...
...
src/views/ecw/order/warehousing/index.vue
View file @
4ba4d39a
...
...
@@ -105,7 +105,7 @@
</div>
</el-form>
<warehouse-area-dialog
ref=
"area"
:visible.sync=
"areaVisible"
v-model=
"form.orderLocationCreateReqVOList"
:order-id=
"orderId"
></warehouse-area-dialog>
<warehouse-area-dialog
ref=
"area"
:visible.sync=
"areaVisible"
v-model=
"form.orderLocationCreateReqVOList"
:order-id=
"orderId"
:city-id=
"order.departureVO.departureId"
></warehouse-area-dialog>
<edit-dialog
:visible.sync=
"warehousingVisible"
:warehousing=
"warehousing"
:edit=
"order.status === 5"
></edit-dialog>
...
...
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