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
68414f37
Commit
68414f37
authored
May 09, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
eb9dc0c2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1007 additions
and
33 deletions
+1007
-33
Agreement.vue
src/components/guestManagement/Agreement.vue
+51
-28
ticketOrder.vue
src/components/guestManagement/ticketOrder.vue
+950
-5
index.vue
src/views/index.vue
+6
-0
No files found.
src/components/guestManagement/Agreement.vue
View file @
68414f37
...
...
@@ -392,9 +392,16 @@
this
.
getList
();
this
.
GetTicketStatusEnumList
()
let
$this
=
this
this
.
MsgBus
.
$on
(
"closeGetList"
,
function
()
{
$
this
.
MsgBus
.
$on
(
"closeGetList"
,
function
()
{
$this
.
getList
()
});
$this
.
MsgBus
.
$on
(
"closeBillMaking"
,
function
()
{
for
(
let
i
=
0
;
i
<
$this
.
dataList
.
length
;
i
++
){
$this
.
dataList
[
i
].
checkList
=
[]
$this
.
dataList
[
i
].
MultipleChoiceList
=
[]
$this
.
dataList
[
i
].
selectedType
=
""
}
});
},
methods
:
{
// 取消
...
...
@@ -405,11 +412,18 @@
if
(
num
==
3
){
this
.
dataList
[
index
].
cost
=
false
}
this
.
dataList
[
index
].
MultipleChoiceList
=
[]
this
.
dataList
[
index
].
selectedType
=
''
this
.
dataList
.
forEach
(
item
=>
{
item
.
checkList
=
[]
item
.
MultipleChoiceList
=
[]
item
.
selectedType
=
''
})
},
//
关闭
弹窗
//
确定
弹窗
popClick
(
row
,
index
,
num
){
if
(
!
row
.
selectedType
){
this
.
$message
.
warning
(
'请选择类型!'
);
return
}
this
.
makeAdocumentFun
(
row
,
index
,
num
)
if
(
num
==
1
){
this
.
dataList
[
index
].
actuallyReceived
=
false
...
...
@@ -532,35 +546,44 @@
}
},
makeAdocumentFun
(
row
,
index
,
num
){
let
list
=
row
.
OrderType
&&
row
.
OrderType
.
split
(
','
)
if
(
this
.
userInfo
.
EmName
!=
row
.
EnterName
)
{
this
.
ValidateOperator
()
}
else
{
if
(
row
.
OrderStatus
!=
'2'
)
{
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/#/'
if
(
num
==
'2'
){
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
?
row
.
selectedType
:
row
.
OrderType
// 单据类型
}]
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
)
=>
{
})
}
let
data
=
[{
path
:
'ChoiceAddFinancialDocuments'
,
type
:
type
,
OtherType
:
55
,
ReFinanceId
:
row
.
OrderId
,
ReFinanceId2
:
num
,
GuestId
:
row
.
GuestId
,
RelevanceFrId
:
row
.
selectedType
?
row
.
selectedType
:
row
.
OrderType
// 单据类型
}]
this
.
dataList
.
forEach
(
item
=>
{
item
.
checkList
=
[]
item
.
MultipleChoiceList
=
[]
item
.
selectedType
=
''
})
href
=
url
+
'automaticLogin?token='
+
this
.
getLocalStorage
().
token
+
'&data='
+
JSON
.
stringify
(
data
)
window
.
open
(
href
);
}
}
...
...
src/components/guestManagement/ticketOrder.vue
View file @
68414f37
This diff is collapsed.
Click to expand it.
src/views/index.vue
View file @
68414f37
...
...
@@ -351,6 +351,12 @@
$this
.
obj
=
obj
;
$this
.
dialogTicketOrderVisible
=
true
;
});
this
.
MsgBus
.
$on
(
"BillMakingOrderBoxOpen"
,
function
(
GuestId
,
obj
)
{
$this
.
dialogTicketOrderVisibleName
=
"制单"
;
$this
.
GuestId
=
GuestId
;
$this
.
obj
=
obj
;
$this
.
dialogTicketOrderVisible
=
true
;
});
this
.
MsgBus
.
$on
(
"closeTicketOrderDialogBox"
,
function
()
{
$this
.
dialogTicketOrderVisible
=
false
;
this
.
$emit
(
"getList"
);
...
...
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