Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
zhengke
jz_Travel
Commits
7754a2bf
Commit
7754a2bf
authored
May 08, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消包车订单
parent
7654060e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
3 deletions
+23
-3
orders.vue
pages/AggregateOrders/components/orders.vue
+23
-2
orderdetails.vue
pages/bus/orderdetails.vue
+0
-1
No files found.
pages/AggregateOrders/components/orders.vue
View file @
7754a2bf
...
...
@@ -78,8 +78,12 @@
</view>
</view>
</view>
<cancelPrompt
v-if=
"showModal"
:showModal=
"showModal"
@
cancel=
"cancelModal"
@
success=
"cancelSuccess"
type=
"1"
:orderNo=
"currentData.orderNo"
></cancelPrompt>
<cancelPrompt
v-if=
"showModal"
:showModal=
"showModal"
@
cancel=
"cancelModal"
@
success=
"cancelSuccess"
type=
"1"
:orderNo=
"currentData.orderNo"
:CancelPolicy=
"CancelPolicy"
></cancelPrompt>
</view>
</template>
<
script
>
...
...
@@ -98,6 +102,7 @@
showModal
:
false
,
currentData
:
null
,
b2b_user
:
null
,
CancelPolicy
:
null
,
}
},
watch
:
{
...
...
@@ -414,6 +419,11 @@
//直客订单取消
goCancelZK
(
item
)
{
if
(
item
.
orderStatus
==
2
)
{
if
(
item
.
goodsType
==
12
||
item
.
goodsType
==
13
||
item
.
goodsType
==
14
){
this
.
initData
(
item
.
goodsId
)
}
else
{
this
.
CancelPolicy
=
null
}
this
.
currentData
=
item
return
this
.
showModal
=
true
}
...
...
@@ -451,6 +461,17 @@
}
})
},
initData
(
ProductId
)
{
this
.
apipost
(
"CarSingle_post_GetTYCarSingleProductInfo"
,{
ProductId
:
ProductId
,
},
res
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
CancelPolicy
=
res
.
data
.
CancelPolicy
!=
''
?
res
.
data
.
CancelPolicy
:
'暂无'
}
});
},
}
}
</
script
>
...
...
pages/bus/orderdetails.vue
View file @
7754a2bf
...
...
@@ -681,7 +681,6 @@
res
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
CancelPolicy
=
res
.
data
.
CancelPolicy
!=
''
?
res
.
data
.
CancelPolicy
:
'暂无'
console
.
log
(
this
.
CancelPolicy
,
'=========='
)
}
});
},
...
...
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