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
6363d2cb
Commit
6363d2cb
authored
Sep 19, 2022
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓修改标签箱号
parent
9aa61b78
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
2 deletions
+52
-2
order.js
src/api/ecw/order.js
+10
-0
index.vue
src/views/ecw/order/warehousing/index.vue
+42
-2
No files found.
src/api/ecw/order.js
View file @
6363d2cb
...
@@ -171,6 +171,16 @@ export function orderWarehouseInUpdateApply(data){
...
@@ -171,6 +171,16 @@ export function orderWarehouseInUpdateApply(data){
data
data
})
})
}
}
// 入仓修改箱号
export
function
orderWarehouseInUpdateLabel
(
data
){
return
request
({
url
:
'
/order/order-warehouse-in/update-label
'
,
method
:
'
post
'
,
data
})
}
// 获取入仓修改审批单详情-审批使用
// 获取入仓修改审批单详情-审批使用
export
function
getWarehouseUpdateApprovalInfo
(
id
)
{
export
function
getWarehouseUpdateApprovalInfo
(
id
)
{
return
request
({
return
request
({
...
...
src/views/ecw/order/warehousing/index.vue
View file @
6363d2cb
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,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=
"120px"
style=
"max-width: 5
0
0px;"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"120px"
style=
"max-width: 5
5
0px;"
>
<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"
>
...
@@ -125,6 +125,20 @@
...
@@ -125,6 +125,20 @@
<el-button
@
click=
"escapeBol = true;"
type=
"primary"
>
转异
</el-button>
<el-button
@
click=
"escapeBol = true;"
type=
"primary"
>
转异
</el-button>
<el-button
type=
"primary"
@
click=
"finishVisible = true"
>
完成入仓
</el-button>
<el-button
type=
"primary"
@
click=
"finishVisible = true"
>
完成入仓
</el-button>
</div>
</div>
<
template
v-if=
"order.status === 5"
>
<h2>
标枪箱号
</h2>
<div
v-for=
"(item, index) in label.orderLabelDtoList"
:key=
"index"
style=
"margin-bottom: 10px"
>
<el-input-number
v-model=
"item.start"
controls-position=
"right"
></el-input-number>
-
<el-input-number
v-model=
"item.end"
controls-position=
"right"
></el-input-number>
<el-button
icon=
"el-icon-minus"
circle
v-show=
"index !== 0"
@
click=
"label.orderLabelDtoList.splice(index, 1)"
style=
"margin-left: 10px"
></el-button>
<el-button
icon=
"el-icon-plus"
circle
@
click=
"handleLabelAdd(index)"
></el-button>
</div>
<div
style=
"text-align: center"
>
<el-button
type=
"primary"
@
click=
"handleLabelSubmit"
>
修改箱号
</el-button>
</div>
</
template
>
</el-form>
</el-form>
<warehouse-area-dialog
ref=
"area"
:visible.sync=
"areaVisible"
v-model=
"form.orderLocationCreateReqVOList"
<warehouse-area-dialog
ref=
"area"
:visible.sync=
"areaVisible"
v-model=
"form.orderLocationCreateReqVOList"
...
@@ -176,7 +190,7 @@ import {
...
@@ -176,7 +190,7 @@ import {
getOrder
,
getOrder
,
getOrderWarehouseIn
,
getOrderWarehouseIn
,
getSpecialListByOrderId
,
listByOrderId
,
getSpecialListByOrderId
,
listByOrderId
,
orderWarehouseInFinish
,
orderWarehouseInFinish
,
orderWarehouseInUpdateLabel
,
rollbackDelete
rollbackDelete
}
from
'
@/api/ecw/order
'
}
from
'
@/api/ecw/order
'
import
orderBaseInfo
from
"
@/components/OrderBaseInfo
"
import
orderBaseInfo
from
"
@/components/OrderBaseInfo
"
...
@@ -238,10 +252,36 @@ export default {
...
@@ -238,10 +252,36 @@ export default {
isShowPrintTag
:
false
,
isShowPrintTag
:
false
,
isShowPrint
:
false
,
isShowPrint
:
false
,
escapeBol
:
false
,
escapeBol
:
false
,
label
:
{
"
orderId
"
:
0
,
"
orderLabelDtoList
"
:
[
{
"
end
"
:
0
,
"
start
"
:
0
}
]
}
}
}
},
},
methods
:
{
methods
:
{
handleLabelSubmit
(){
orderWarehouseInUpdateLabel
({
...
this
.
label
,
orderId
:
this
.
orderId
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
}
})
},
handleLabelAdd
(
index
){
this
.
label
.
orderLabelDtoList
.
splice
(
index
+
1
,
0
,
{
"
end
"
:
''
,
"
start
"
:
''
})
},
getTowSum
(){
getTowSum
(){
let
sumVolume
=
0
let
sumVolume
=
0
let
sumWeight
=
0
let
sumWeight
=
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