Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
5bfc9a5f
Commit
5bfc9a5f
authored
Aug 08, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
4dc61688
efde8c89
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
22 deletions
+52
-22
ReservationOrder.vue
...components/CarDealerOrder/components/ReservationOrder.vue
+49
-21
FinancialDocumentsDetail.vue
src/components/FinancialModule/FinancialDocumentsDetail.vue
+3
-1
No files found.
src/components/CarDealerOrder/components/ReservationOrder.vue
View file @
5bfc9a5f
...
@@ -154,20 +154,27 @@
...
@@ -154,20 +154,27 @@
<li>
<li>
<span>
<span>
<em>
{{
$t
(
'OrderList.search.status'
)
}}
</em>
<em>
{{
$t
(
'OrderList.search.status'
)
}}
</em>
<el-select
v-model=
"msg.OrderState"
>
<el-select
v-model=
"msg.OrderState"
@
change=
"handleCurrentChange(1)"
>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('OrderList.orderStatus.normal')"
></el-option>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('OrderList.orderStatus.normal')"
></el-option>
<el-option
v-for=
"item in OrderStatusType"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
<el-option
v-for=
"item in OrderStatusType"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<!--
<li>
<span><em>
主
{{
$t
(
'OrderList.search.orderId'
)
}}
</em>
<el-input
clearable
type=
"Number"
v-model=
"msg.MainId"
:placeholder=
"$t('objFill.orderid')"
@
keyup
.
native=
"handleCurrentChange(1)"
/>
</span>
</li>
-->
<li>
<li>
<span><em>
{{
$t
(
'OrderList.search.orderId'
)
}}
</em>
<span><em>
{{
$t
(
'OrderList.search.orderId'
)
}}
</em>
<el-input
clearable
type=
"Number"
v-model=
"msg.OrderId"
:placeholder=
"$t('objFill.v100.orderid')"
/>
<el-input
clearable
type=
"Number"
v-model=
"msg.OrderId"
:placeholder=
"$t('objFill.orderid')"
@
keyup
.
native=
"handleCurrentChange(1)"
/>
</span>
</span>
</li>
</li>
<li>
<li>
<span><em>
{{
$t
(
'fnc.khmingcheng'
)
}}
</em>
<span><em>
{{
$t
(
'fnc.khmingcheng'
)
}}
</em>
<el-select
v-model=
"msg.CustomerId"
filterable
>
<el-select
v-model=
"msg.CustomerId"
filterable
@
change=
"handleCurrentChange(1)"
>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
"item in CustomerList"
:key=
"item.Id"
:label=
"item.CustomerName"
:value=
"item.Id"
></el-option>
<el-option
v-for=
"item in CustomerList"
:key=
"item.Id"
:label=
"item.CustomerName"
:value=
"item.Id"
></el-option>
</el-select>
</el-select>
...
@@ -185,7 +192,7 @@
...
@@ -185,7 +192,7 @@
<li>
<li>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"
msg.pageIndex = 1, currentPage = 1, GetList(
)"
/>
@
click=
"
handleCurrentChange(1
)"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -238,12 +245,15 @@ export default {
...
@@ -238,12 +245,15 @@ export default {
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
5
,
pageSize
:
5
,
OrderId
:
'0'
,
CustomerId
:
0
,
CustomerId
:
0
,
UseSTime
:
""
,
UseSTime
:
""
,
UseETime
:
""
,
UseETime
:
""
,
OrderState
:
0
,
OrderState
:
0
,
IsFinish
:
-
1
,
IsFinish
:
-
1
,
Sort
:
1
,
OrderId
:
null
,
MainId
:
null
,
OrderTCNUM
:
''
,
},
},
total
:
0
,
total
:
0
,
currentPage
:
1
,
currentPage
:
1
,
...
@@ -310,6 +320,7 @@ export default {
...
@@ -310,6 +320,7 @@ export default {
this
.
msg
.
UseSTime
=
''
this
.
msg
.
UseSTime
=
''
this
.
msg
.
UseETime
=
''
this
.
msg
.
UseETime
=
''
}
}
this
.
handleCurrentChange
(
1
)
},
},
setEdate
()
{
setEdate
()
{
return
this
.
addMoth
(
new
Date
().
Format
(
"yyyy-MM-dd"
),
1
)
return
this
.
addMoth
(
new
Date
().
Format
(
"yyyy-MM-dd"
),
1
)
...
@@ -357,43 +368,57 @@ export default {
...
@@ -357,43 +368,57 @@ export default {
},
},
//获取酒店订单列表
//获取酒店订单列表
GetList
()
{
GetList
()
{
if
(
this
.
msg
.
OrderId
==
''
)
this
.
msg
.
OrderId
=
0
//
if(this.msg.OrderId=='') this.msg.OrderId = 0
this
.
loading
=
true
this
.
loading
=
true
let
url
let
url
// 销售 OP
// 销售 OP
if
(
this
.
pagesTitle
==
'销售'
)
{
if
(
this
.
pagesTitle
==
'销售'
)
{
url
=
"JapanCar_get_GetJapanOrderPageList"
url
=
"JapanCar_get_GetJapanOrder
Main
PageList"
}
else
{
}
else
{
url
=
"JapanCar_get_GetJapanOrderPageList"
url
=
"JapanCar_get_GetJapanOrder
Main
PageList"
}
}
this
.
apipost
(
url
,
this
.
msg
,
this
.
apipost
(
url
,
this
.
msg
,
res
=>
{
res
=>
{
this
.
loading
=
false
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
.
pageData
let
data
=
res
.
data
.
data
.
pageData
let
addLists
=
function
(
arr
){
arr
.
forEach
(
x
=>
{
x
.
typeInfo
=
{}
x
.
paymentInfo
=
{}
})
}
let
addList
=
function
(
arr
){
let
addList
=
function
(
arr
){
arr
.
forEach
(
x
=>
{
arr
.
forEach
(
x
=>
{
x
.
typeInfo
=
''
x
.
paymentInfo
=
{}
x
.
list
=
[]
x
.
list
=
[]
x
.
isMore
=
false
x
.
isMore
=
false
x
.
upIcon
=
false
x
.
upIcon
=
false
x
.
NewOrderDetailList
=
[]
x
.
NewOrderDetailList
=
[]
})
})
}
}
addList
(
data
)
// addLists(data)
data
.
forEach
(
item
=>
{
data
.
forEach
(
k
=>
{
item
.
typeInfo
=
this
.
OrderStatusType
.
find
(
y
=>
y
.
ID
==
item
.
OrderState
)
??
this
.
OrderStatusType
[
1
]
addList
(
k
.
OrderList
)
item
.
paymentInfo
=
this
.
PaymentMethods
.
find
(
y
=>
y
.
Id
==
item
.
PayWay
)
??
this
.
PaymentMethods
[
1
]
k
.
typeInfo
=
this
.
OrderStatusType
.
find
(
y
=>
y
.
ID
==
k
.
OrderState
)
??
this
.
OrderStatusType
[
1
]
if
(
item
.
OrderDetailList
.
length
>
2
){
k
.
paymentInfo
=
this
.
PaymentMethods
.
find
(
y
=>
y
.
Id
==
k
.
PayWay
)
??
this
.
PaymentMethods
[
1
]
item
.
isMore
=
true
k
.
OrderList
.
forEach
(
item
=>
{
}
item
.
typeInfo
=
this
.
OrderStatusType
.
find
(
y
=>
y
.
ID
==
item
.
OrderState
)
??
this
.
OrderStatusType
[
1
]
let
dataLists
=
[]
item
.
paymentInfo
=
this
.
PaymentMethods
.
find
(
y
=>
y
.
Id
==
k
.
PayWay
)
??
this
.
PaymentMethods
[
1
]
item
.
OrderDetailList
.
forEach
((
x
,
index
)
=>
{
if
(
item
.
OrderDetailList
.
length
>
2
){
x
.
useTypeInfo
=
this
.
useTypes
.
find
(
z
=>
z
.
StatusId
==
x
.
UseType
)
??
this
.
useTypes
[
1
]
item
.
isMore
=
true
if
(
index
<
2
){
dataLists
.
push
(
x
)
}
}
let
dataLists
=
[]
item
.
OrderDetailList
.
forEach
((
x
,
index
)
=>
{
x
.
useTypeInfo
=
this
.
useTypes
.
find
(
z
=>
z
.
StatusId
==
x
.
UseType
)
??
this
.
useTypes
[
1
]
if
(
index
<
2
){
dataLists
.
push
(
x
)
}
})
item
.
NewOrderDetailList
=
JSON
.
parse
(
JSON
.
stringify
(
dataLists
))
})
})
item
.
NewOrderDetailList
=
JSON
.
parse
(
JSON
.
stringify
(
dataLists
))
})
})
this
.
OrderList
=
data
;
this
.
OrderList
=
data
;
...
@@ -430,6 +455,9 @@ export default {
...
@@ -430,6 +455,9 @@ export default {
if
(
this
.
$route
.
query
.
OrderId
)
{
if
(
this
.
$route
.
query
.
OrderId
)
{
this
.
msg
.
OrderId
=
this
.
$route
.
query
.
OrderId
this
.
msg
.
OrderId
=
this
.
$route
.
query
.
OrderId
}
}
if
(
this
.
$route
.
query
.
MainId
)
{
this
.
msg
.
MainId
=
this
.
$route
.
query
.
MainId
}
// crm自动登陆传过来的参数
// crm自动登陆传过来的参数
if
(
this
.
$route
.
query
.
crmOrderObj
){
if
(
this
.
$route
.
query
.
crmOrderObj
){
let
crmOrderObj
=
JSON
.
parse
(
this
.
$route
.
query
.
crmOrderObj
)
let
crmOrderObj
=
JSON
.
parse
(
this
.
$route
.
query
.
crmOrderObj
)
...
...
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
5bfc9a5f
...
@@ -1889,6 +1889,7 @@
...
@@ -1889,6 +1889,7 @@
event_id
:
'CarDealerOrder'
,
event_id
:
'CarDealerOrder'
,
data
:
{
data
:
{
OrderId
:
this
.
GetDetail
.
ReFinanceId
,
OrderId
:
this
.
GetDetail
.
ReFinanceId
,
type
:
2
}
}
},
`
${
href
}
`
)
},
`
${
href
}
`
)
}
else
{
}
else
{
...
@@ -1900,7 +1901,7 @@
...
@@ -1900,7 +1901,7 @@
}
}
});
});
}
}
}
}
else
if
(
this
.
GetDetail
.
OtherType
==
83
){
else
if
(
this
.
GetDetail
.
OtherType
==
83
){
if
(
this
.
typeSystem
==
1
)
{
if
(
this
.
typeSystem
==
1
)
{
let
href
=
this
.
domainManager
().
CarUrl
let
href
=
this
.
domainManager
().
CarUrl
...
@@ -1908,6 +1909,7 @@
...
@@ -1908,6 +1909,7 @@
event_id
:
'CarDealerOrder'
,
event_id
:
'CarDealerOrder'
,
data
:
{
data
:
{
MainId
:
this
.
GetDetail
.
ReFinanceId
,
MainId
:
this
.
GetDetail
.
ReFinanceId
,
type
:
1
}
}
},
`
${
href
}
`
)
},
`
${
href
}
`
)
}
else
{
}
else
{
...
...
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