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
0fc93bae
Commit
0fc93bae
authored
May 28, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
空运订单
parent
88fea860
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
edit.vue
src/views/ecw/order/edit.vue
+6
-1
index.vue
src/views/ecw/order/index.vue
+2
-2
No files found.
src/views/ecw/order/edit.vue
View file @
0fc93bae
...
...
@@ -927,6 +927,9 @@ export default {
if
(
this
.
$route
.
query
.
id
!=
this
.
form
.
id
){
this
.
getOrder
()
}
if
(
this
.
$route
.
query
.
transportType
!=
this
.
transportId
){
this
.
set
(
this
.
form
.
transportId
,
+
this
.
$route
.
query
.
transportType
)
}
},
async
created
()
{
...
...
@@ -943,7 +946,9 @@ export default {
value
:
2
// 1 发货人,2收货人,默认收货人,可修改
})
})
if
(
this
.
$route
.
query
.
transportType
){
this
.
$set
(
this
.
form
,
'
transportId
'
,
+
this
.
$route
.
query
.
transportType
)
}
if
(
this
.
$route
.
query
.
id
){
this
.
getOrder
()
}
else
{
...
...
src/views/ecw/order/index.vue
View file @
0fc93bae
...
...
@@ -120,7 +120,7 @@
<!-- 操作工具栏 -->
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
v-if=
"transportId"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['ecw:order:create']"
>
{{
$t
(
'
新增
'
)
}}
</el-button>
</el-col>
...
...
@@ -826,7 +826,7 @@ export default {
},
/** 新增按钮操作 */
handleAdd
()
{
this
.
$router
.
push
(
'
create
'
)
this
.
$router
.
push
(
'
create
?transportType=
'
+
this
.
transportId
)
},
/** 修改按钮操作 */
handleUpdate
(
row
)
{
...
...
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