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
7023b6c6
Commit
7023b6c6
authored
Aug 09, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加物流公司
parent
d26dac3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
7 deletions
+25
-7
order.js
src/api/ecw/order.js
+8
-1
transferWarehousing.vue
src/views/ecw/order/transferWarehousing.vue
+17
-6
No files found.
src/api/ecw/order.js
View file @
7023b6c6
...
@@ -294,4 +294,11 @@ export function getCargoControlOrderPage(params){
...
@@ -294,4 +294,11 @@ export function getCargoControlOrderPage(params){
method
:
'
put
'
,
method
:
'
put
'
,
data
data
})
})
}
}
\ No newline at end of file
export
function
listByOrderId
(
params
){
return
request
({
url
:
'
/order/location/list-by-order-id
'
,
method
:
'
get
'
,
params
,
})
}
src/views/ecw/order/transferWarehousing.vue
View file @
7023b6c6
...
@@ -73,9 +73,11 @@
...
@@ -73,9 +73,11 @@
<el-descriptions
style=
"margin-top: 20px"
:column=
"4"
border
>
<el-descriptions
style=
"margin-top: 20px"
:column=
"4"
border
>
<el-descriptions-item
label=
"集运仓库"
>
{{ warehouseDetails.warehouseOutName }}
</el-descriptions-item>
<el-descriptions-item
label=
"集运仓库"
>
{{ warehouseDetails.warehouseOutName }}
</el-descriptions-item>
<el-descriptions-item
label=
"储位"
>
{{}}
</el-descriptions-item>
<el-descriptions-item
label=
"储位"
>
{{}}
</el-descriptions-item>
<el-descriptions-item
label=
"调拨目标仓"
>
{{ warehouseDetails.warehouseIn
Id
}}
</el-descriptions-item>
<el-descriptions-item
label=
"调拨目标仓"
>
{{ warehouseDetails.warehouseIn
Name
}}
</el-descriptions-item>
<el-descriptions-item
label=
"物流公司"
>
<el-descriptions-item
label=
"物流公司"
>
<el-input
v-model=
"params.logisticsCompany"
></el-input>
<el-select
v-model=
"params.logisticsCompany"
>
<el-option
v-for=
"(item,index) in expressList "
:key=
"index"
:value=
"item.id"
:label=
"item.companyZh"
></el-option>
</el-select>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"物流单号"
>
<el-descriptions-item
label=
"物流单号"
>
<el-input
v-model=
"params.logisticsNo"
></el-input>
<el-input
v-model=
"params.logisticsNo"
></el-input>
...
@@ -118,7 +120,7 @@
...
@@ -118,7 +120,7 @@
<
script
>
<
script
>
import
ordeDetailsForm
from
"
@/views/ecw/order/components/ordeDetailsForm
"
;
import
ordeDetailsForm
from
"
@/views/ecw/order/components/ordeDetailsForm
"
;
import
{
import
{
getOrder
,
getOrder
,
listByOrderId
,
orderWarehouseInGetAdjustInfo
,
orderWarehouseInGetAdjustInfo
,
orderWarehousePicturePage
,
warehouseAdjustArrived
,
warehouseAdjustPage
,
orderWarehousePicturePage
,
warehouseAdjustArrived
,
warehouseAdjustPage
,
warehouseAdjustSendOut
warehouseAdjustSendOut
...
@@ -126,6 +128,7 @@ import {
...
@@ -126,6 +128,7 @@ import {
import
Template
from
"
@/views/cms/template
"
;
import
Template
from
"
@/views/cms/template
"
;
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
ImageAndVideoUpload
from
"
@/components/ImageAndVideoUpload/index
"
;
import
ImageAndVideoUpload
from
"
@/components/ImageAndVideoUpload/index
"
;
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
let
STATUS
=
{
1
:
'
审核中
'
,
2
:
'
已通过
'
,
3
:
'
已拒绝
'
,
4
:
'
已出仓
'
,
5
:
'
已到仓
'
}
let
STATUS
=
{
1
:
'
审核中
'
,
2
:
'
已通过
'
,
3
:
'
已拒绝
'
,
4
:
'
已出仓
'
,
5
:
'
已到仓
'
}
export
default
{
export
default
{
name
:
"
transferWarehousing
"
,
name
:
"
transferWarehousing
"
,
...
@@ -149,14 +152,19 @@ export default {
...
@@ -149,14 +152,19 @@ export default {
deliveryDate
:
""
,
deliveryDate
:
""
,
deliveryRemark
:
""
,
deliveryRemark
:
""
,
id
:
undefined
,
id
:
undefined
,
logisticsCompany
:
""
,
logisticsCompany
:
undefined
,
logisticsNo
:
""
,
logisticsNo
:
""
,
phone
:
""
,
phone
:
""
,
urls
:
[]
urls
:
[]
}
},
expressList
:[]
}
}
},
},
created
()
{
created
()
{
getSupplierPage
({
pageNo
:
1
,
pageSize
:
10000
}).
then
(
r
=>
{
this
.
expressList
=
r
.
data
.
list
;
})
getOrder
(
this
.
orderId
).
then
(
r
=>
{
getOrder
(
this
.
orderId
).
then
(
r
=>
{
if
(
r
.
code
===
0
)
{
if
(
r
.
code
===
0
)
{
this
.
orderDetails
=
r
.
data
;
this
.
orderDetails
=
r
.
data
;
...
@@ -169,16 +177,19 @@ export default {
...
@@ -169,16 +177,19 @@ export default {
}
}
orderWarehouseInGetAdjustInfo
({
orderId
:
this
.
orderId
,
lang
:
0
}).
then
(
r
=>
{
orderWarehouseInGetAdjustInfo
({
orderId
:
this
.
orderId
,
lang
:
0
}).
then
(
r
=>
{
this
.
warehouseDetails
=
r
.
data
[
0
]
this
.
warehouseDetails
=
r
.
data
[
0
]
listByOrderId
({
orderId
:
this
.
orderId
}).
then
(
r
=>
{
console
.
log
(
r
,
'
r
'
)
})
this
.
params
.
phone
=
this
.
warehouseDetails
.
phone
;
this
.
params
.
phone
=
this
.
warehouseDetails
.
phone
;
this
.
params
.
logisticsNo
=
this
.
warehouseDetails
.
logisticsNo
;
this
.
params
.
logisticsNo
=
this
.
warehouseDetails
.
logisticsNo
;
this
.
params
.
id
=
this
.
warehouseDetails
.
id
;
this
.
params
.
id
=
this
.
warehouseDetails
.
id
;
this
.
params
.
deliveryDate
=
this
.
warehouseDetails
.
deliveryDate
this
.
params
.
deliveryDate
=
this
.
warehouseDetails
.
deliveryDate
this
.
params
.
logisticsCompany
=
this
.
warehouseDetails
.
logisticsCompany
?
parseInt
(
this
.
warehouseDetails
.
logisticsCompany
)
:
undefined
;
orderWarehousePicturePage
({
rows
:
100
,
bizId
:
this
.
params
.
id
,
type
:
this
.
type
==
1
?
2
:
3
}).
then
(
r
=>
{
orderWarehousePicturePage
({
rows
:
100
,
bizId
:
this
.
params
.
id
,
type
:
this
.
type
==
1
?
2
:
3
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
this
.
params
.
urls
=
r
.
data
.
list
.
map
(
e
=>
e
.
url
);
this
.
params
.
urls
=
r
.
data
.
list
.
map
(
e
=>
e
.
url
);
}
}
})
})
})
})
},
},
methods
:{
methods
:{
...
...
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