Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
xugong
hls-xcmg-vue-app
Commits
68cf87c7
Commit
68cf87c7
authored
Nov 06, 2019
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liuxin' into develop
parents
ef72ab74
4ec66014
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
48 deletions
+44
-48
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+6
-3
add-car.vue
src/pages/contractStart/add-car.vue
+6
-6
start-list.vue
src/pages/contractStart/start-list.vue
+12
-27
tab.vue
src/pages/contractStart/tab.vue
+7
-1
pay-entry.vue
src/pages/pay/firstPay/pay-entry.vue
+11
-9
pay-entry.vue
src/pages/pay/payment/pay-entry.vue
+2
-2
No files found.
src/pages/carConfirm/confirm-detail.vue
View file @
68cf87c7
...
...
@@ -38,7 +38,7 @@
<div
slot=
"name"
>
厂商型号
</div>
<input
slot=
"content"
v-model=
"rentInfo.
manufacturer
"
v-model=
"rentInfo.
vehicle_model
"
readonly
class=
"write"
placeholder=
"请输入厂商型号"
...
...
@@ -48,7 +48,7 @@
<div
slot=
"name"
>
车牌号
</div>
<input
slot=
"content"
v-model=
"rentInfo.
license_pl
ate_number"
v-model=
"rentInfo.
certific
ate_number"
readonly
placeholder=
"请输入车牌号"
>
...
...
@@ -57,7 +57,7 @@
<div
slot=
"name"
>
发车日期
</div>
<input
slot=
"content"
v-model=
"rentInfo.date"
v-model=
"rentInfo.d
eparture_d
ate"
readonly
placeholder=
"请输入发车日期"
>
...
...
@@ -158,6 +158,9 @@ export default {
engine
:
''
,
manufacturer
:
''
,
license_plate_number
:
''
,
vehicle_model
:
''
,
certificate_number
:
''
,
departure_date
:
''
,
},
products
:
[],
equip
:
[
...
...
src/pages/contractStart/add-car.vue
View file @
68cf87c7
...
...
@@ -23,11 +23,11 @@
</item>
<item>
<div
slot=
"name"
>
车辆型号
</div>
<input
slot=
"content"
v-model=
"info.
type
"
placeholder=
"自动识别车辆型号"
>
<input
slot=
"content"
v-model=
"info.
vehicle_model
"
placeholder=
"自动识别车辆型号"
>
</item>
<item>
<div
slot=
"name"
>
合格证编号
</div>
<input
slot=
"content"
v-model=
"info.number"
placeholder=
"自动识别合格证编号"
>
<input
slot=
"content"
v-model=
"info.
certificate_
number"
placeholder=
"自动识别合格证编号"
>
</item>
<item>
<div
slot=
"name"
>
厂商型号
</div>
...
...
@@ -285,9 +285,9 @@ export default {
engine
:
''
,
manufacturer
:
''
,
license_plate_number
:
''
,
type
:
''
,
number
:
''
,
date
:
''
,
vehicle_model
:
''
,
certificate_
number
:
''
,
d
eparture_d
ate
:
''
,
},
detail
:
{
product_num
:
''
,
...
...
@@ -334,7 +334,7 @@ export default {
},
},
created
()
{
this
.
showDate
=
this
.
carDate
//
this.showDate = this.carDate
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
...
...
src/pages/contractStart/start-list.vue
View file @
68cf87c7
...
...
@@ -6,7 +6,7 @@
<span>
合同发车
</span>
</div>
</h-header>
<Tab
@
getTabNum=
"getTabNum"
/>
<Tab
:tabNum=
"tabNum"
@
getTabNum=
"getTabNum"
/>
<div
class=
"search"
>
<input
placeholder=
"请输入合同号/产品线/承租人名称"
>
</div>
...
...
@@ -78,10 +78,10 @@ export default {
},
watch
:
{
tabNum
:
{
handler
()
{
if
(
this
.
tabNum
===
0
)
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
===
0
)
{
this
.
showList
=
this
.
undo
}
else
if
(
this
.
tabNum
===
1
)
{
}
else
if
(
newVal
===
1
)
{
this
.
showList
=
this
.
done
}
},
...
...
@@ -91,12 +91,15 @@ export default {
created
()
{
},
methods
:
{
selectShowList
()
{
selectShowList
(
e
)
{
let
vm
=
this
this
.
lists
.
forEach
(
item
=>
{
if
(
item
.
leases_status
===
'Y'
)
{
vm
.
undo
=
[]
vm
.
done
=
[]
vm
.
tabNum
=
0
e
.
forEach
(
item
=>
{
if
(
item
.
leases_status
===
'N'
)
{
vm
.
undo
.
push
(
item
)
}
else
if
(
item
.
leases_status
===
'
N
'
)
{
}
else
if
(
item
.
leases_status
===
'
Y
'
)
{
vm
.
done
.
push
(
item
)
}
})
...
...
@@ -130,25 +133,7 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
lists
=
res
.
lists
// vm.lists = [
// {
// project_id: '48812',
// project_number: '',
// bp_name: '李四',
// total_price: '51',
// division_n: 'PDJ',
// leases_status: 'Y',
// },
// {
// project_id: '48800',
// project_number: '',
// bp_name: '张三',
// total_price: '51',
// division_n: 'PDJ',
// leases_status: 'N',
// },
// ]
vm
.
selectShowList
()
vm
.
selectShowList
(
res
.
lists
)
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
...
...
src/pages/contractStart/tab.vue
View file @
68cf87c7
...
...
@@ -20,9 +20,15 @@ import sign from '@/assets/contractStart/1.png'
import
finish
from
'@/assets/contractStart/3.png'
export
default
{
props
:
{
'tabNum'
:
{
type
:
Number
,
default
:
0
,
},
},
data
()
{
return
{
tabNum
:
0
,
//
tabNum: 0,
signed
:
signed
,
finished
:
finished
,
sign
:
sign
,
...
...
src/pages/pay/firstPay/pay-entry.vue
View file @
68cf87c7
...
...
@@ -24,7 +24,7 @@
<item
v-for=
"(item,index) in nongBank"
:proportion=
"[7,1,1]"
:key=
"i
ndex
"
:key=
"i
tem.bank_account_num
"
@
click
.
native=
"isSelect(`nong$
{index}`)"
>
<div
slot=
"name"
style=
"flex=3"
>
...
...
@@ -121,11 +121,13 @@ export default {
computed
:
{
newList
()
{
let
vm
=
this
let
value
vm
.
nongBank
=
[]
let
newList
=
vm
.
lists
.
map
(
i
=>
{
return
i
.
bank_full_name
.
indexOf
(
'农业'
)
===
-
1
})
vm
.
lists
.
forEach
((
item
,
i
)
=>
{
if
(
item
.
bank_full_name
.
indexOf
(
'农业'
)
!==
-
1
)
{
value
=
vm
.
lists
.
splice
(
i
,
1
)
vm
.
nongBank
.
push
(...
value
)
vm
.
nongBank
.
push
(
vm
.
lists
[
i
])
vm
.
flag
=
true
}
})
...
...
@@ -134,7 +136,7 @@ export default {
}
else
{
vm
.
select
=
'one'
}
return
vm
.
lists
return
newList
},
},
watch
:
{},
...
...
@@ -291,10 +293,10 @@ export default {
}
}
.push {
position: absolute
;
top: 10px
;
margin-left: 10px
;
width: 35
px;
margin-left: 0.2rem
;
width: 0.7rem
;
float: right
;
margin-top: 11
px;
}
.entry-content {
...
...
src/pages/pay/payment/pay-entry.vue
View file @
68cf87c7
...
...
@@ -25,7 +25,7 @@
<item
v-for=
"(item,index) in nongBank"
:proportion=
"[7,1,1]"
:key=
"i
ndex
"
:key=
"i
tem.bank_account_num
"
@
click
.
native=
"isSelect(`nong$
{index}`)"
>
<div
slot=
"name"
style=
"flex=3"
>
...
...
@@ -137,7 +137,7 @@ export default {
vm
.
money
=
vm
.
$route
.
params
.
sumMoney
}
vm
.
getType
()
vm
.
nongBank
=
[]
//
vm.nongBank = []
})
},
methods
:
{
...
...
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