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
46f48388
Commit
46f48388
authored
Sep 18, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【订单管理-入仓】首次入仓操作界面下,订单数据功能未显示
http://zentao.jdshangmen.com/bug-view-440.html
parent
7c23156a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
18 deletions
+35
-18
index.vue
src/views/ecw/order/warehousing/index.vue
+35
-18
No files found.
src/views/ecw/order/warehousing/index.vue
View file @
46f48388
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
</el-table>
</el-table>
<h2
v-if=
"orderSpecialNeeds.length > 0"
>
特殊需求
</h2>
<h2
v-if=
"orderSpecialNeeds.length > 0"
>
特殊需求
</h2>
<el-form
ref=
"form"
:model=
"form"
label-width=
"1
80px"
style=
"max-width: 6
00px;"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"1
20px"
style=
"max-width: 5
00px;"
>
<el-form-item
:label=
"item.label"
v-for=
"(item, index) in orderSpecialNeeds"
:key=
"item.value"
>
<el-form-item
:label=
"item.label"
v-for=
"(item, index) in orderSpecialNeeds"
:key=
"item.value"
>
<el-input
v-model=
"form.orderSpecialNeedReceivableReqVoList[index].receivableMoney"
:placeholder=
"'请输入' + item.label"
>
<el-input
v-model=
"form.orderSpecialNeedReceivableReqVoList[index].receivableMoney"
:placeholder=
"'请输入' + item.label"
>
<el-select
v-model=
"form.orderSpecialNeedReceivableReqVoList[index].receivableMoneyCurrency"
placeholder=
"请选择"
slot=
"append"
style=
"width: 100px"
>
<el-select
v-model=
"form.orderSpecialNeedReceivableReqVoList[index].receivableMoneyCurrency"
placeholder=
"请选择"
slot=
"append"
style=
"width: 100px"
>
...
@@ -92,6 +92,18 @@
...
@@ -92,6 +92,18 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<h2>
订单数据
</h2>
<el-form-item
label=
"总方数"
style=
"width: 300px"
>
<el-input
v-model=
"form.sumVolume"
placeholder=
"请输入总方数"
>
<span
slot=
"append"
>
m³
</span>
</el-input>
</el-form-item>
<el-form-item
label=
"总方数量"
style=
"width: 300px"
>
<el-input
v-model=
"form.sumWeight"
placeholder=
"请输入总数量"
>
<span
slot=
"append"
>
kg
</span>
</el-input>
</el-form-item>
<el-card
style=
"margin-top: 15px;"
>
<el-card
style=
"margin-top: 15px;"
>
<div
slot=
"header"
class=
"clearfix"
>
<div
slot=
"header"
class=
"clearfix"
>
<span
style=
"font-size: 18px"
>
入仓影像
</span>
<span
style=
"font-size: 18px"
>
入仓影像
</span>
...
@@ -144,19 +156,6 @@
...
@@ -144,19 +156,6 @@
</span>
</span>
</el-dialog>
</el-dialog>
<!-- <el-dialog-->
<!-- title="转异常单"-->
<!-- :visible.sync="dialogVisible"-->
<!-- width="30%"-->
<!-- :before-close="handleClose(done)"-->
<!-- >-->
<!-- <span>这是一段信息</span>-->
<!-- <span slot="footer" class="dialog-footer">-->
<!-- <el-button type="primary" @click="dialogVisible = false">确认并完成入仓</el-button>-->
<!-- <el-button @click="dialogVisible = false">取 消</el-button>-->
<!-- </span>-->
<!-- </el-dialog>-->
<print-tag
v-if=
"isShowPrintTag"
:order-id=
"orderId"
@
close=
"isShowPrintTag = false"
></print-tag>
<print-tag
v-if=
"isShowPrintTag"
:order-id=
"orderId"
@
close=
"isShowPrintTag = false"
></print-tag>
<print-warehouse-receipt
v-if=
"isShowPrint"
:order-id=
"orderId"
@
close=
"isShowPrint = false"
/>
<print-warehouse-receipt
v-if=
"isShowPrint"
:order-id=
"orderId"
@
close=
"isShowPrint = false"
/>
...
@@ -197,7 +196,7 @@ export default {
...
@@ -197,7 +196,7 @@ export default {
mounted
()
{
mounted
()
{
if
(
this
.
$route
.
query
.
id
){
if
(
this
.
$route
.
query
.
id
){
this
.
orderId
=
parseInt
(
this
.
$route
.
query
.
id
||
undefined
)
this
.
orderId
=
parseInt
(
this
.
$route
.
query
.
id
||
undefined
)
getOrder
(
this
.
orderId
).
then
(
r
=>
this
.
order
=
r
.
data
)
this
.
getOrder
(
)
getOrderWarehouseIn
(
this
.
orderId
).
then
(
r
=>
this
.
orderItemList
=
r
.
data
.
reverse
())
getOrderWarehouseIn
(
this
.
orderId
).
then
(
r
=>
this
.
orderItemList
=
r
.
data
.
reverse
())
getSpecialListByOrderId
(
this
.
orderId
).
then
(
r
=>
this
.
specialList
=
r
.
data
)
getSpecialListByOrderId
(
this
.
orderId
).
then
(
r
=>
this
.
specialList
=
r
.
data
)
listByOrderId
({
orderId
:
this
.
orderId
}).
then
(
r
=>
this
.
form
.
orderLocationCreateReqVOList
=
r
.
data
)
listByOrderId
({
orderId
:
this
.
orderId
}).
then
(
r
=>
this
.
form
.
orderLocationCreateReqVOList
=
r
.
data
)
...
@@ -218,7 +217,9 @@ export default {
...
@@ -218,7 +217,9 @@ export default {
exceptionUrls
:[],
exceptionUrls
:[],
descZh
:
''
,
descZh
:
''
,
manualExceptionType
:
''
,
manualExceptionType
:
''
,
urls
:
[]
urls
:
[],
sumVolume
:
''
,
sumWeight
:
''
,
},
},
currencyList
:[],
currencyList
:[],
order
:
{},
order
:
{},
...
@@ -233,6 +234,22 @@ export default {
...
@@ -233,6 +234,22 @@ export default {
},
},
methods
:
{
methods
:
{
getTowSum
(){
let
sumVolume
=
0
let
sumWeight
=
0
this
.
order
.
orderItemVOList
.
forEach
(
e
=>
{
if
(
e
?.
warehouseInInfoVO
?.
volume
)
sumVolume
+=
e
.
warehouseInInfoVO
.
volume
if
(
e
?.
warehouseInInfoVO
?.
weight
)
sumWeight
+=
e
.
warehouseInInfoVO
.
weight
})
this
.
form
.
sumVolume
=
sumVolume
this
.
form
.
sumWeight
=
sumWeight
},
getOrder
(){
getOrder
(
this
.
orderId
).
then
(
r
=>
{
this
.
order
=
r
.
data
this
.
getTowSum
()
})
},
handleSubmit
()
{
handleSubmit
()
{
let
p
=
{
let
p
=
{
orderSpecialNeedReceivableReqVoList
:
this
.
form
.
orderSpecialNeedReceivableReqVoList
,
orderSpecialNeedReceivableReqVoList
:
this
.
form
.
orderSpecialNeedReceivableReqVoList
,
...
@@ -284,7 +301,7 @@ export default {
...
@@ -284,7 +301,7 @@ export default {
});
});
getOrderWarehouseIn
(
this
.
orderId
).
then
(
r
=>
this
.
orderItemList
=
r
.
data
.
reverse
())
getOrderWarehouseIn
(
this
.
orderId
).
then
(
r
=>
this
.
orderItemList
=
r
.
data
.
reverse
())
getOrder
(
this
.
orderId
).
then
(
r
=>
this
.
order
=
r
.
data
)
this
.
getOrder
(
)
})
})
}).
catch
(()
=>
{
}).
catch
(()
=>
{
...
@@ -295,7 +312,7 @@ export default {
...
@@ -295,7 +312,7 @@ export default {
watch
:
{
watch
:
{
warehousingVisible
(
val
)
{
warehousingVisible
(
val
)
{
if
(
!
val
){
if
(
!
val
){
getOrder
(
this
.
orderId
).
then
(
r
=>
this
.
order
=
r
.
data
)
this
.
getOrder
(
)
getOrderWarehouseIn
(
this
.
orderId
).
then
(
r
=>
this
.
orderItemList
=
r
.
data
.
reverse
())
getOrderWarehouseIn
(
this
.
orderId
).
then
(
r
=>
this
.
orderItemList
=
r
.
data
.
reverse
())
}
}
},
},
...
...
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