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
b28e2c51
Commit
b28e2c51
authored
Oct 10, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建拆单初始化
parent
1280a926
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
splitApply.vue
src/views/ecw/order/splitApply.vue
+15
-4
No files found.
src/views/ecw/order/splitApply.vue
View file @
b28e2c51
...
@@ -290,6 +290,7 @@ export default {
...
@@ -290,6 +290,7 @@ export default {
form
:{
form
:{
},
},
importCityList
:[],
selectedUsers
:[],
selectedUsers
:[],
shopOpen
:
false
,
shopOpen
:
false
,
...
@@ -318,7 +319,10 @@ export default {
...
@@ -318,7 +319,10 @@ export default {
},
},
created
()
{
created
()
{
this
.
getChannel
()
this
.
getChannel
()
getWarehouseList
().
then
(
res
=>
this
.
tradeCityList
=
res
.
data
)
getWarehouseList
().
then
(
res
=>
{
this
.
tradeCityList
=
res
.
data
this
.
importCityList
=
this
.
tradeCityList
.
filter
(
item
=>
item
.
type
==
1
)
})
if
(
this
.
$route
.
query
.
orderId
)
{
if
(
this
.
$route
.
query
.
orderId
)
{
this
.
queryParams
.
orderId
=
this
.
$route
.
query
.
orderId
this
.
queryParams
.
orderId
=
this
.
$route
.
query
.
orderId
}
}
...
@@ -352,9 +356,6 @@ export default {
...
@@ -352,9 +356,6 @@ export default {
},
},
getDictDatas
(){
getDictDatas
(){
return
getDictDatas
return
getDictDatas
},
importCityList
(){
return
this
.
tradeCityList
.
filter
(
item
=>
item
.
type
==
1
)
}
}
},
},
methods
:
{
methods
:
{
...
@@ -454,6 +455,16 @@ export default {
...
@@ -454,6 +455,16 @@ export default {
this
.
shopOpen
=
true
this
.
shopOpen
=
true
},
},
addSplit
(){
addSplit
(){
this
.
form
.
transportId
=
this
.
orderData
.
transportId
this
.
form
.
destWarehouseId
=
this
.
orderData
.
destWarehouseId
if
(
this
.
orderData
.
logisticsInfoDto
&&
this
.
orderData
.
logisticsInfoDto
.
destTitleZh
){
this
.
form
.
destWarehouseId
=
this
.
importCityList
.
find
(
item
=>
item
.
titleZh
==
this
.
orderData
.
logisticsInfoDto
.
destTitleZh
).
id
if
(
this
.
orderData
.
logisticsInfoDto
&&
this
.
orderData
.
logisticsInfoDto
.
channelId
){
this
.
form
.
channelId
=
this
.
orderData
.
logisticsInfoDto
.
channelId
}
}
this
.
open
=
true
this
.
open
=
true
},
},
changeProdTitleZh
(){
changeProdTitleZh
(){
...
...
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