Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-customer-new-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-customer-new-master
Commits
fbcd9094
Commit
fbcd9094
authored
Dec 09, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复制订单逻辑修改
parent
c298c59d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
create_order.vue
src/pages/create_order/create_order.vue
+4
-1
No files found.
src/pages/create_order/create_order.vue
View file @
fbcd9094
...
@@ -1154,6 +1154,7 @@ export default {
...
@@ -1154,6 +1154,7 @@ export default {
link
:
''
,
link
:
''
,
conIndex
:
-
1
,
conIndex
:
-
1
,
orderId
:
0
,
orderId
:
0
,
copy
:
false
,
unitType
:[],
unitType
:[],
currencyType
:[],
currencyType
:[],
lineMethod
:
false
,
lineMethod
:
false
,
...
@@ -1206,6 +1207,7 @@ export default {
...
@@ -1206,6 +1207,7 @@ export default {
await
this
.
$nextTick
()
await
this
.
$nextTick
()
this
.
orderId
=
op
.
id
this
.
orderId
=
op
.
id
if
(
op
.
copy
&&
op
.
copy
==
1
){
if
(
op
.
copy
&&
op
.
copy
==
1
){
this
.
copy
=
true
this
.
getOrderData
(
op
.
id
,
true
)
this
.
getOrderData
(
op
.
id
,
true
)
}
else
{
}
else
{
this
.
getOrderData
(
op
.
id
,
false
)
this
.
getOrderData
(
op
.
id
,
false
)
...
@@ -3220,7 +3222,8 @@ export default {
...
@@ -3220,7 +3222,8 @@ export default {
},
},
createOrder
(){
createOrder
(){
this
.
closePayNotice
()
this
.
closePayNotice
()
if
(
this
.
orderId
>
0
){
if
(
this
.
orderId
>
0
&&
!
this
.
copy
){
// 订单id大于0,且不是复制订单,则调用编辑订单业务
this
.
updateOrder
()
this
.
updateOrder
()
}
else
{
}
else
{
this
.
creatOrder
()
this
.
creatOrder
()
...
...
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