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
5ba1a424
Commit
5ba1a424
authored
Nov 17, 2021
by
胡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 非标按钮
parent
1f8bc059
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
81 additions
and
2 deletions
+81
-2
creat-rent-info.vue
src/pages/contractCreate/creat-rent-info.vue
+81
-2
No files found.
src/pages/contractCreate/creat-rent-info.vue
View file @
5ba1a424
...
@@ -132,7 +132,37 @@
...
@@ -132,7 +132,37 @@
<input
slot=
"content"
v-model=
"saveInfo.product_num"
:readonly=
"isReadOnly"
placeholder=
"请输入产品数量"
>
<input
slot=
"content"
v-model=
"saveInfo.product_num"
:readonly=
"isReadOnly"
placeholder=
"请输入产品数量"
>
</item>
</item>
</list-item>
</list-item>
<div
class=
"userInfo"
>
融资信息
</div>
<div
class=
"userInfo"
>
<span>
融资信息
</span>
<span
class=
"fei-button"
@
click=
"showFeiInfo"
>
非标报价商务信息
</span>
</div>
<div
v-if=
"showHideOnBlur"
>
<x-dialog
v-model=
"showHideOnBlur"
hide-on-blur
:dialog-style=
"
{'min-height': '100px', 'padding': '5px'}" >
<div
class=
"feibox"
>
<p>
非标报价商务信息
</p>
<div>
<span>
报价模式
</span>
<span
class=
"gray"
>
非标业务-冬歇/雨歇
</span>
</div>
<div>
<span>
首X期-期数
</span>
<span
class=
"gray"
>
3
</span>
</div>
<div>
<span>
起止月份
</span>
</div>
<div
style=
"justify-content: space-around;"
>
<span
class=
"gray"
>
2021-11-02
</span>
<span>
-
</span>
<span
class=
"gray"
>
2021-11-02
</span>
</div>
</div>
</x-dialog>
</div>
<div
class=
"hint-info"
>
<div
class=
"hint-info"
>
<img
src=
"@/assets/contractCreate/hint.png"
>
提示 以下为单个设备商务政策
<img
src=
"@/assets/contractCreate/hint.png"
>
提示 以下为单个设备商务政策
</div>
</div>
...
@@ -412,14 +442,19 @@
...
@@ -412,14 +442,19 @@
import
CurrencyInput
from
'../../components/currencyInput'
import
CurrencyInput
from
'../../components/currencyInput'
import
RateInput
from
'@/components/rateInput'
import
RateInput
from
'@/components/rateInput'
import
SelectProduct
from
'./select-product'
import
SelectProduct
from
'./select-product'
import
{
XDialog
}
from
'vux'
export
default
{
export
default
{
components
:
{
components
:
{
CurrencyInput
,
CurrencyInput
,
RateInput
,
RateInput
,
SelectProduct
,
SelectProduct
,
XDialog
},
},
data
()
{
data
()
{
return
{
return
{
showHideOnBlur
:
false
,
downNum
:
false
,
downNum
:
false
,
calculeFlag
:
false
,
calculeFlag
:
false
,
salesEnter
:
''
,
// 页面进入标识,该字段作用:第一次创建时即从销售页面进入进本信息、租赁信息、附件信息。用于判断后面页面录入数据后未保存则点击上一步,再次进入该页面数据丢失问题
salesEnter
:
''
,
// 页面进入标识,该字段作用:第一次创建时即从销售页面进入进本信息、租赁信息、附件信息。用于判断后面页面录入数据后未保存则点击上一步,再次进入该页面数据丢失问题
...
@@ -565,6 +600,11 @@ export default {
...
@@ -565,6 +600,11 @@ export default {
this
.
vehicleImg
=
''
this
.
vehicleImg
=
''
}
}
},
},
'saveInfo.product_plan_name'
(
n
,
o
)
{
if
(
n
)
{
}
}
},
},
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
next
(
vm
=>
{
...
@@ -631,6 +671,11 @@ export default {
...
@@ -631,6 +671,11 @@ export default {
})
})
},
},
methods
:
{
methods
:
{
// 非标价商务信息
showFeiInfo
()
{
this
.
showHideOnBlur
=
true
},
// 查看大图
// 查看大图
showBigPicture
(
pic
)
{
showBigPicture
(
pic
)
{
let
vm
=
this
let
vm
=
this
...
@@ -921,7 +966,7 @@ export default {
...
@@ -921,7 +966,7 @@ export default {
}
}
},
},
// 自定义返回逻辑:第一次新建时返回判断是否保存数据,未保存提示保存
// 自定义返回逻辑:第一次新建时返回判断是否保存数据,未保存提示保存
routeGoCustom
()
{
routeGoCustom
()
{
let
vm
=
this
let
vm
=
this
if
(
vm
.
fromPage
===
'sale'
&&
!
vm
.
saveTed
)
{
if
(
vm
.
fromPage
===
'sale'
&&
!
vm
.
saveTed
)
{
hlsPopup
.
showConfirm
({
hlsPopup
.
showConfirm
({
...
@@ -1724,6 +1769,27 @@ export default {
...
@@ -1724,6 +1769,27 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
.feibox {
color: #333;
}
.feibox > p {
color: #b3aeae;
border-bottom: 1px solid #ccc;
width: 85%;
margin: 0 auto 10px;
padding: 10px 0;
font-size: 15px;
}
.feibox > div {
display: flex;
justify-content: space-between;
font-size: 14px;
margin: 15px 13px;
}
.gray {
color: #b3aeae;
}
#create-rent-info {
#create-rent-info {
.swipeout-list .option-item .delete {
.swipeout-list .option-item .delete {
background-color: rgba(249,98,104,0.5);
background-color: rgba(249,98,104,0.5);
...
@@ -2116,6 +2182,19 @@ export default {
...
@@ -2116,6 +2182,19 @@ export default {
}
}
}
}
.userInfo > .fei-button {
float: right;
margin-right: 10px;
margin-top: 7.5px;
background-color: #1D3FFF;
color: #fff;
height: 25px;
line-height: 25px;
padding: 0 8px;
border-radius: 15px;
font-size: 13px;
}
.userInfo::before {
.userInfo::before {
content: "";
content: "";
display: block;
display: block;
...
...
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