Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 64eee306
authored
May 16, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
ef97d19e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
11 deletions
config.js
packageEquity/pages/carEquity/serviceInfo/serviceInfo.js
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
packageEquity/pages/carQuotation/index/index.js
tabOperating/pages/index/components/staffCell/staffCell.js
config.js
View file @
64eee30
...
...
@@ -10,7 +10,7 @@
* 2测试
* 3生产环境
*/
let
index
=
1
let
index
=
2
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
...
...
packageEquity/pages/carEquity/serviceInfo/serviceInfo.js
View file @
64eee30
...
...
@@ -29,8 +29,8 @@ Page({
},
// 页面存放表单对象的对象名
dataAttrName
:
'serviceInfo'
,
step
:
'first'
,
//
step: 'second',
//
step: 'first',
step
:
'second'
,
routeInfo
:
{},
contractNo
:
''
,
url
:
''
,
...
...
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
View file @
64eee30
...
...
@@ -182,7 +182,7 @@ if (!orderInfo.goodsId) return wx.$util.showToast('请选择增值车损险')
this
.
setData
({
confirmStatus
:
true
})
let
result
=
await
this
.
handleSecondConfirmCheck
()
let
result
=
await
this
.
handleSecondConfirmCheck
(
true
)
let
{
code
,
data
:
id
,
...
...
@@ -199,7 +199,7 @@ if (!orderInfo.goodsId) return wx.$util.showToast('请选择增值车损险')
})
console
.
log
(
'id'
,
id
)
// { orderId:data.orderId, id }
return
//
return
status
.
code
==
0
?
this
.
navigatorNext
({
id
,
orderId
:
status
.
data
.
orderId
...
...
@@ -261,11 +261,12 @@ if (!orderInfo.goodsId) return wx.$util.showToast('请选择增值车损险')
}
return
owner
},
handleSecondConfirmCheck
()
{
handleSecondConfirmCheck
(
check
)
{
// 获取保险信息
let
orderInfo
=
this
.
getInsurance
()
let
owner
=
this
.
getOwnerInfo
()
orderInfo
.
owner
=
owner
orderInfo
.
check
=
check
console
.
log
(
'orderInfo'
,
orderInfo
)
// debugger
...
...
@@ -423,14 +424,20 @@ if (!orderInfo.goodsId) return wx.$util.showToast('请选择增值车损险')
this
.
setData
({
orderInfo
})
let
id
=
await
this
.
handleSecondConfirmCheck
(
)
let
res
=
await
this
.
handleSecondConfirmCheck
(
false
)
this
.
setData
({
saveStatus
:
false
})
console
.
log
(
'id'
,
id
)
console
.
log
(
'id'
,
res
)
let
{
code
,
data
,
message
}
=
res
if
(
code
==
1
)
{
wx
.
$router
.
redirectTo
(
'packageEquity.equityPage'
)
}
else
{
return
wx
.
$util
.
showToast
(
res
.
message
||
'保存错误'
)
}
// this.navigatorNext()
// wx.$router.go('packageEquity.index')
wx
.
$router
.
redirectTo
(
'packageEquity.equityPage'
)
},
getQuotationInfo
()
{
let
{
...
...
packageEquity/pages/carQuotation/index/index.js
View file @
64eee30
...
...
@@ -207,7 +207,10 @@ Component({
}
=
res
.
data
let
tempList
=
isReset
?
this
.
dealListData
(
list
||
[])
||
[]
:
this
.
data
.
list
.
concat
(
this
.
dealListData
(
list
||
[])
||
[])
tempList
=
tempList
.
map
((
item
)
=>
{
item
.
createdTime
=
wx
.
$util
.
tsFormatTime
(
item
.
createdTime
,
'Y.M.D h:m:s'
)
item
.
createdTime
=
wx
.
$util
.
tsFormatTime
(
item
.
createdTime
,
'Y/M/D h:m:s'
)
if
(
item
.
payTime
)
{
item
.
payTime
=
wx
.
$util
.
tsFormatTime
(
item
.
payTime
,
'Y/M/D h:m:s'
)
}
return
item
})
this
.
setData
({
...
...
tabOperating/pages/index/components/staffCell/staffCell.js
View file @
64eee30
...
...
@@ -71,7 +71,7 @@ Component({
let
{
code
,
data
}
=
result
if
(
code
==
'0'
)
{
let
staffList
=
data
.
map
(
item
=>
{
item
.
createdTime
=
wx
.
$util
.
tsFormatTime
(
item
.
createdTime
,
'Y
-M-
D'
)
item
.
createdTime
=
wx
.
$util
.
tsFormatTime
(
item
.
createdTime
,
'Y
/M/
D'
)
return
item
})
this
.
setData
({
...
...
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