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
edce21e5
Commit
edce21e5
authored
Jul 29, 2022
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓
parent
b58a0ec1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
49 deletions
+57
-49
editDialog.vue
src/views/ecw/order/warehousing/components/editDialog.vue
+57
-49
No files found.
src/views/ecw/order/warehousing/components/editDialog.vue
View file @
edce21e5
...
...
@@ -18,7 +18,7 @@
<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.
t
ime"
type=
"datetime"
placeholder=
"请选择入仓时间"
></el-date-picker>
<el-date-picker
v-model=
"form.
inT
ime"
type=
"datetime"
placeholder=
"请选择入仓时间"
></el-date-picker>
</el-form-item>
</el-form>
...
...
@@ -51,51 +51,51 @@
</el-table-column>
</el-table>
<el-table
:data=
"
warehousingInNew
List"
:data=
"
form.orderWarehouseInItemDo
List"
style=
"width: 100%"
>
<el-table-column
label=
"箱数"
>
<template
v-slot=
"
{r,c,$index}">
<el-input
v-model=
"
warehousingInNew
List[$index].cartonsNum"
placeholder=
""
></el-input>
<el-input
v-model=
"
form.orderWarehouseInItemDo
List[$index].cartonsNum"
placeholder=
""
></el-input>
</
template
>
</el-table-column>
<el-table-column
label=
"包装类型"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-input
v-model=
"
warehousingInNew
List[$index].boxGauge"
placeholder=
""
></el-input>
<el-input
v-model=
"
form.orderWarehouseInItemDo
List[$index].boxGauge"
placeholder=
""
></el-input>
</
template
>
</el-table-column>
<el-table-column
label=
"长(cm)"
>
<!-- <template v-slot="{r,c,$index}">-->
<!-- <el-input v-model="
warehousingInNew
List[$index].cartonsNum" placeholder=""></el-input>-->
<!-- <el-input v-model="
form.orderWarehouseInItemDo
List[$index].cartonsNum" placeholder=""></el-input>-->
<!-- </template>-->
</el-table-column>
<el-table-column
label=
"款(cm)"
>
<!-- <template v-slot="{r,c,$index}">-->
<!-- <el-input v-model="
warehousingInNew
List[$index].cartonsNum" placeholder=""></el-input>-->
<!-- <el-input v-model="
form.orderWarehouseInItemDo
List[$index].cartonsNum" placeholder=""></el-input>-->
<!-- </template>-->
</el-table-column>
<el-table-column
label=
"高(cm)"
>
<!-- <template v-slot="{r,c,$index}">-->
<!-- <el-input v-model="
warehousingInNew
List[$index].cartonsNum" placeholder=""></el-input>-->
<!-- <el-input v-model="
form.orderWarehouseInItemDo
List[$index].cartonsNum" placeholder=""></el-input>-->
<!-- </template>-->
</el-table-column>
<el-table-column
label=
"体积(m³)"
>
<!-- <template v-slot="{r,c,$index}">--
>
<!-- <el-input v-model="warehousingInNewList[$index].cartonsNum" placeholder=""></el-input>--
>
<!-- </template>--
>
<
template
v-slot=
"{r,c,$index}"
>
<el-input
v-model=
"form.orderWarehouseInItemDoList[$index].volume"
placeholder=
""
></el-input
>
</
template
>
</el-table-column>
<el-table-column
label=
"重量(Kg)"
>
<!-- <template v-slot="{r,c,$index}">--
>
<!-- <el-input v-model="warehousingInNewList[$index].cartonsNum" placeholder=""></el-input>--
>
<!-- </template>--
>
<
template
v-slot=
"{r,c,$index}"
>
<el-input
v-model=
"form.orderWarehouseInItemDoList[$index].weight"
placeholder=
""
></el-input
>
</
template
>
</el-table-column>
<el-table-column
label=
"数量"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-input
v-model=
"
warehousingInNew
List[$index].quantityAll"
placeholder=
""
></el-input>
<el-input
v-model=
"
form.orderWarehouseInItemDo
List[$index].quantityAll"
placeholder=
""
></el-input>
</
template
>
</el-table-column>
<el-table-column
label=
"快递单号"
>
<
template
v-slot=
"{r,c,$index}"
>
<el-input
v-model=
"
warehousingInNew
List[$index].expressNo"
placeholder=
""
></el-input>
<el-input
v-model=
"
form.orderWarehouseInItemDo
List[$index].expressNo"
placeholder=
""
></el-input>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -147,11 +147,22 @@ export default {
DICT_TYPE
,
opened
:
false
,
form
:
{
material
:
undefined
,
inTime
:
0
"
brand
"
:
""
,
"
brandType
"
:
0
,
"
inTime
"
:
""
,
"
material
"
:
""
,
"
orderId
"
:
0
,
"
orderItemId
"
:
0
,
"
orderNo
"
:
""
,
"
orderWarehouseInItemDoList
"
:
[],
"
prodAttrIds
"
:
""
,
"
prodId
"
:
0
,
"
prodTitleEn
"
:
""
,
"
prodTitleZh
"
:
""
,
"
prodType
"
:
0
,
"
type
"
:
0
},
// orderItem: {}
warehousingInNewList
:
[]
};
},
...
...
@@ -177,50 +188,47 @@ export default {
methods
:
{
handleSubmit
()
{
Promise
.
all
(
this
.
warehousingInNewList
.
map
(
e
=>
{
// Promise.all(
// this.form.orderWarehouseInItemDoList.map(e => {
// return orderWarehouseIn({
// ...e,
// inTime: this.form.inTime,
// material: this.form.material,
// brandType: this.warehousing.brandType,
// orderId: this.warehousing.orderId,
// orderItemId: this.warehousing.orderItemId,
// orderNo: this.warehousing.orderNo
// })
// })
// ).then(() => {
// this.handleClose()
// })
return
orderWarehouseIn
({
...
e
,
...
this
.
form
,
inTime
:
this
.
form
.
inTime
,
material
:
this
.
form
.
material
,
brandType
:
this
.
warehousing
.
brandType
,
orderId
:
this
.
warehousing
.
orderId
,
orderItemId
:
this
.
warehousing
.
orderItemId
,
orderNo
:
this
.
warehousing
.
orderNo
})
})
).
then
(()
=>
{
}).
then
(()
=>
{
this
.
handleClose
()
})
},
handleClose
()
{
this
.
warehousingInNew
List
=
[]
this
.
form
.
orderWarehouseInItemDo
List
=
[]
this
.
opened
=
false
},
handleDelete
()
{
this
.
warehousingInNew
List
.
pop
()
this
.
form
.
orderWarehouseInItemDo
List
.
pop
()
},
handleAdd
()
{
this
.
warehousingInNew
List
.
push
({
this
.
form
.
orderWarehouseInItemDo
List
.
push
({
"
boxGauge
"
:
""
,
"
brand
"
:
""
,
"
brandType
"
:
0
,
"
cartonsNum
"
:
0
,
"
expressNo
"
:
""
,
"
inTime
"
:
""
,
"
material
"
:
""
,
"
orderId
"
:
0
,
"
orderItemId
"
:
0
,
"
orderNo
"
:
""
,
"
prodAttrIds
"
:
""
,
"
prodId
"
:
0
,
"
prodTitleEn
"
:
""
,
"
prodTitleZh
"
:
""
,
"
prodType
"
:
0
,
"
quantityAll
"
:
0
,
"
type
"
:
0
,
"
unit
"
:
"
package
"
,
"
unit
"
:
""
,
"
volume
"
:
0
,
"
weight
"
:
0
})
...
...
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