Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
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
华国豪
CRM
Commits
022d4a20
Commit
022d4a20
authored
May 10, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
86ae5328
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
256 additions
and
82 deletions
+256
-82
Agreement.vue
src/components/guestManagement/Agreement.vue
+56
-20
ticketOrder.vue
src/components/guestManagement/ticketOrder.vue
+200
-62
No files found.
src/components/guestManagement/Agreement.vue
View file @
022d4a20
...
...
@@ -503,6 +503,9 @@
row
.
selectedType
=
row
.
checkList
.
join
(
','
)
}
}
if
(
num
==
3
){
}
},
// 删除套餐值
delType
(
row
,
item
)
{
...
...
@@ -551,7 +554,37 @@
this
.
ValidateOperator
()
}
else
{
if
(
row
.
OrderStatus
!=
'2'
)
{
if
(
num
==
'2'
){
if
(
list
&&
list
.
length
>
1
){
if
(
num
==
'1'
){
let
type
type
=
num
==
1
?
1
:
2
// 1收款 2退款 3成本anceId2 = num
let
$this
=
this
;
row
.
ReFinanceId2
=
num
this
.
MsgBus
.
$emit
(
"BillMakingOrderBoxOpen"
,
$this
.
ID
,
row
,
true
);
}
if
(
num
==
'3'
){
let
type
type
=
num
==
1
?
1
:
2
// 1收款 2退款 3成本
let
href
let
url
if
(
this
.
isOnline
())
{
url
=
'http://yx.oytour.com/#/'
}
else
{
url
=
'http://www.test.com:8081/#/'
}
let
data
=
[{
path
:
'ChoiceAddFinancialDocuments'
,
type
:
type
,
OtherType
:
55
,
ReFinanceId
:
row
.
OrderId
,
ReFinanceId2
:
num
,
GuestId
:
row
.
GuestId
,
RelevanceFrId
:
row
.
selectedType
,
// 单据类型
}]
href
=
url
+
'automaticLogin?token='
+
this
.
getLocalStorage
().
token
+
'&data='
+
JSON
.
stringify
(
data
)
window
.
open
(
href
);
}
}
else
{
let
type
type
=
num
==
1
?
1
:
2
// 1收款 2退款 3成本
let
href
...
...
@@ -561,27 +594,30 @@
}
else
{
url
=
'http://www.test.com:8081/#/'
}
let
data
=
[{
path
:
'ChoiceAddFinancialDocuments'
,
type
:
type
,
OtherType
:
55
,
ReFinanceId
:
row
.
OrderId
,
ReFinanceId2
:
num
,
GuestId
:
row
.
GuestId
,
RelevanceFrId
:
row
.
selectedType
?
row
.
selectedType
:
row
.
OrderType
// 单据类型
}]
let
data
if
(
num
==
1
||
num
==
2
){
data
=
[{
path
:
'ChoiceAddFinancialDocuments'
,
type
:
type
,
OtherType
:
55
,
ReFinanceId
:
row
.
OrderId
,
ReFinanceId2
:
num
,
GuestId
:
row
.
GuestId
,
RelevanceFrId
:
row
.
OrderType
,
// 单据类型
}]
}
if
(
num
==
3
){
data
=
[{
path
:
'ChoiceAddFinancialDocuments'
,
type
:
type
,
OtherType
:
55
,
ReFinanceId
:
row
.
OrderId
,
ReFinanceId2
:
num
,
GuestId
:
row
.
GuestId
,
}]
}
href
=
url
+
'automaticLogin?token='
+
this
.
getLocalStorage
().
token
+
'&data='
+
JSON
.
stringify
(
data
)
window
.
open
(
href
);
}
if
(
num
==
'1'
&&
list
&&
list
.
length
>
1
){
let
type
type
=
num
==
1
?
1
:
2
// 1收款 2退款 3成本anceId2 = num
let
$this
=
this
;
this
.
MsgBus
.
$emit
(
"BillMakingOrderBoxOpen"
,
$this
.
ID
,
row
,
true
);
}
else
{
this
.
apipost2
(
"Financial_post_SetFinanceInfoForCRMIn"
,{},(
res
)
=>
{
})
}
}
...
...
src/components/guestManagement/ticketOrder.vue
View file @
022d4a20
This diff is collapsed.
Click to expand it.
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