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
e9409fb3
Commit
e9409fb3
authored
Nov 06, 2024
by
zs嵩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
到仓修改 货物信息调用新接口
parent
46fd9567
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
6 deletions
+22
-6
Warehouse.vue
src/views/ecw/order/warehousingTo/components/Warehouse.vue
+22
-6
No files found.
src/views/ecw/order/warehousingTo/components/Warehouse.vue
View file @
e9409fb3
...
@@ -234,7 +234,7 @@ import WarehouseAreaSelect from "@/components/WarehouseAreaSelect"
...
@@ -234,7 +234,7 @@ import WarehouseAreaSelect from "@/components/WarehouseAreaSelect"
import
{
getFeeTypeByOrderProduct
,
getProductBrankPage
}
from
"
@/api/ecw/productBrank
"
import
{
getFeeTypeByOrderProduct
,
getProductBrankPage
}
from
"
@/api/ecw/productBrank
"
import
{
cancelProcessInstance
}
from
"
@/api/bpm/processInstance
"
import
{
cancelProcessInstance
}
from
"
@/api/bpm/processInstance
"
import
{
DICT_TYPE
,
getDictDataLabel
,
getDictDatas
}
from
"
@/utils/dict
"
import
{
DICT_TYPE
,
getDictDataLabel
,
getDictDatas
}
from
"
@/utils/dict
"
import
{
orderWarehouseIn
,
orderWarehouseInUpdateApply
,
warehousePictureDelete
,
warehousePictureList
,
order_warehouse_check_update
}
from
"
@/api/ecw/order
"
import
{
orderWarehouseIn
,
orderWarehouseInUpdateApply
,
warehousePictureDelete
,
warehousePictureList
,
order_warehouse_check_update
,
order_warehouse_check_query
}
from
"
@/api/ecw/order
"
import
{
getProductAttrList
}
from
"
@/api/ecw/productAttr
"
import
{
getProductAttrList
}
from
"
@/api/ecw/productAttr
"
import
{
getProductTypeList
}
from
"
@/api/ecw/productType
"
import
{
getProductTypeList
}
from
"
@/api/ecw/productType
"
import
{
addProduct
}
from
"
@/api/ecw/product
"
import
{
addProduct
}
from
"
@/api/ecw/product
"
...
@@ -446,7 +446,7 @@ export default {
...
@@ -446,7 +446,7 @@ export default {
},
},
methods
:
{
methods
:
{
init
()
{
async
init
()
{
this
.
form
.
brandType
=
this
.
warehousing
.
brandType
this
.
form
.
brandType
=
this
.
warehousing
.
brandType
this
.
form
.
orderId
=
this
.
warehousing
.
orderId
this
.
form
.
orderId
=
this
.
warehousing
.
orderId
this
.
form
.
orderItemId
=
this
.
warehousing
.
orderNo
this
.
form
.
orderItemId
=
this
.
warehousing
.
orderNo
...
@@ -474,13 +474,29 @@ export default {
...
@@ -474,13 +474,29 @@ export default {
if
(
this
.
form
.
usageIds
.
length
>
0
&&
this
.
form
.
usageIds
[
0
]
===
""
)
{
if
(
this
.
form
.
usageIds
.
length
>
0
&&
this
.
form
.
usageIds
[
0
]
===
""
)
{
this
.
usageIds
.
splice
(
0
,
1
)
this
.
usageIds
.
splice
(
0
,
1
)
}
}
this
.
warehousing
.
orderWarehouseInBackItemDoList
.
forEach
((
e
)
=>
{
// this.warehousing.orderWarehouseInBackItemDoList.forEach((e) => {
// let bg = {}
// if (e.boxGauge) {
// const boxGauge = e.boxGauge.split("*")
// // e.boxGauge1 = boxGauge[0]
// // e.boxGauge2 = boxGauge[1]
// // e.boxGauge3 = boxGauge[2]
// bg = {
// boxGauge1: boxGauge[0],
// boxGauge2: boxGauge[1],
// boxGauge3: boxGauge[2]
// }
// }
// this.form.table.push({ ...e, ...bg })
// })
let
r
=
await
order_warehouse_check_query
(
this
.
warehousing
.
orderItemId
)
console
.
log
(
r
)
r
.
data
.
forEach
((
e
)
=>
{
let
bg
=
{}
let
bg
=
{}
if
(
e
.
boxGauge
)
{
if
(
e
.
boxGauge
)
{
const
boxGauge
=
e
.
boxGauge
.
split
(
"
*
"
)
const
boxGauge
=
e
.
boxGauge
.
split
(
"
*
"
)
// e.boxGauge1 = boxGauge[0]
// e.boxGauge2 = boxGauge[1]
// e.boxGauge3 = boxGauge[2]
bg
=
{
bg
=
{
boxGauge1
:
boxGauge
[
0
],
boxGauge1
:
boxGauge
[
0
],
boxGauge2
:
boxGauge
[
1
],
boxGauge2
:
boxGauge
[
1
],
...
...
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