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
f043c9b4
Commit
f043c9b4
authored
Jul 15, 2022
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入库弹窗编辑组件
parent
73cdcae1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
80 additions
and
4 deletions
+80
-4
index.vue
src/components/WarehouseAreaDialog/index.vue
+0
-1
editDialog.vue
src/views/ecw/order/warehousing/components/editDialog.vue
+63
-0
index.vue
src/views/ecw/order/warehousing/index.vue
+17
-3
No files found.
src/components/WarehouseAreaDialog/index.vue
View file @
f043c9b4
...
@@ -66,7 +66,6 @@ export default {
...
@@ -66,7 +66,6 @@ export default {
data
()
{
data
()
{
return
{
return
{
opened
:
false
,
opened
:
false
,
key
:
0
,
orderId
:
''
,
orderId
:
''
,
area
:
[],
area
:
[],
...
...
src/views/ecw/order/warehousing/components/editDialog.vue
0 → 100644
View file @
f043c9b4
<
template
>
<div>
<el-dialog
title=
"入仓-货物入仓"
:visible.sync=
"opened"
width=
"600px"
:before-close=
"handleClose()"
>
{{
id
}}
<span
slot=
"footer"
>
<el-button
@
click=
"opened = false"
>
关 闭
</el-button>
<el-button
type=
"primary"
@
click=
"opened = false"
>
提 交
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
name
:
'
editDialog
'
,
props
:
{
visible
:
{
type
:
Boolean
,
default
:
false
},
id
:
Number
},
mounted
()
{
},
data
()
{
return
{
opened
:
false
,
};
},
watch
:
{
visible
(
val
)
{
if
(
val
)
{
this
.
opened
=
true
}
else
{
}
},
opened
(
val
)
{
if
(
val
)
{
}
else
{
this
.
$emit
(
'
update:visible
'
,
false
)
}
}
},
methods
:
{
handleClose
()
{},
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/ecw/order/warehousing/index.vue
View file @
f043c9b4
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
prop=
"address"
prop=
"address"
label=
"操作"
>
label=
"操作"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<el-button
size=
"mini"
type=
"text"
>
入仓
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(row.id)"
>
入仓
</el-button>
<el-button
size=
"mini"
type=
"text"
>
追加
</el-button>
<el-button
size=
"mini"
type=
"text"
>
追加
</el-button>
<el-button
size=
"mini"
type=
"text"
>
退仓
</el-button>
<el-button
size=
"mini"
type=
"text"
>
退仓
</el-button>
</
template
>
</
template
>
...
@@ -156,6 +156,8 @@
...
@@ -156,6 +156,8 @@
</el-form>
</el-form>
<warehouse-area-dialog
:visible.sync=
"areaVisible"
></warehouse-area-dialog>
<warehouse-area-dialog
:visible.sync=
"areaVisible"
></warehouse-area-dialog>
<edit-dialog
:visible.sync=
"warehousingVisible"
:id=
"warehousingId"
></edit-dialog>
</div>
</div>
</template>
</template>
...
@@ -164,13 +166,15 @@ import {getCurrencyList} from "@/api/ecw/currency"
...
@@ -164,13 +166,15 @@ import {getCurrencyList} from "@/api/ecw/currency"
import
{
getOrder
}
from
"
@/api/ecw/order
"
import
{
getOrder
}
from
"
@/api/ecw/order
"
import
orderBaseInfo
from
"
@/components/OrderBaseInfo
"
import
orderBaseInfo
from
"
@/components/OrderBaseInfo
"
import
WarehouseAreaDialog
from
'
@/components/WarehouseAreaDialog
'
import
WarehouseAreaDialog
from
'
@/components/WarehouseAreaDialog
'
import
editDialog
from
'
@/views/ecw/order/warehousing/components/editDialog
'
export
default
{
export
default
{
name
:
"
Warehousing
"
,
name
:
"
Warehousing
"
,
components
:
{
components
:
{
orderBaseInfo
,
orderBaseInfo
,
WarehouseAreaDialog
WarehouseAreaDialog
,
editDialog
},
},
mounted
()
{
mounted
()
{
...
@@ -180,15 +184,25 @@ export default {
...
@@ -180,15 +184,25 @@ export default {
}
}
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
},
},
data
()
{
data
()
{
return
{
return
{
areaVisible
:
false
,
areaVisible
:
false
,
warehousingVisible
:
false
,
form
:
{
form
:
{
a
:
''
,
a
:
''
,
b
:
3
b
:
3
},
},
currencyList
:[],
currencyList
:[],
order
:
{}
order
:
{},
warehousingId
:
undefined
}
},
methods
:
{
handleWarehousing
(
id
)
{
this
.
warehousingId
=
id
this
.
warehousingVisible
=
true
}
}
}
}
}
}
...
...
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