Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c0652d9f
authored
Dec 08, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.5.0' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V5.5.0
2 parents
3894954f
48efd78e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
175 additions
and
78 deletions
api/module/popupApi.js
api/request/http.js
assets/css/sprite.scss
assets/images/sprite.png
components/OrderPopup/components/Customer.vue
components/OrderPopup/components/DateTime.vue
components/OrderPopup/components/EmployeeList.vue
components/OrderPopup/config.js
components/OrderScreenContract/components/EmployeeList.vue
pages/equity/tool/components/DefeatOrder.vue
pages/equity/tool/components/UpdateOrderInfo.vue
pages/equity/tool/contant.js
api/module/popupApi.js
View file @
c0652d9
...
...
@@ -2,7 +2,7 @@ import http from '../request/http'
module
.
exports
=
{
/** 销售顾问/录单员 & 交付专员 */
getEmployeeList
(
data
)
{
getEmployeeList
(
data
)
{
return
http
.
post
({
method
:
'dj.api.smartcarlife.employee.onTheJob.getByMerchantId'
,
projectName
:
'boutique'
,
...
...
@@ -13,7 +13,7 @@ module.exports = {
* 二级流量方
*/
getDiversionMerchantRef
(
data
)
{
getDiversionMerchantRef
(
data
)
{
return
http
.
post
({
method
:
'dj.api.smartcarlife.diversionMerchant.getDiversionMerchantRef'
,
projectName
:
'boutique'
,
...
...
@@ -24,7 +24,7 @@ module.exports = {
* 获取门店品牌车型
*/
getMerchantCarBrandList
(
data
)
{
getMerchantCarBrandList
(
data
)
{
return
http
.
post
({
method
:
'dj.api.get.car.brandList'
,
projectName
:
'boutique'
,
...
...
@@ -36,7 +36,7 @@ module.exports = {
/***
* 获取门店礼券列表
*/
getMerchantCouponList
(
data
)
{
getMerchantCouponList
(
data
)
{
return
http
.
post
({
method
:
'dj.api.smartCarLife.merchant.coupon.list'
,
projectName
:
'boutique'
,
...
...
@@ -46,7 +46,7 @@ module.exports = {
/**
* 获取客户礼券列表
*/
getCustomerCouponList
(
data
)
{
getCustomerCouponList
(
data
)
{
return
http
.
post
({
method
:
'dj.api.customer.coupon.list'
,
projectName
:
'boutique'
,
...
...
@@ -56,7 +56,7 @@ module.exports = {
/**
* 获取商品列表
*/
getGoodsList
(
data
)
{
getGoodsList
(
data
)
{
return
http
.
post
({
method
:
'dj.api.smartcarlife.selectOrderGoods.list'
,
projectName
:
'boutique'
,
...
...
@@ -65,7 +65,7 @@ module.exports = {
},
/**获取订单列表筛选转化人员&销售顾问 */
getOrderScreenEmployeeList
(
data
)
{
getOrderScreenEmployeeList
(
data
)
{
return
http
.
post
({
method
:
'dj.api.smartcarlife.employee.getByMerchantId'
,
projectName
:
'boutique'
,
...
...
@@ -75,7 +75,7 @@ module.exports = {
/**
* 获取园区店配置
*/
getYqStoreConfig
(
data
)
{
getYqStoreConfig
(
data
)
{
return
http
.
get
({
method
:
'dj.api.smarcarlife.yqMerchantConfig.detail'
,
projectName
:
'boutique'
,
...
...
@@ -84,9 +84,9 @@ module.exports = {
},
/**
* 战败下单商品列表
*
*
*/
getOrderUpgradeGoodsList
(
data
)
{
getOrderUpgradeGoodsList
(
data
)
{
return
http
.
post
({
method
:
'dj.api.smartcarlife.orderUpgradeGoods.listByMerchantId'
,
projectName
:
'boutique'
,
...
...
@@ -96,7 +96,7 @@ module.exports = {
/**
* 获取精品升级场景 太阳膜类商品部位数据
*/
getPositionList
(
data
)
{
getPositionList
(
data
)
{
return
http
.
post
({
method
:
'dj.api.smartcarlife.goodsPosition.list'
,
projectName
:
'boutique'
,
...
...
@@ -104,14 +104,32 @@ module.exports = {
})
},
/**
* 获取提单客户档案列表
*
*/
getQuotationCustomerList
(
data
)
{
* 获取提单客户档案列表
*
*/
getQuotationCustomerList
(
data
)
{
return
http
.
post
({
method
:
'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.customer.page'
,
projectName
:
'boutique'
,
...
data
})
},
/**搜索订单(含套餐) */
getWorkPackageGoodsList
(
data
)
{
let
params
=
data
||
{}
params
.
sceneType
=
1
return
http
.
post
(
{
method
:
'dj.api.smartcarlife.order.search.containPackageGoods'
,
projectName
:
'boutique'
,
...
data
,
pageSize
:
10
,
pageSize
:
999999
,
statusList
:
[
1
]
},
false
,
'dj'
,
1000000
)
}
}
\ No newline at end of file
}
api/request/http.js
View file @
c0652d9
...
...
@@ -11,8 +11,8 @@ class Request {
get
(
params
,
returnAll
=
false
,
hostType
)
{
return
this
.
request
(
'GET'
,
params
,
returnAll
,
hostType
)
}
post
(
params
,
returnAll
=
false
,
hostType
)
{
return
this
.
request
(
'POST'
,
params
,
returnAll
,
hostType
)
post
(
params
,
returnAll
=
false
,
hostType
,
timeout
)
{
return
this
.
request
(
'POST'
,
params
,
returnAll
,
hostType
,
timeout
)
}
fetch
(
method
,
data
,
returnAll
=
true
,
hostType
)
{
return
this
.
post
(
...
...
@@ -24,7 +24,7 @@ class Request {
hostType
)
}
request
(
RequestMethods
,
params
,
returnAll
,
hostType
=
'dj'
)
{
request
(
RequestMethods
,
params
,
returnAll
,
hostType
=
'dj'
,
timeout
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
let
_this
=
this
uni
.
getNetworkType
({
...
...
@@ -57,6 +57,7 @@ class Request {
header
,
dataType
:
'json'
,
responseType
:
'text'
,
timeout
:
timeout
||
60000
,
success
(
response
)
{
/**业务代码 */
let
{
data
,
statusCode
}
=
response
...
...
@@ -162,4 +163,4 @@ class Request {
})
}
}
export
default
new
Request
()
\ No newline at end of file
export
default
new
Request
()
assets/css/sprite.scss
View file @
c0652d9
This diff is collapsed.
Click to expand it.
assets/images/sprite.png
View file @
c0652d9
2.92 MB
|
W:
|
H:
2.92 MB
|
W:
|
H:
2-up
Swipe
Onion skin
components/OrderPopup/components/Customer.vue
View file @
c0652d9
<
template
>
<view
class=
"customer-list"
>
<template
v-for=
"(i, index) in listData"
>
<view
:key=
"index"
@
click=
"choose(i)"
:class=
"['item flex',
{ active: checkActive(i) }]"
>
<view
:key=
"index"
@
click=
"choose(i)"
:class=
"['item flex',
{ active: checkActive(i) }]">
<view
class=
"sprite-icon icon-tag-checked"
></view>
<template
v-if=
"i.customerName"
>
{{
i
.
customerName
}}
<template
v-if=
"i.customerName
|| (i.customer && i.customer.customerName)
"
>
{{
i
.
customerName
||
(
i
.
customer
&&
i
.
customer
.
customerName
)
}}
</
template
>
<
template
v-if=
"i.carSeriesName"
>
<view
class=
"car-model"
>
(
{{
i
.
carChildsBrandName
||
''
}}
-
{{
i
.
carSeriesName
}}
)
</view>
<
template
v-if=
"i.carSeriesName
|| i.carType
"
>
<view
class=
"car-model"
>
(
{{
i
.
carType
?
i
.
carType
:
i
.
carChildsBrandName
+
'-'
+
i
.
carSeriesName
||
''
}}
)
</view>
</
template
>
<
template
v-if=
"i.customerPhone"
>
<view
class=
"phone"
>
|
{{
i
.
customerPhone
}}
</view>
<
template
v-if=
"i.customerPhone
|| i.customer.customerPhone
"
>
<view
class=
"phone"
>
|
{{
i
.
customerPhone
||
(
i
.
customer
&&
i
.
customer
.
customerPhone
)
}}
</view>
</
template
>
</view>
</template>
...
...
@@ -27,14 +23,14 @@ export default {
mixins
:
[
popupmixin
],
name
:
'Customer'
,
inject
:
[
'userInfo'
],
data
()
{
data
()
{
return
{
}
},
mounted
()
{
mounted
()
{
},
methods
:
{
async
getList
(
searchValue
,
search
)
{
async
getList
(
searchValue
,
search
)
{
const
{
userInfo
,
params
}
=
this
,
{
cacheData
}
=
params
this
.
currentId
=
''
...
...
@@ -50,30 +46,48 @@ export default {
currentPage
:
1
,
search
:
searchValue
}
const
{
list
}
=
await
uni
.
$api
.
popupApi
.
getQuotationCustomerList
(
apiParams
)
this
.
updateParams
(
params
,
list
||
[])
let
apiTargetName
=
!
params
.
defeat
?
'getQuotationCustomerList'
:
'getWorkPackageGoodsList'
console
.
log
(
apiTargetName
,
'apiTargetName'
)
const
{
list
}
=
await
uni
.
$api
.
popupApi
[
apiTargetName
](
apiParams
)
let
customerList
=
list
if
(
params
.
defeat
)
{
const
listArray
=
list
.
map
(
item
=>
{
if
(
item
.
customer
&&
item
.
customer
.
carSeriesName
)
{
item
.
carType
=
`
${
item
.
customer
.
carBrand
||
''
}
-
${
item
.
customer
.
carChildsBrandName
||
''
}
-
${
item
.
customer
.
carSeriesName
||
''
}
`
}
return
item
})
customerList
=
listArray
}
console
.
log
(
customerList
,
'customerList'
)
this
.
updateParams
(
params
,
customerList
||
[])
},
initData
(
list
)
{
const
{
params
:
{
idKey
},
data
}
=
this
initData
(
list
)
{
const
{
params
:
{
idKey
,
defeat
},
data
}
=
this
let
key
=
defeat
?
'id'
:
'customerPhone'
console
.
log
(
data
,
idKey
)
if
(
data
[
idKey
])
{
this
.
currentId
=
data
[
idKey
]
let
item
=
list
.
find
(
i
=>
i
.
id
==
this
.
currentId
)
let
item
=
list
.
find
(
i
=>
i
[
key
]
==
this
.
currentId
)
this
.
$emit
(
'choose'
,
item
)
}
this
.
list
=
list
this
.
$emit
(
'onComplete'
)
},
handleSearch
(
searchValue
)
{
handleSearch
(
searchValue
)
{
this
.
list
=
[]
this
.
getList
(
searchValue
,
true
)
},
choose
(
i
)
{
this
.
currentId
=
i
.
id
choose
(
i
)
{
let
{
params
}
=
this
let
key
=
params
.
defeat
?
'id'
:
'customerPhone'
this
.
currentId
=
i
[
key
]
this
.
$emit
(
'choose'
,
i
)
},
checkActive
(
i
)
{
checkActive
(
i
)
{
let
{
currentId
,
data
,
params
}
=
this
return
currentId
?
i
.
id
==
currentId
:
i
.
id
==
data
[
params
.
idKey
]
let
key
=
params
.
defeat
?
'id'
:
'customerPhone'
return
currentId
?
(
i
[
key
]
==
currentId
)
:
(
i
[
key
])
==
data
[
params
.
idKey
]
}
}
}
...
...
@@ -85,6 +99,7 @@ export default {
grid-template-columns
:
repeat
(
2
,
1
fr
);
gap
:
toRpx
(
32
);
margin
:
0
toRpx
(
48
);
.item
{
justify-content
:
center
;
height
:
toRpx
(
72
);
...
...
@@ -94,6 +109,7 @@ export default {
position
:
relative
;
color
:
#333333
;
font-size
:
toRpx
(
32
);
.sprite-icon
{
display
:
none
;
position
:
absolute
;
...
...
@@ -101,10 +117,12 @@ export default {
right
:
0
;
}
}
.active
{
border-color
:
#2c66f7
;
background
:
#ecf1ff
;
color
:
#2c66f7
;
.sprite-icon
{
display
:
block
;
}
...
...
components/OrderPopup/components/DateTime.vue
View file @
c0652d9
...
...
@@ -127,6 +127,7 @@ export default {
const
{
days
}
=
this
const
{
value
}
=
e
.
detail
const
index
=
value
[
0
]
console
.
log
(
days
[
index
],
days
,
index
)
this
.
currentDate
=
days
[
index
]
// 选择过去时间需要重新初始化时分
const
today
=
dayjs
().
format
(
'YYYY/MM/DD'
)
...
...
@@ -175,6 +176,7 @@ export default {
this
.
minutes
=
minutes
},
getResult
()
{
console
.
log
(
this
.
currentDate
,
this
.
currentHour
,
this
.
currentMinute
)
let
str
=
''
str
=
this
.
currentDate
+
' '
+
this
.
currentHour
+
':'
+
this
.
currentMinute
+
":00"
const
result
=
dayjs
(
str
).
format
(
'YYYY/MM/DD HH:mm:ss'
)
...
...
components/OrderPopup/components/EmployeeList.vue
View file @
c0652d9
...
...
@@ -50,7 +50,7 @@ export default {
},
initData
(
list
)
{
const
{
idKey
,
data
}
=
this
console
.
log
(
idKey
)
console
.
log
(
idKey
,
data
)
if
(
data
[
idKey
])
{
this
.
currentId
=
data
[
idKey
]
let
item
=
list
.
find
(
i
=>
i
.
uuid
==
this
.
currentId
)
...
...
components/OrderPopup/config.js
View file @
c0652d9
...
...
@@ -20,6 +20,7 @@
* 17:所在城市
* 18: 座位数
* 19: 客户档案
* 20: 战败客户档案
*/
const
componentConfig
=
{
...
...
@@ -184,7 +185,7 @@ const componentConfig = {
15
:
{
name
:
'GoodsCategory'
,
title
:
'选择商品类目'
,
hideSearch
:
true
,
loadComplete
:
false
},
...
...
@@ -225,6 +226,19 @@ const componentConfig = {
loadComplete
:
false
,
searchValue
:
''
,
noData
:
false
},
20
:
{
name
:
'Customer'
,
title
:
'客户档案'
,
loadComplete
:
false
,
placeholder
:
'查找'
,
nullTips
:
'请选择客户'
,
idKey
:
'id'
,
cacheData
:
[],
loadComplete
:
false
,
searchValue
:
''
,
noData
:
false
,
defeat
:
true
}
}
export
default
{
componentConfig
}
components/OrderScreenContract/components/EmployeeList.vue
View file @
c0652d9
<
template
>
<view
class=
"employee-list"
>
<view
@
click=
"currentIds = []"
:class=
"['item flex',
{active:!currentIds.length}]"
>
<view
@
click=
"currentIds = []"
:class=
"['item flex',
{ active: !currentIds.length }]">
<view
class=
"sprite-icon icon-tag-checked"
></view>
全部
</view>
<template
v-for=
"(i, index) in list"
>
<view
:key=
"index"
@
click=
"choose(i)"
:class=
"['item flex',
{active:checkActive(i)}]"
>
<view
:key=
"index"
@
click=
"choose(i)"
:class=
"['item flex',
{ active: checkActive(i) }]">
<view
class=
"sprite-icon icon-tag-checked"
></view>
{{
i
.
staffName
}}
{{
i
.
staffName
}}
</view>
</
template
>
</view>
</template>
<
script
type=
'text/ecmascript-6'
>
<
script
type=
"text/ecmascript-6"
>
export
default
{
name
:
'EmployeeList'
,
inject
:
[
'userInfo'
],
...
...
@@ -59,8 +52,8 @@ export default {
}
const
{
shopMerchantId
,
sceneType
,
merchantId
}
=
userInfo
,
data
=
await
uni
.
$api
.
popupApi
.
getOrderScreenEmployeeList
({
merchantId
:
params
.
idKey
==
'
sellerUserIdList
'
?
merchantId
:
shopMerchantId
,
sceneList
:
params
.
idKey
==
'
sellerUserIdList
'
?
''
:
[
sceneType
]
merchantId
:
params
.
idKey
==
'
transferIds
'
?
merchantId
:
shopMerchantId
,
sceneList
:
params
.
idKey
==
'
transferIds
'
?
''
:
[
sceneType
]
})
if
(
data
&&
data
.
length
)
{
this
.
initList
(
data
)
...
...
@@ -97,7 +90,7 @@ export default {
}
</
script
>
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
"scss"
>
.employee-list
{
display
:
grid
;
grid-template-columns
:
repeat
(
6
,
1
fr
);
...
...
@@ -128,4 +121,4 @@ export default {
}
}
}
</
style
>
\ No newline at end of file
</
style
>
pages/equity/tool/components/DefeatOrder.vue
View file @
c0652d9
...
...
@@ -12,7 +12,7 @@
class=
"customer-file flex"
@
click=
"
handleCell(
{
key: 'c
ustomer'
value: 'defeatC
ustomer'
})
"
>
...
...
@@ -30,9 +30,13 @@
</
template
>
</GlCell>
</view>
<view
@
click
.
stop=
"submit"
class=
"btn"
>
战败下单
</view>
</scroll-view>
<view
class=
"btns flex"
>
<view
@
click
.
stop=
"submit('reload')"
class=
"btn save"
>
提交后继续添加
</view>
<view
@
click
.
stop=
"submit"
class=
"btn"
>
战败下单
</view>
</view>
</view>
<!-- 弹窗 -->
<order-popup
ref=
"orderPopup"
:data=
"orderObj"
:dataKey=
"valueKey"
:isDefeatOrder=
"true"
@
onConfirm=
"onConfirm"
:externalData=
"externalData"
:popupType=
"popupType"
/>
</view>
...
...
@@ -200,6 +204,19 @@ export default {
this
.
initData
()
},
methods
:
{
resetParams
()
{
// 重置表单数据
this
.
orderObj
=
{
deafeatReason
:
''
,
customerName
:
''
,
customerPhone
:
''
,
salesType
:
0
}
// 重置表单列表
this
.
formList
=
utils
.
deepClone
(
DEFEAT_FORM_LIST
)
this
.
initData
()
},
async
initData
()
{
const
{
userInfo
}
=
this
console
.
log
(
this
.
orderObj
,
'this.orderObj'
)
...
...
@@ -236,7 +253,7 @@ export default {
// 获取当前选中的popupType
console
.
log
(
val
,
'val'
)
console
.
log
(
this
.
popupTypeEnum
,
'this.popupTypeEnum'
)
this
.
popupType
=
Object
.
keys
(
this
.
popupTypeEnum
).
find
(
key
=>
this
.
popupTypeEnum
[
key
].
key
===
val
.
key
)
*
1
this
.
popupType
=
Object
.
keys
(
this
.
popupTypeEnum
).
find
(
key
=>
this
.
popupTypeEnum
[
key
].
key
===
val
.
value
)
*
1
// 获取对应的list字段
const
popupConfig
=
this
.
popupTypeEnum
[
this
.
popupType
]
if
(
popupConfig
&&
popupConfig
.
list
)
{
...
...
@@ -278,6 +295,7 @@ export default {
console
.
log
(
res
,
'上一个订单的销售顾问信息'
)
this
.
$set
(
this
.
orderObj
,
'employeeName'
,
res
.
employeeName
)
this
.
orderObj
.
userId
=
res
.
userId
this
.
orderObj
.
referrerId
=
res
.
userId
console
.
log
(
res
,
'上一个订单的销售顾问信息'
)
},
// 单选框change事件
...
...
@@ -303,11 +321,19 @@ export default {
// 根据popupTypeEnum优化处理
const
_typeValue
=
this
.
popupTypeEnum
[
this
.
popupType
]
console
.
log
(
_typeValue
)
if
(
_typeValue
.
key
==
'todayShow'
)
{
const
weeks
=
[
'星期日'
,
'星期一'
,
'星期二'
,
'星期三'
,
'星期四'
,
'星期五'
,
'星期六'
]
this
.
$set
(
this
.
orderObj
,
'todayShow'
,
dayjs
(
chooseContent
).
format
(
'YYYY-MM-DD'
)
+
' '
+
weeks
[
dayjs
(
chooseContent
).
day
()])
this
.
$set
(
this
.
orderObj
,
'createDate'
,
dayjs
(
chooseContent
).
format
(
'YYYY-MM-DD'
))
}
else
if
(
_typeValue
.
key
)
{
this
.
orderObj
[
_typeValue
.
targetIdKey
]
=
chooseContent
[
_typeValue
.
sourceIdKey
]
this
.
$set
(
this
.
orderObj
,
_typeValue
.
targetNameKey
,
chooseContent
[
_typeValue
.
sourceNameKey
])
}
// 定义产品相关字段数组
if
(
val
.
popupType
==
19
)
{
if
(
val
.
popupType
==
20
)
{
console
.
log
(
chooseContent
,
'chooseContent'
)
this
.
orderObj
.
customerName
=
chooseContent
.
customerName
this
.
orderObj
.
customerPhone
=
chooseContent
.
customerPhone
this
.
orderObj
.
customerName
=
chooseContent
.
customer
.
customer
Name
this
.
orderObj
.
customerPhone
=
chooseContent
.
customer
.
customer
Phone
}
if
(
val
.
popupType
==
0
)
{
console
.
log
(
chooseContent
,
'chooseContent'
)
...
...
@@ -394,7 +420,7 @@ export default {
},
// 提交
submit
:
debounce
(
async
function
()
{
submit
:
debounce
(
async
function
(
type
)
{
// 校验是否填写昨日日报
let
staffCheck
=
await
checkDailyReport
()
if
(
staffCheck
)
return
false
...
...
@@ -424,7 +450,11 @@ export default {
title
:
'保存成功'
,
icon
:
'success'
})
this
.
$emit
(
'jump'
,
'OrderManagement'
)
if
(
type
==
'reload'
)
{
this
.
resetParams
()
}
else
{
this
.
$emit
(
'jump'
,
'OrderManagement'
)
}
}
},
300
),
...
...
@@ -651,7 +681,7 @@ export default {
.box
{
height
:
calc
(
100%
-
#{
toRpx
(
120
)}
);
padding-bottom
:
toRpx
(
24
);
position
:
relative
;
.scroll-view
{
height
:
100%
;
}
...
...
@@ -859,13 +889,26 @@ export default {
}
.defeat-order
::v-deep
.cell-value
.textarea
{
margin-bottom
:
0
;
height
:
toRpx
(
192
);
}
.btns
{
padding
:
24
rpx
128
rpx
;
gap
:
32
rpx
;
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
left
:
0
;
.save
{
background
:
#3b73ff1
a
;
color
:
#4673ff
;
font-size
:
28
rpx
;
font-weight
:
500
;
}
}
.btn
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
margin
:
toRpx
(
88
)
auto
0
;
width
:
toRpx
(
1130
);
height
:
toRpx
(
80
);
color
:
#fff
;
...
...
pages/equity/tool/components/UpdateOrderInfo.vue
View file @
c0652d9
<
template
>
<view
class=
"order"
>
<view
:class=
"['order-box',
{ hide: showUpload }]"
:key="formKey"
>
<view
:class=
"['order-box',
{ hide: showUpload }]">
<view
class=
"common-title"
>
修改客户信息
</view>
<view
class=
"box"
>
<scroll-view
class=
"scroll-view"
scroll-y=
"true"
>
...
...
@@ -15,7 +15,7 @@
</view>
</view>
<!-- 弹窗 -->
<
order-popup
ref=
"orderPopup"
:data=
"orderObj"
:dataKey=
"valueKey"
@
onConfirm=
"onConfirm"
:externalData=
"externalData"
:popupType=
"popupType"
:popupTitle=
"popupTitle"
/
>
<
!--
<order-popup
ref=
"orderPopup"
:data=
"orderObj"
:dataKey=
"valueKey"
@
onConfirm=
"onConfirm"
:externalData=
"externalData"
:popupType=
"popupType"
:popupTitle=
"popupTitle"
/>
--
>
<template
v-if=
"showUpload"
>
<view
class=
"upload-box"
>
<upload-proof-of-payment
@
back=
"showUpload = false"
@
confirm=
"uploadConfirm"
/>
...
...
@@ -29,7 +29,7 @@
<
script
>
import
utils
from
'@/utils/utils'
import
OrderPopup
from
'@/components/OrderPopup/index.vue'
//
import OrderPopup from '@/components/OrderPopup/index.vue'
import
GlCell
from
'../../../../components/Form/GlCell.vue'
import
{
UpdateOrderInfo
,
popupTypeEnum
,
payTypeList
,
titleList
}
from
'../contant'
import
{
interceptionMixin
}
from
'@/mixin/index'
...
...
@@ -44,7 +44,7 @@ export default {
mixins
:
[
interceptionMixin
],
components
:
{
GlCell
,
OrderPopup
,
//
OrderPopup,
UploadProofOfPayment
,
OrderPay
,
NoticePopup
...
...
@@ -60,7 +60,9 @@ export default {
showUpload
:
false
,
titleList
,
formList
:
utils
.
deepClone
(
UpdateOrderInfo
),
valueKey
:
''
,
externalData
:
[],
popupType
:
0
,
baseConfigData
:
{},
requiredList
:
[],
// 录单设置的必填项
orderObj
:
{
...
...
@@ -163,7 +165,6 @@ export default {
}
},
// 提交
async
submit
()
{
if
(
!
this
.
checkRequired
()
||
(
await
this
.
checkDailyReport
()))
return
let
params
=
{
...
...
@@ -216,6 +217,10 @@ export default {
]
// 打开弹窗
this
.
$refs
.
notice
.
open
()
},
radioChange
(
val
)
{
console
.
log
(
val
)
this
.
orderObj
.
salesType
=
val
.
detail
.
value
}
}
}
...
...
pages/equity/tool/contant.js
View file @
c0652d9
...
...
@@ -387,6 +387,9 @@ const popupTypeEnum = {
},
19
:
{
key
:
'customer'
},
20
:
{
key
:
'defeatCustomer'
}
}
const
titleList
=
[
null
,
{
addHtml
:
'customer'
},
{
name
:
'车辆信息'
},
{
name
:
'增值车损险'
},
{
name
:
'其他信息'
}]
...
...
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