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
03f4423b
Commit
03f4423b
authored
Aug 08, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
02a661dd
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 @
03f4423b
...
...
@@ -154,20 +154,27 @@
<li>
<span>
<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
v-for=
"item in OrderStatusType"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
</span>
</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>
<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>
</li>
<li>
<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
v-for=
"item in CustomerList"
:key=
"item.Id"
:label=
"item.CustomerName"
:value=
"item.Id"
></el-option>
</el-select>
...
...
@@ -185,7 +192,7 @@
<li>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"
msg.pageIndex = 1, currentPage = 1, GetList(
)"
/>
@
click=
"
handleCurrentChange(1
)"
/>
</li>
</ul>
</div>
...
...
@@ -238,12 +245,15 @@ export default {
msg
:
{
pageIndex
:
1
,
pageSize
:
5
,
OrderId
:
'0'
,
CustomerId
:
0
,
UseSTime
:
""
,
UseETime
:
""
,
OrderState
:
0
,
IsFinish
:
-
1
,
Sort
:
1
,
OrderId
:
null
,
MainId
:
null
,
OrderTCNUM
:
''
,
},
total
:
0
,
currentPage
:
1
,
...
...
@@ -310,6 +320,7 @@ export default {
this
.
msg
.
UseSTime
=
''
this
.
msg
.
UseETime
=
''
}
this
.
handleCurrentChange
(
1
)
},
setEdate
()
{
return
this
.
addMoth
(
new
Date
().
Format
(
"yyyy-MM-dd"
),
1
)
...
...
@@ -357,43 +368,57 @@ export default {
},
//获取酒店订单列表
GetList
()
{
if
(
this
.
msg
.
OrderId
==
''
)
this
.
msg
.
OrderId
=
0
//
if(this.msg.OrderId=='') this.msg.OrderId = 0
this
.
loading
=
true
let
url
// 销售 OP
if
(
this
.
pagesTitle
==
'销售'
)
{
url
=
"JapanCar_get_GetJapanOrderPageList"
url
=
"JapanCar_get_GetJapanOrder
Main
PageList"
}
else
{
url
=
"JapanCar_get_GetJapanOrderPageList"
url
=
"JapanCar_get_GetJapanOrder
Main
PageList"
}
this
.
apipost
(
url
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
.
pageData
let
addLists
=
function
(
arr
){
arr
.
forEach
(
x
=>
{
x
.
typeInfo
=
{}
x
.
paymentInfo
=
{}
})
}
let
addList
=
function
(
arr
){
arr
.
forEach
(
x
=>
{
x
.
typeInfo
=
''
x
.
paymentInfo
=
{}
x
.
list
=
[]
x
.
isMore
=
false
x
.
upIcon
=
false
x
.
NewOrderDetailList
=
[]
})
}
addList
(
data
)
data
.
forEach
(
item
=>
{
item
.
typeInfo
=
this
.
OrderStatusType
.
find
(
y
=>
y
.
ID
==
item
.
OrderState
)
??
this
.
OrderStatusType
[
1
]
item
.
paymentInfo
=
this
.
PaymentMethods
.
find
(
y
=>
y
.
Id
==
item
.
PayWay
)
??
this
.
PaymentMethods
[
1
]
if
(
item
.
OrderDetailList
.
length
>
2
){
item
.
isMore
=
true
}
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
)
// addLists(data)
data
.
forEach
(
k
=>
{
addList
(
k
.
OrderList
)
k
.
typeInfo
=
this
.
OrderStatusType
.
find
(
y
=>
y
.
ID
==
k
.
OrderState
)
??
this
.
OrderStatusType
[
1
]
k
.
paymentInfo
=
this
.
PaymentMethods
.
find
(
y
=>
y
.
Id
==
k
.
PayWay
)
??
this
.
PaymentMethods
[
1
]
k
.
OrderList
.
forEach
(
item
=>
{
item
.
typeInfo
=
this
.
OrderStatusType
.
find
(
y
=>
y
.
ID
==
item
.
OrderState
)
??
this
.
OrderStatusType
[
1
]
item
.
paymentInfo
=
this
.
PaymentMethods
.
find
(
y
=>
y
.
Id
==
k
.
PayWay
)
??
this
.
PaymentMethods
[
1
]
if
(
item
.
OrderDetailList
.
length
>
2
){
item
.
isMore
=
true
}
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
;
...
...
@@ -430,6 +455,9 @@ export default {
if
(
this
.
$route
.
query
.
OrderId
)
{
this
.
msg
.
OrderId
=
this
.
$route
.
query
.
OrderId
}
if
(
this
.
$route
.
query
.
MainId
)
{
this
.
msg
.
MainId
=
this
.
$route
.
query
.
MainId
}
// crm自动登陆传过来的参数
if
(
this
.
$route
.
query
.
crmOrderObj
){
let
crmOrderObj
=
JSON
.
parse
(
this
.
$route
.
query
.
crmOrderObj
)
...
...
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
03f4423b
...
...
@@ -1889,6 +1889,7 @@
event_id
:
'CarDealerOrder'
,
data
:
{
OrderId
:
this
.
GetDetail
.
ReFinanceId
,
type
:
2
}
},
`
${
href
}
`
)
}
else
{
...
...
@@ -1900,7 +1901,7 @@
}
});
}
}
}
else
if
(
this
.
GetDetail
.
OtherType
==
83
){
if
(
this
.
typeSystem
==
1
)
{
let
href
=
this
.
domainManager
().
CarUrl
...
...
@@ -1908,6 +1909,7 @@
event_id
:
'CarDealerOrder'
,
data
:
{
MainId
:
this
.
GetDetail
.
ReFinanceId
,
type
:
1
}
},
`
${
href
}
`
)
}
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