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
5c7fc1e5
Commit
5c7fc1e5
authored
Dec 24, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http://zentao.jdshangmen.com/bug-view-1803.html
一个订单多个商品,后面的商品首次入仓会自动填充前面的品牌 首次入仓箱号默认值
parent
0618530c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
order.js
src/api/ecw/order.js
+11
-0
index.vue
src/views/ecw/order/warehousing/index.vue
+9
-1
No files found.
src/api/ecw/order.js
View file @
5c7fc1e5
...
...
@@ -192,6 +192,17 @@ export function getLabelByOrder(orderId){
})
}
// 根据订单id获取待入仓标签箱号
export
function
getLabelWaitInByOrder
(
orderId
){
return
request
({
url
:
'
/order/order-warehouse-in/get-label-wait-in-by-order
'
,
method
:
'
get
'
,
params
:
{
orderId
}
})
}
// 入仓修改储位
export
function
saveOrUpdateOrderLocation
(
data
){
return
request
({
...
...
src/views/ecw/order/warehousing/index.vue
View file @
5c7fc1e5
...
...
@@ -194,7 +194,7 @@
<
script
>
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
import
{
getLabelByOrder
,
getLabelByOrder
,
getLabelWaitInByOrder
,
getOrder
,
getOrderWarehouseIn
,
getSpecialListByOrderId
,
listByOrderId
,
...
...
@@ -310,6 +310,14 @@ export default {
getLabelByOrder
(
this
.
orderId
).
then
(
r
=>
{
if
(
r
.
code
===
0
&&
!!
r
.
data
&&
r
.
data
.
length
>
0
)
{
this
.
label
.
orderLabelDtoList
=
r
.
data
}
else
{
// 没有历史数据,查默认值
getLabelWaitInByOrder
(
this
.
orderId
).
then
(
r
=>
{
console
.
log
(
r
)
if
(
r
.
code
===
0
&&
!!
r
.
data
)
{
this
.
label
.
orderLabelDtoList
=
[
r
.
data
]
}
})
}
})
},
...
...
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