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
1125e009
Commit
1125e009
authored
Jul 15, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓弹窗 界面
parent
f043c9b4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
122 additions
and
4 deletions
+122
-4
orderWarehouseIn.js
src/api/ depository/orderWarehouseIn.js
+54
-0
editDialog.vue
src/views/ecw/order/warehousing/components/editDialog.vue
+67
-3
index.vue
src/views/ecw/order/warehousing/index.vue
+1
-1
No files found.
src/api/ depository/orderWarehouseIn.js
0 → 100644
View file @
1125e009
import
request
from
'
@/utils/request
'
// 创建入仓货物详情
export
function
createOrderWarehouseIn
(
data
)
{
return
request
({
url
:
'
/depository/order-warehouse-in/create
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新入仓货物详情
export
function
updateOrderWarehouseIn
(
data
)
{
return
request
({
url
:
'
/depository/order-warehouse-in/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除入仓货物详情
export
function
deleteOrderWarehouseIn
(
id
)
{
return
request
({
url
:
'
/depository/order-warehouse-in/delete?id=
'
+
id
,
method
:
'
delete
'
})
}
// 获得入仓货物详情
export
function
getOrderWarehouseIn
(
id
)
{
return
request
({
url
:
'
/depository/order-warehouse-in/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得入仓货物详情分页
export
function
getOrderWarehouseInPage
(
query
)
{
return
request
({
url
:
'
/depository/order-warehouse-in/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出入仓货物详情 Excel
export
function
exportOrderWarehouseInExcel
(
query
)
{
return
request
({
url
:
'
/depository/order-warehouse-in/export-excel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
src/views/ecw/order/warehousing/components/editDialog.vue
View file @
1125e009
...
...
@@ -4,10 +4,55 @@
<el-dialog
title=
"入仓-货物入仓"
:visible.sync=
"opened"
width=
"
60
0px"
width=
"
96
0px"
:before-close=
"handleClose()"
>
{{
id
}}
<el-descriptions
border
:column=
"2"
>
<el-descriptions-item
label=
"中文品名"
></el-descriptions-item>
<el-descriptions-item
label=
"英文品名"
></el-descriptions-item>
<el-descriptions-item
label=
"品牌"
></el-descriptions-item>
<el-descriptions-item
label=
"是否备案"
></el-descriptions-item>
<el-descriptions-item
label=
"填单参数"
></el-descriptions-item>
</el-descriptions>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
style=
"margin-top: 20px"
>
<el-form-item
label=
"材质"
>
<dict-selector
:type=
"DICT_TYPE.ECW_PRODUCT_MATERIAL"
v-model=
"form.material"
></dict-selector>
</el-form-item>
<el-form-item
label=
"入仓时间"
>
<el-date-picker
v-model=
"form.time"
type=
"datetime"
placeholder=
"请选择入仓时间"
></el-date-picker>
</el-form-item>
</el-form>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
入仓记录
</span>
<el-button
style=
"float: right;margin-left: 15px"
size=
"mini"
type=
"primary"
icon=
"el-icon-minus"
circle
></el-button>
<el-button
style=
"float: right"
size=
"mini"
type=
"primary"
icon=
"el-icon-plus"
circle
></el-button>
</div>
<el-table
:data=
"[]"
style=
"width: 100%"
>
<el-table-column
label=
"箱数"
>
</el-table-column>
<el-table-column
label=
"包装类型"
>
</el-table-column>
<el-table-column
label=
"长(cm)"
>
</el-table-column>
<el-table-column
label=
"款(cm)"
>
</el-table-column>
<el-table-column
label=
"高(cm)"
>
</el-table-column>
<el-table-column
label=
"体积(m³)"
>
</el-table-column>
<el-table-column
label=
"重量(Kg)"
>
</el-table-column>
<el-table-column
label=
"数量"
>
</el-table-column>
<el-table-column
label=
"快递单号"
>
</el-table-column>
</el-table>
</el-card>
<span
slot=
"footer"
>
<el-button
@
click=
"opened = false"
>
关 闭
</el-button>
<el-button
type=
"primary"
@
click=
"opened = false"
>
提 交
</el-button>
...
...
@@ -17,9 +62,17 @@
</
template
>
<
script
>
import
{
getOrderWarehouseIn
}
from
"
@/api/ depository/orderWarehouseIn
"
import
dictSelector
from
"
@/components/DictSelector
"
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
export
default
{
name
:
'
editDialog
'
,
components
:
{
dictSelector
},
props
:
{
visible
:
{
type
:
Boolean
,
...
...
@@ -33,7 +86,13 @@ export default {
data
()
{
return
{
opened
:
false
,
DICT_TYPE
,
opened
:
true
,
form
:
{
material
:
undefined
,
time
:
0
},
orderItem
:
{}
};
},
...
...
@@ -41,6 +100,11 @@ export default {
visible
(
val
)
{
if
(
val
)
{
this
.
opened
=
true
if
(
this
.
id
)
{
getOrderWarehouseIn
(
this
.
id
).
then
(
r
=>
{
this
.
orderItem
=
r
.
data
})
}
}
else
{
}
},
...
...
src/views/ecw/order/warehousing/index.vue
View file @
1125e009
...
...
@@ -55,7 +55,7 @@
prop=
"address"
label=
"操作"
>
<
template
v-slot=
"{row}"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(row.
i
d)"
>
入仓
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(row.
prodI
d)"
>
入仓
</el-button>
<el-button
size=
"mini"
type=
"text"
>
追加
</el-button>
<el-button
size=
"mini"
type=
"text"
>
退仓
</el-button>
</
template
>
...
...
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