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
ef9a429f
Commit
ef9a429f
authored
Feb 05, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
1a0543f4
Pipeline
#4722
canceled with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
20 deletions
+40
-20
dev.env.js
config/dev.env.js
+2
-2
add-car.vue
src/pages/contractStart/add-car.vue
+31
-17
invoice.vue
src/pages/invoice/invoice.vue
+5
-1
bank-info.vue
src/pages/userBindNew/np/bank-info.vue
+1
-0
bankInfo.vue
src/pages/userBindNew/org/bankInfo.vue
+1
-0
No files found.
config/dev.env.js
View file @
ef9a429f
...
@@ -8,9 +8,9 @@ module.exports = merge(prodEnv, {
...
@@ -8,9 +8,9 @@ module.exports = merge(prodEnv, {
debug
:
true
,
debug
:
true
,
isMobilePlatform
:
false
,
isMobilePlatform
:
false
,
loginPath
:
'"http://180.104.121.66:8088/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=appadmin&password=" '
,
loginPath
:
'"http://180.104.121.66:8088/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=appadmin&password=" '
,
basePath
:
'"http://180.104.121.66:8088/r/api/interface?sysName=XCMG_
UAT
&apiName="'
,
basePath
:
'"http://180.104.121.66:8088/r/api/interface?sysName=XCMG_
DEV
&apiName="'
,
rootPath
:
'"http://180.104.121.66:8088/r/api"'
,
rootPath
:
'"http://180.104.121.66:8088/r/api"'
,
filePath
:
'"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_
UAT
&apiName=file_view&"'
,
filePath
:
'"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_
DEV
&apiName=file_view&"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
appId
:
'"com.xcmg.app"'
,
appId
:
'"com.xcmg.app"'
,
currentVersion
:
'"1.7.6"'
,
currentVersion
:
'"1.7.6"'
,
...
...
src/pages/contractStart/add-car.vue
View file @
ef9a429f
...
@@ -14,41 +14,41 @@
...
@@ -14,41 +14,41 @@
</div>
</div>
<list-item
:item-height=
"44"
>
<list-item
:item-height=
"44"
>
<item>
<item>
<div
slot=
"name"
>
车架号
</div>
<div
slot=
"name"
class=
"required"
>
车架号
</div>
<input
slot=
"content"
v-model=
"info.frame_number"
:readonly=
"flag"
placeholder=
"自动识别车架号"
>
<input
slot=
"content"
v-model=
"info.frame_number"
:readonly=
"flag"
placeholder=
"自动识别车架号"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
发动机号
</div>
<div
slot=
"name"
class=
"required"
>
发动机号
</div>
<input
slot=
"content"
v-model=
"info.engine"
:readonly=
"flag"
placeholder=
"自动识别发动机号"
>
<input
slot=
"content"
v-model=
"info.engine"
:readonly=
"flag"
placeholder=
"自动识别发动机号"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
车辆型号
</div>
<div
slot=
"name"
class=
"required"
>
车辆型号
</div>
<input
slot=
"content"
v-model=
"info.vehicle_model"
:readonly=
"flag"
placeholder=
"自动识别车辆型号"
>
<input
slot=
"content"
v-model=
"info.vehicle_model"
:readonly=
"flag"
placeholder=
"自动识别车辆型号"
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
>
合格证编号
</div>
<div
slot=
"name"
class=
"required"
>
合格证编号
</div>
<input
slot=
"content"
v-model=
"info.certificate_number"
:readonly=
"flag"
placeholder=
"自动识别合格证编号"
>
<input
slot=
"content"
v-model=
"info.certificate_number"
:readonly=
"flag"
placeholder=
"自动识别合格证编号"
>
</item>
</item>
<item
v-if=
"!flag"
>
<item
v-if=
"!flag"
>
<div
slot=
"name"
>
发车日期
</div>
<div
slot=
"name"
class=
"required"
>
发车日期
</div>
<input
<input
slot=
"content"
v-model=
"info.departure_date"
readonly
placeholder=
"请输入发车日期"
slot=
"content"
v-model=
"info.departure_date"
readonly
placeholder=
"请输入发车日期"
@
click=
"showTime('YYYY-MM-DD')"
>
@
click=
"showTime('YYYY-MM-DD')"
>
</item>
</item>
<item
v-if=
"flag"
>
<item
v-if=
"flag"
>
<div
slot=
"name"
>
发车日期
</div>
<div
slot=
"name"
class=
"required"
>
发车日期
</div>
<input
<input
slot=
"content"
v-model=
"info.departure_date"
readonly
placeholder=
"请输入发车日期"
slot=
"content"
v-model=
"info.departure_date"
readonly
placeholder=
"请输入发车日期"
>
>
</item>
</item>
<item
v-if=
"!flag"
>
<item
v-if=
"!flag"
>
<div
slot=
"name"
>
开票日期
</div>
<div
slot=
"name"
class=
"required"
>
开票日期
</div>
<input
<input
slot=
"content"
v-model=
"info.invoice_date"
readonly
placeholder=
"请输入开票日期"
slot=
"content"
v-model=
"info.invoice_date"
readonly
placeholder=
"请输入开票日期"
@
click=
"showTimeInvoice('YYYY-MM-DD')"
>
@
click=
"showTimeInvoice('YYYY-MM-DD')"
>
</item>
</item>
<item
v-if=
"flag"
>
<item
v-if=
"flag"
>
<div
slot=
"name"
>
开票日期
</div>
<div
slot=
"name"
class=
"required"
>
开票日期
</div>
<input
<input
slot=
"content"
v-model=
"info.invoice_date"
readonly
placeholder=
"请输入开票日期"
slot=
"content"
v-model=
"info.invoice_date"
readonly
placeholder=
"请输入开票日期"
>
>
...
@@ -588,15 +588,29 @@ export default {
...
@@ -588,15 +588,29 @@ export default {
vm
.
save_picture
(
list
)
vm
.
save_picture
(
list
)
},
},
isSave
()
{
isSave
()
{
this
.
hlsPopup
.
showConfirm
({
if
(
!
this
.
info
.
frame_number
)
{
title
:
'提示'
,
hlsPopup
.
showLongCenter
(
'请输入车架号'
)
content
:
'您确定保存吗?'
,
}
else
if
(
!
this
.
info
.
engine
)
{
onConfirm
:
data
=>
{
hlsPopup
.
showLongCenter
(
'请输入发动机号'
)
if
(
data
===
1
)
{
}
else
if
(
!
this
.
info
.
vehicle_model
)
{
this
.
save
()
hlsPopup
.
showLongCenter
(
'请输入车辆型号'
)
}
}
else
if
(
!
this
.
info
.
certificate_number
)
{
},
hlsPopup
.
showLongCenter
(
'请输入合格证编号'
)
})
}
else
if
(
!
this
.
info
.
departure_date
)
{
hlsPopup
.
showLongCenter
(
'请输入发车日期'
)
}
else
if
(
!
this
.
info
.
invoice_date
)
{
hlsPopup
.
showLongCenter
(
'请输入开票日期'
)
}
else
{
this
.
hlsPopup
.
showConfirm
({
title
:
'提示'
,
content
:
'您确定保存吗?'
,
onConfirm
:
data
=>
{
if
(
data
===
1
)
{
this
.
save
()
}
},
})
}
},
},
checkStatus
()
{
checkStatus
()
{
let
mantained
=
this
.
equip
.
filter
(
i
=>
{
let
mantained
=
this
.
equip
.
filter
(
i
=>
{
...
...
src/pages/invoice/invoice.vue
View file @
ef9a429f
...
@@ -19,7 +19,8 @@
...
@@ -19,7 +19,8 @@
<span
class=
"number-left"
>
发票号码
{{
list
.
invoice_no
}}
</span>
<span
class=
"number-left"
>
发票号码
{{
list
.
invoice_no
}}
</span>
<div
class=
"number-right"
>
<div
class=
"number-right"
>
<img
src=
"@/assets/invoice/download.png"
>
<img
src=
"@/assets/invoice/download.png"
>
<span
class=
"invoice-download"
>
发票下载
</span>
<span
class=
"invoice-download"
@
click=
"downLoad(list.file_url)"
>
发票下载
</span>
<!--
<a
href=
"https://180.104.121.66:8090/dump_dir/032001700611_84582415.pdf"
>
发票下载
</a>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -64,6 +65,9 @@ export default {
...
@@ -64,6 +65,9 @@ export default {
loadMore
()
{
loadMore
()
{
this
.
getList
()
this
.
getList
()
},
},
downLoad
(
a
)
{
cordova
.
InAppBrowser
.
open
(
a
,
'_blank'
,
'location=yes'
)
},
getList
()
{
getList
()
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'user_invoice_query'
let
url
=
process
.
env
.
basePath
+
'user_invoice_query'
...
...
src/pages/userBindNew/np/bank-info.vue
View file @
ef9a429f
...
@@ -211,6 +211,7 @@ export default {
...
@@ -211,6 +211,7 @@ export default {
bp_id
:
bp_id
,
bp_id
:
bp_id
,
company_id
:
'2145'
,
company_id
:
'2145'
,
bp_class
:
'NP'
,
bp_class
:
'NP'
,
bp_type
:
window
.
localStorage
.
getItem
(
'bp_type'
),
business_num
:
window
.
localStorage
.
getItem
(
'business_num'
),
business_num
:
window
.
localStorage
.
getItem
(
'business_num'
),
},
},
}
}
...
...
src/pages/userBindNew/org/bankInfo.vue
View file @
ef9a429f
...
@@ -297,6 +297,7 @@ export default {
...
@@ -297,6 +297,7 @@ export default {
bp_id
:
this
.
$route
.
params
.
bp_id
,
bp_id
:
this
.
$route
.
params
.
bp_id
,
company_id
:
'2145'
,
company_id
:
'2145'
,
bp_class
:
'ORG'
,
bp_class
:
'ORG'
,
bp_type
:
window
.
localStorage
.
getItem
(
'bp_type'
),
business_num
:
window
.
localStorage
.
getItem
(
'business_num'
),
business_num
:
window
.
localStorage
.
getItem
(
'business_num'
),
},
},
}
}
...
...
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