Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 74e2cae9
authored
Jan 12, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复第二轮提交的Bug
1 parent
3edb499f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
19 deletions
src/views/beforeSale/editEquity.vue
src/views/beforeSale/equityList.vue
src/views/beforeSale/editEquity.vue
View file @
74e2cae
...
@@ -198,13 +198,13 @@
...
@@ -198,13 +198,13 @@
>
>
<div
class=
"ma_top"
></div>
<div
class=
"ma_top"
></div>
<div
class=
"flex_cc ma_bot"
>
<div
class=
"flex_cc ma_bot"
>
<el-button
v-if=
"![3, 5].includes(routeInfo.addOrEdit)"
class=
"custom_black"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
v-if=
"![3, 5].includes(routeInfo.addOrEdit)"
size=
"small"
class=
"custom_black"
@
click=
"handleReset"
>
重置
</el-button>
<div
class=
"mar-10"
></div>
<div
class=
"mar-10"
></div>
<el-button
class=
"custom_blue"
v-if=
"![3, 5].includes(routeInfo.addOrEdit)"
@
click=
"handleDraft"
>
草稿
</el-button>
<el-button
class=
"custom_blue"
v-if=
"![3, 5].includes(routeInfo.addOrEdit)"
size=
"small"
@
click=
"handleDraft"
>
草稿
</el-button>
<div
class=
"mar-10"
></div>
<div
class=
"mar-10"
></div>
<el-button
v-if=
"routeInfo.addOrEdit != '5'"
type=
"primary"
@
click=
"handleConfirm"
>
{{ routeInfo.addOrEdit != '3' ? '提单' : '确定' }}
</el-button>
<el-button
v-if=
"routeInfo.addOrEdit != '5'"
type=
"primary"
size=
"small"
@
click=
"handleConfirm"
>
{{ routeInfo.addOrEdit != '3' ? '提单' : '确定' }}
</el-button>
<div
class=
"mar-10"
></div>
<div
class=
"mar-10"
></div>
<el-button
type=
"default
"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
size=
"small
"
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</div>
</div>
</div>
...
@@ -219,6 +219,7 @@ import { limitPrice } from '@/common/constant'
...
@@ -219,6 +219,7 @@ import { limitPrice } from '@/common/constant'
import
glsxCombiForm
from
'@/components/glsx-combi-form'
import
glsxCombiForm
from
'@/components/glsx-combi-form'
import
qrCode
from
'@/components/qr-code'
import
qrCode
from
'@/components/qr-code'
import
{
fetchConfig
}
from
'@/config'
import
{
fetchConfig
}
from
'@/config'
import
utils
from
'../../util/util'
export
default
{
export
default
{
name
:
'editEquity'
,
name
:
'editEquity'
,
data
()
{
data
()
{
...
@@ -292,13 +293,13 @@ export default {
...
@@ -292,13 +293,13 @@ export default {
trigger
:
'change'
trigger
:
'change'
}
}
],
],
invoicePrice
:
[{
required
:
true
,
message
:
'请输入
发票
价格'
,
trigger
:
'change'
}],
invoicePrice
:
[{
required
:
true
,
message
:
'请输入
车辆
价格'
,
trigger
:
'change'
}],
// vehicleColor: [{ required: true, message: '请输入车身颜色', trigger: 'change' }],
// vehicleColor: [{ required: true, message: '请输入车身颜色', trigger: 'change' }],
vehicleBrandId
:
[{
required
:
true
,
message
:
'请选择车品牌'
,
trigger
:
'change'
}],
vehicleBrandId
:
[{
required
:
true
,
message
:
'请选择车品牌'
,
trigger
:
'change'
}],
vehicleSubBrandId
:
[{
required
:
true
,
message
:
'请选择车子品牌'
,
trigger
:
'change'
}],
vehicleSubBrandId
:
[{
required
:
true
,
message
:
'请选择车子品牌'
,
trigger
:
'change'
}],
vehicleSeriesId
:
[{
required
:
true
,
message
:
'请选择车系'
,
trigger
:
'change'
}],
vehicleSeriesId
:
[{
required
:
true
,
message
:
'请选择车系'
,
trigger
:
'change'
}],
// vehicleShapeId: [{ required: true, message: '请选择车型', trigger: 'change' }],
// vehicleShapeId: [{ required: true, message: '请选择车型', trigger: 'change' }],
billingDate
:
[{
required
:
true
,
message
:
'请选择
开票
日期'
,
trigger
:
'change'
}],
billingDate
:
[{
required
:
true
,
message
:
'请选择
购车
日期'
,
trigger
:
'change'
}],
seatesNum
:
[{
required
:
true
,
message
:
'请选择座位数'
,
trigger
:
'change'
}]
seatesNum
:
[{
required
:
true
,
message
:
'请选择座位数'
,
trigger
:
'change'
}]
},
},
editFormDataCar
:
[
editFormDataCar
:
[
...
@@ -321,7 +322,7 @@ export default {
...
@@ -321,7 +322,7 @@ export default {
maxlength
:
16
maxlength
:
16
},
},
{
{
label
:
'
发票
价格'
,
label
:
'
车辆
价格'
,
name
:
'invoicePrice'
,
name
:
'invoicePrice'
,
type
:
'input'
,
type
:
'input'
,
append
:
'元'
,
append
:
'元'
,
...
@@ -347,7 +348,7 @@ export default {
...
@@ -347,7 +348,7 @@ export default {
optionsName
:
'seatesNumList'
optionsName
:
'seatesNumList'
},
},
{
{
label
:
'
开票
日期'
,
label
:
'
购车
日期'
,
name
:
'billingDate'
,
name
:
'billingDate'
,
type
:
'datePicker'
,
type
:
'datePicker'
,
dateType
:
'date'
,
dateType
:
'date'
,
...
@@ -508,7 +509,7 @@ export default {
...
@@ -508,7 +509,7 @@ export default {
label
:
'特别约定'
,
label
:
'特别约定'
,
name
:
'specialAppointId'
,
name
:
'specialAppointId'
,
type
:
'select'
,
type
:
'select'
,
noFilter
:
tru
e
,
noFilter
:
fals
e
,
optionList
:
[],
optionList
:
[],
optionId
:
'confId'
,
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionLabel
:
'confName'
,
...
@@ -529,8 +530,8 @@ export default {
...
@@ -529,8 +530,8 @@ export default {
// 店面信息
// 店面信息
editRuleShop
:
{
editRuleShop
:
{
merchantName
:
[{
required
:
true
,
message
:
'店面名称'
,
trigger
:
'change'
}],
merchantName
:
[{
required
:
true
,
message
:
'店面名称'
,
trigger
:
'change'
}],
merchantPhone
:
[{
required
:
true
,
message
:
'店
铺
联系号码'
,
trigger
:
'change'
}],
merchantPhone
:
[{
required
:
true
,
message
:
'店
面
联系号码'
,
trigger
:
'change'
}],
merchantAddress
:
[{
required
:
true
,
message
:
'店
铺
联系地址'
,
trigger
:
'change'
}]
merchantAddress
:
[{
required
:
true
,
message
:
'店
面
联系地址'
,
trigger
:
'change'
}]
},
},
editFormDataShop
:
[
editFormDataShop
:
[
{
{
...
@@ -540,13 +541,13 @@ export default {
...
@@ -540,13 +541,13 @@ export default {
maxlength
:
50
maxlength
:
50
},
},
{
{
label
:
'店
铺
联系号码'
,
label
:
'店
面
联系号码'
,
name
:
'merchantPhone'
,
name
:
'merchantPhone'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
11
maxlength
:
11
},
},
{
{
label
:
'店
铺
联系地址'
,
label
:
'店
面
联系地址'
,
name
:
'merchantAddress'
,
name
:
'merchantAddress'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
55
maxlength
:
55
...
@@ -866,7 +867,9 @@ export default {
...
@@ -866,7 +867,9 @@ export default {
this
.
compensationNameDisable
=
this
.
editForm
.
customerName
?
true
:
false
this
.
compensationNameDisable
=
this
.
editForm
.
customerName
?
true
:
false
this
.
productModal
[
pack
.
idName
][
'compensation_name'
]
=
this
.
editForm
.
customerName
this
.
productModal
[
pack
.
idName
][
'compensation_name'
]
=
this
.
editForm
.
customerName
this
.
commonPart
(
this
.
editForm
.
customerName
,
pack
,
Newattr
)
this
.
commonPart
(
this
.
editForm
.
customerName
,
pack
,
Newattr
)
return
}
}
this
.
compensationNameDisable
=
false
},
},
// 自选权益产品套餐处理参数---输入框
// 自选权益产品套餐处理参数---输入框
getCurChangeInput
(
e
,
pack
,
attr
,
faIndex
,
childIndex
)
{
getCurChangeInput
(
e
,
pack
,
attr
,
faIndex
,
childIndex
)
{
...
@@ -1019,16 +1022,16 @@ export default {
...
@@ -1019,16 +1022,16 @@ export default {
// 获取产品的数据
// 获取产品的数据
toTestProductData
(
arr
)
{
toTestProductData
(
arr
)
{
arr
.
forEach
(
item
=>
{
arr
.
forEach
(
item
=>
{
if
(
item
.
packageName
.
includes
(
'整车全损
无忧
'
))
{
if
(
item
.
packageName
.
includes
(
'整车全损'
))
{
item
.
idName
=
'car'
item
.
idName
=
'car'
}
else
if
(
item
.
packageName
.
includes
(
'轮胎
保障服务
'
))
{
}
else
if
(
item
.
packageName
.
includes
(
'轮胎'
))
{
item
.
idName
=
'tire'
item
.
idName
=
'tire'
}
else
if
(
item
.
packageName
.
includes
(
'碰撞
无忧
'
))
{
}
else
if
(
item
.
packageName
.
includes
(
'碰撞'
))
{
item
.
idName
=
'crash'
item
.
idName
=
'crash'
this
.
productModal
[
item
.
idName
][
'planId'
]
=
item
.
planId
this
.
productModal
[
item
.
idName
][
'planId'
]
=
item
.
planId
this
.
productModal
[
'vip'
][
'planId'
]
=
item
.
planId
this
.
productModal
[
'vip'
][
'planId'
]
=
item
.
planId
this
.
getCase
(
item
.
planId
)
this
.
getCase
(
item
.
planId
)
}
else
if
(
item
.
packageName
.
includes
(
'盗抢
全损无忧
'
))
{
}
else
if
(
item
.
packageName
.
includes
(
'盗抢'
))
{
item
.
idName
=
'stolen'
item
.
idName
=
'stolen'
}
else
if
(
item
.
packageName
.
includes
(
'尊享版'
))
{
}
else
if
(
item
.
packageName
.
includes
(
'尊享版'
))
{
item
.
idName
=
'vip'
item
.
idName
=
'vip'
...
@@ -1052,6 +1055,9 @@ export default {
...
@@ -1052,6 +1055,9 @@ export default {
e
.
optionList
=
this
.
baseData
.
servicePeriodList2
e
.
optionList
=
this
.
baseData
.
servicePeriodList2
this
.
productModal
[
item
.
idName
][
e
.
attributeName
]
=
'1'
this
.
productModal
[
item
.
idName
][
e
.
attributeName
]
=
'1'
e
.
disabled
=
true
e
.
disabled
=
true
}
else
if
(
e
.
attributeDesc
==
"生效日期"
){
let
nextDay
=
new
Date
().
getTime
()
+
24
*
60
*
60
*
1000
this
.
productModal
[
item
.
idName
][
e
.
attributeName
]
=
utils
.
dateFormat
(
nextDay
)
}
}
ele
.
tempobj
=
{
...
e
}
ele
.
tempobj
=
{
...
e
}
})
})
...
...
src/views/beforeSale/equityList.vue
View file @
74e2cae
...
@@ -133,7 +133,7 @@ export default {
...
@@ -133,7 +133,7 @@ export default {
selectWidth
:
'110px'
,
selectWidth
:
'110px'
,
selectOption
:
[
selectOption
:
[
{
{
label
:
'
客户
姓名'
,
label
:
'
车主
姓名'
,
name
:
'customerName'
name
:
'customerName'
},
},
{
{
...
@@ -830,7 +830,7 @@ export default {
...
@@ -830,7 +830,7 @@ export default {
}
}
}
}
.table_wrapper
{
.table_wrapper
{
margin-top
:
10px
;
//
margin-top
:
10px
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
20px
;
padding
:
20px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment