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
ea126845
Commit
ea126845
authored
Dec 24, 2019
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
6088f060
2490cf2a
Pipeline
#4298
canceled with stages
Changes
14
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
351 additions
and
95 deletions
+351
-95
currencyInput.vue
src/components/currencyInput.vue
+0
-1
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+230
-57
confirm-list.vue
src/pages/carConfirm/confirm-list.vue
+4
-1
tab.vue
src/pages/carConfirm/tab.vue
+10
-2
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+92
-24
add-car.vue
src/pages/contractStart/add-car.vue
+2
-2
home-page.vue
src/pages/home/home-page.vue
+1
-1
rent-info.vue
src/pages/intoApproval/intoApproval/rent-info.vue
+1
-1
my-product-list.Vue
src/pages/myProductCollection/my-product-list.Vue
+2
-2
contract-record.vue
src/pages/pay/payment/contract-record.vue
+1
-1
product-detailed.vue
src/pages/productQuery/product-detailed.vue
+1
-1
product-list.vue
src/pages/productQuery/product-list.vue
+2
-2
bank-info.vue
src/pages/userBindNew/np/bank-info.vue
+1
-0
invoice-info.vue
src/pages/userBindNew/np/invoice-info.vue
+4
-0
No files found.
src/components/currencyInput.vue
View file @
ea126845
...
...
@@ -13,7 +13,6 @@ export default {
name
:
'CurrencyInput'
,
props
:
{
value
:
{
type
:
Number
,
default
:
0
,
},
disable
:
{
...
...
src/pages/carConfirm/confirm-detail.vue
View file @
ea126845
This diff is collapsed.
Click to expand it.
src/pages/carConfirm/confirm-list.vue
View file @
ea126845
...
...
@@ -6,7 +6,7 @@
<span>
发车确认
</span>
</div>
</h-header>
<Tab
@
getTabNum=
"getTabNum"
/>
<Tab
:title=
"text"
@
getTabNum=
"getTabNum"
/>
<div
class=
"search has-header"
>
<input
v-model=
"keyWord"
placeholder=
"请输入合同号/产品名称/承租人名称"
>
</div>
...
...
@@ -51,6 +51,7 @@ export default {
},
data
()
{
return
{
text
:
{
first
:
'待签约'
,
second
:
'已签约'
},
tabNum
:
0
,
keyWord
:
''
,
status
:
''
,
...
...
@@ -139,6 +140,8 @@ export default {
params
:
{
project_id
:
e
.
project_id
,
confirm_status
:
e
.
confirm_status
,
check_id
:
e
.
check_id
,
confirm_id
:
e
.
confirm_id
,
},
})
},
...
...
src/pages/carConfirm/tab.vue
View file @
ea126845
...
...
@@ -8,9 +8,9 @@
<
template
>
<div
class=
"tab-style"
>
<div
:class=
"
{'tab-content-bg':tabNum == 0}" class="tab-content" @click="tabNum = 0;sendTabNum()">
<img
:src=
"tabNum == 0?signed:sign"
><span
:class=
"
{'colored':tabNum == 0}">
待确认
</span></div>
:class=
"
{'colored':tabNum == 0}">
{{
title
.
first
}}
</span></div>
<div
:class=
"
{'tab-content-bg':tabNum == 1}" class="tab-content" @click="tabNum = 1;sendTabNum()">
<img
:src=
"tabNum == 1?finished:finish"
><span
:class=
"
{'colored':tabNum == 1}">
已确认
</span></div>
:class=
"
{'colored':tabNum == 1}">
{{
title
.
second
}}
</span></div>
</div>
</
template
>
<
script
>
...
...
@@ -20,6 +20,14 @@ import sign from '@/assets/contractStart/noN.png'
import
finish
from
'@/assets/contractStart/confirmN.png'
export
default
{
props
:
{
title
:
{
type
:
Function
,
default
:
function
()
{
return
{}
},
},
},
data
()
{
return
{
tabNum
:
0
,
...
...
src/pages/contractCreate/creat-rent-info.vue
View file @
ea126845
...
...
@@ -31,11 +31,11 @@
</item>
<item
:showArrow=
"true"
@
click
.
native=
"getProduct"
>
<div
slot=
"name"
>
产品型号
</div>
<input
slot=
"content"
v-model=
"
save
Info.product_id_n"
readonly
placeholder=
"请选择"
>
<input
slot=
"content"
v-model=
"
product
Info.product_id_n"
readonly
placeholder=
"请选择"
>
</item>
<item>
<div
slot=
"name"
>
产品数量
</div>
<input
slot=
"content"
v-model=
"
save
Info.product_num"
placeholder=
"请填写产品数量"
>
<input
slot=
"content"
v-model=
"
product
Info.product_num"
placeholder=
"请填写产品数量"
>
</item>
</list-item>
<div
class=
"userInfo"
>
融资信息
</div>
...
...
@@ -43,7 +43,7 @@
<img
src=
"@/assets/contractCreate/hint.png"
>
提示 以下为单个设备商务政策
</div>
<list-item
:item-height=
"44"
>
<item
:showArrow=
"true"
@
click
.
native=
"
getBusinessPolicy
"
>
<item
:showArrow=
"true"
@
click
.
native=
"
showModalBusiness=true
"
>
<div
slot=
"name"
>
商务政策
</div>
<input
slot=
"content"
v-model=
"saveInfo.product_plan_name"
readonly
placeholder=
"请选择"
>
</item>
...
...
@@ -122,8 +122,8 @@
</list-item>
</h-content>
<bottom-tab
class=
"add-box"
>
<tab-button
class=
"before"
>
计算
</tab-button>
<tab-button
class=
"next"
@
click
.
native=
"
save
"
>
下一步
</tab-button>
<tab-button
class=
"before"
@
click
.
native=
"save"
>
计算
</tab-button>
<tab-button
class=
"next"
@
click
.
native=
"
next
"
>
下一步
</tab-button>
</bottom-tab>
<h-modal
ref=
"modal"
v-model=
"showModalValue"
class=
"flow"
position=
"bottom"
>
<h-view
id=
"product-list"
>
...
...
@@ -154,7 +154,7 @@
<p
class=
"seconds1"
>
{{
item
.
bp_name
}}
</p>
</div>
<div
class=
"centers"
>
<p
class=
"firsts1"
>
参数项
</p>
<p
class=
"firsts1"
>
设备识别号
</p>
<p
class=
"seconds1"
>
{{
item
.
product_code
}}
</p>
</div>
</div>
...
...
@@ -174,8 +174,9 @@
<div
class=
"search has-header"
>
<input
v-model=
"policyKeyWord"
placeholder=
"请输入商务政策名称"
>
</div>
<div
class=
"division-box"
>
<scroll
ref=
"scroll"
:updateData=
"[businessLists]"
:pullUp=
"true"
@
pullingUp=
"getBusinessPolicy"
>
<scroll
ref=
"scroll"
:updateData=
"[businessLists]"
:pullUp=
"true"
@
pullingUp=
"getBusinessPolicy"
>
<div
class=
"division-box"
>
<section
v-for=
"(item,index) in businessLists"
:key=
"index"
@
click=
"selectBusinessPolicy(item)"
>
<div
class=
"descript"
>
<img
src=
"@/assets/trial/product.png"
alt
>
...
...
@@ -204,7 +205,7 @@
</div>
</div>
</section>
</
scroll></div
>
</
div></scroll
>
</h-content>
</h-view>
</h-modal>
...
...
@@ -220,6 +221,7 @@ export default {
return
{
showModalValue
:
false
,
showModalBusiness
:
false
,
isComputed
:
false
,
keyWordProduct
:
''
,
keyWord
:
''
,
policyKeyWord
:
''
,
...
...
@@ -251,13 +253,16 @@ export default {
url
:
''
,
}],
productLine
:
[],
// 产品线
save
Info
:
{
product
Info
:
{
project_id
:
window
.
localStorage
.
project_id
,
product_plan_id
:
''
,
product_plan_name
:
''
,
product_id
:
''
,
product_id_n
:
''
,
product_num
:
''
,
},
saveInfo
:
{
project_id
:
window
.
localStorage
.
project_id
,
product_plan_id
:
''
,
product_plan_name
:
''
,
equip_price
:
''
,
int_rate
:
''
,
int_rate_n
:
''
,
...
...
@@ -285,17 +290,24 @@ export default {
},
}
},
watch
:
{
policyKeyWord
(
newVal
,
oldVal
)
{
this
.
getBusinessPolicy
()
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
vm
.
showModalBusiness
=
false
vm
.
showModalValue
=
false
vm
.
businessLists
=
[]
if
(
from
.
name
===
'CreateBaseInfo'
)
{
vm
.
businessLists
=
[]
vm
.
pagenum
=
1
vm
.
pagenumPolicy
=
1
vm
.
isComputed
=
false
vm
.
getProductLine
()
// 产品线查询
vm
.
repayPeriod
()
// 还款周期查询
vm
.
getPayWay
()
// 支付方式查询
vm
.
getBusinessPolicy
()
// 获取商务政策
}
})
},
...
...
@@ -327,17 +339,34 @@ export default {
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
// vm.$router.push({
// name: 'CreateRentInfo',
// params: {
// bp_agent_id: vm.bp_agent_id,
// },
// })
vm
.
isComputed
=
true
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
next
()
{
let
vm
=
this
if
(
vm
.
isComputed
)
{
let
url
=
process
.
env
.
basePath
+
'prj_product_info_save'
let
param
=
{
master
:
vm
.
productInfo
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
$router
.
push
({
name
:
'CreateEnclosureInfo'
,
})
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
}
else
{
hlsPopup
.
showLongCenter
(
'请先进行计算'
)
}
},
showTime
(
format
)
{
// 预计付款日
let
vm
=
this
hlsPopup
.
showTime
({
...
...
@@ -412,9 +441,48 @@ export default {
},
})
},
searchBusinessPolicy
()
{
let
vm
=
this
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
21
)
let
url
=
process
.
env
.
basePath
+
'prj_product_plan_query'
+
'&index'
+
`'
${
randomString
}
'`
let
param
=
{
bp_agent_id
:
vm
.
$route
.
params
.
bp_agent_id
,
pagesize
:
10
,
pagenumPolicy
:
vm
.
pagenumPolicy
,
searchInput
:
vm
.
policyKeyWord
,
}
hlsPopup
.
showLoading
(
'请稍候'
)
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
let
returnData
=
[]
returnData
=
res
.
lists
if
(
returnData
.
length
===
0
)
{
vm
.
$refs
.
scroll
.
update
(
true
)
}
else
if
(
returnData
.
length
>
0
&&
returnData
.
length
<
10
)
{
vum
.
forEach
(
returnData
,
function
(
data
,
index
,
array
)
{
vm
.
businessLists
.
push
(
array
[
index
])
})
vm
.
pagenumPolicy
++
vm
.
$refs
.
scroll
.
update
(
true
)
}
else
if
(
returnData
.
length
===
10
)
{
vum
.
forEach
(
returnData
,
function
(
data
,
index
,
array
)
{
vm
.
businessLists
.
push
(
array
[
index
])
})
vm
.
pagenumPolicy
++
vm
.
$refs
.
scroll
.
update
(
false
)
}
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
getBusinessPolicy
()
{
let
vm
=
this
vm
.
showModalBusiness
=
true
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
21
)
let
url
=
process
.
env
.
basePath
+
...
...
@@ -455,8 +523,8 @@ export default {
},
selectProduct
(
e
)
{
let
vm
=
this
this
.
save
Info
.
product_id_n
=
e
.
product_name
this
.
save
Info
.
product_id
=
e
.
product_id
this
.
product
Info
.
product_id_n
=
e
.
product_name
this
.
product
Info
.
product_id
=
e
.
product_id
setTimeout
(()
=>
{
vm
.
showModalValue
=
false
},
100
)
...
...
@@ -540,8 +608,8 @@ export default {
this
.
$router
.
push
({
name
:
'ContractRepayPlan'
,
params
:
{
product_num
:
2
,
project_id
:
123
,
product_num
:
this
.
productInfo
.
product_num
,
project_id
:
this
.
project_id
,
},
})
},
...
...
src/pages/contractStart/add-car.vue
View file @
ea126845
...
...
@@ -190,7 +190,7 @@
<div
class=
"bottom-top"
>
<input
placeholder=
"请输入产品名称"
>
<img
src=
"@/assets/contractStart/delete.png"
>
<input
placeholder=
"请输入
参数项
"
>
<input
placeholder=
"请输入
设备识别号
"
>
<img
src=
"@/assets/contractStart/delete.png"
>
<span
/>
</div>
...
...
@@ -211,7 +211,7 @@
</span>
</li>
<li>
<span
class=
"name"
>
参数项
</span>
 
 
GTZ226
<span
class=
"name"
>
设备识别号
</span>
 
 
GTZ226
<span
class=
"to-right"
>
<span
class=
"name"
>
产品名称
</span>
 
 
*****
</span>
...
...
src/pages/home/home-page.vue
View file @
ea126845
...
...
@@ -53,7 +53,7 @@
<div
class=
"top"
>
{{
list
.
product_name
}}
</div>
<img
src=
"@/assets/homePage/hot.png"
class=
"hot"
>
<div
class=
"center"
><span
class=
"firsts"
>
经销商
</span>
<span
class=
"seconds"
>
{{
list
.
bp_name
}}
</span></div>
<div
class=
"center"
><span
class=
"firsts"
>
参数项
</span>
<span
class=
"seconds"
>
{{
list
.
product_code
}}
</span></div>
<div
class=
"center"
><span
class=
"firsts"
>
设备识别号
</span>
<span
class=
"seconds"
>
{{
list
.
product_code
}}
</span></div>
<div
class=
"center"
><span
class=
"firsts"
>
地址
</span>
<span
class=
"seconds"
>
{{
list
.
province_id_n
+
list
.
city_id_n
+
list
.
district_id_n
}}
</span></div>
</div>
</item>
...
...
src/pages/intoApproval/intoApproval/rent-info.vue
View file @
ea126845
...
...
@@ -76,7 +76,7 @@
</div>
<list-item>
<item>
<div
slot=
"name"
>
参数项
</div>
<div
slot=
"name"
>
设备识别号
</div>
<input
slot=
"content"
v-model=
"rentInfo.product_code"
readonly
>
</item>
<item>
...
...
src/pages/myProductCollection/my-product-list.Vue
View file @
ea126845
...
...
@@ -14,7 +14,7 @@
<!-- 搜索 -->
<div
class=
"search has-header"
>
<input
v-model=
"searchInput"
type=
"text"
placeholder=
"请输入经销商/产品名称/
参数项
"
>
<input
v-model=
"searchInput"
type=
"text"
placeholder=
"请输入经销商/产品名称/
设备识别号
"
>
</div>
<scroll
ref=
"scroll"
...
...
@@ -39,7 +39,7 @@
<p
class=
"seconds1"
>
{{
item
.
bp_name
}}
</p>
</div>
<div
class=
"centers"
>
<p
class=
"firsts1"
>
参数项
</p>
<p
class=
"firsts1"
>
设备识别号
</p>
<p
class=
"seconds1"
>
{{
item
.
product_code
}}
</p>
</div>
</div>
...
...
src/pages/pay/payment/contract-record.vue
View file @
ea126845
...
...
@@ -43,7 +43,7 @@
</div>
<div
class=
"list"
>
<div>
<span>
参数项
</span>
<span>
设备识别号
</span>
<span>
{{
detail
.
product_code
}}
</span>
</div>
<div>
...
...
src/pages/productQuery/product-detailed.vue
View file @
ea126845
...
...
@@ -35,7 +35,7 @@
</swipe>
<div
class=
"base-content"
>
<div
class=
"top-code"
>
<div>
参数项
{{
baseInfo
.
product_code
}}
</div>
<div>
设备识别号
{{
baseInfo
.
product_code
}}
</div>
<div>
{{
baseInfo
.
division_n
}}
</div>
</div>
<div
class=
"pro-name"
>
{{
baseInfo
.
product_name
}}
</div>
...
...
src/pages/productQuery/product-list.vue
View file @
ea126845
...
...
@@ -13,7 +13,7 @@
</h-header>
<!-- 搜索 -->
<div
class=
"search has-header"
>
<input
v-model=
"searchInput"
type=
"text"
placeholder=
"请输入经销商/产品名称/
参数项
"
>
<input
v-model=
"searchInput"
type=
"text"
placeholder=
"请输入经销商/产品名称/
设备识别号
"
>
</div>
<scroll
ref=
"scroll"
...
...
@@ -39,7 +39,7 @@
<p
class=
"seconds1"
>
{{
item
.
bp_name
}}
</p>
</div>
<div
class=
"centers"
>
<p
class=
"firsts1"
>
参数项
</p>
<p
class=
"firsts1"
>
设备识别号
</p>
<p
class=
"seconds1"
>
{{
item
.
product_code
}}
</p>
</div>
</div>
...
...
src/pages/userBindNew/np/bank-info.vue
View file @
ea126845
...
...
@@ -174,6 +174,7 @@ export default {
},
showModal
()
{
this
.
showModalValue
=
true
this
.
bankImg
=
''
},
async
checkElectonic
()
{
let
vm
=
this
...
...
src/pages/userBindNew/np/invoice-info.vue
View file @
ea126845
...
...
@@ -123,6 +123,10 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
invoiceInfo
=
res
.
info
console
.
log
(
111111111111111111
,
res
.
info
.
invoice_title
)
if
(
res
.
info
.
invoice_title
==
''
||
res
.
info
.
invoice_title
==
null
||
res
.
info
.
invoice_title
==
undefined
)
{
vm
.
invoiceInfo
.
invoice_title
=
window
.
localStorage
.
bp_name
}
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
...
...
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