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 04b58f6a
authored
Apr 18, 2024
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复时间组件问题
1 parent
75e3fdd1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
3 deletions
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.js
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.js
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.js
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
tabWorkOrder/pages/confirmOrder/confirmOrder.wxml
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.js
View file @
04b58f6
...
@@ -131,6 +131,7 @@ Component({
...
@@ -131,6 +131,7 @@ Component({
let
params
=
thisPage
.
getInsurance
()
let
params
=
thisPage
.
getInsurance
()
let
owner
=
thisPage
.
getOwnerInfo
()
let
owner
=
thisPage
.
getOwnerInfo
()
owner
.
salesType
=
owner
.
salesType
==
'售后'
?
1
:
0
// const owner = wx.$util.deepClone(thisPage.data.owner)
// const owner = wx.$util.deepClone(thisPage.data.owner)
params
.
owner
=
owner
params
.
owner
=
owner
params
.
goodsId
=
goodsItem
.
id
params
.
goodsId
=
goodsItem
.
id
...
...
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.js
View file @
04b58f6
...
@@ -324,6 +324,7 @@ Component({
...
@@ -324,6 +324,7 @@ Component({
let
owner
=
thisPage
.
getOwnerInfo
()
let
owner
=
thisPage
.
getOwnerInfo
()
// const owner = wx.$util.deepClone(thisPage.data.owner)
// const owner = wx.$util.deepClone(thisPage.data.owner)
owner
.
salesType
=
owner
.
salesType
==
'售后'
?
1
:
0
params
.
owner
=
owner
params
.
owner
=
owner
params
.
goodsId
=
goodsItem
.
id
params
.
goodsId
=
goodsItem
.
id
params
.
goodsName
=
goodsItem
.
goodsName
params
.
goodsName
=
goodsItem
.
goodsName
...
...
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.js
View file @
04b58f6
...
@@ -221,9 +221,9 @@ Page({
...
@@ -221,9 +221,9 @@ Page({
// 获取保险信息
// 获取保险信息
let
orderInfo
=
this
.
getInsurance
()
let
orderInfo
=
this
.
getInsurance
()
let
owner
=
this
.
getOwnerInfo
()
let
owner
=
this
.
getOwnerInfo
()
owner
.
salesType
=
owner
.
salesType
==
'售后'
?
1
:
0
orderInfo
.
owner
=
owner
orderInfo
.
owner
=
owner
orderInfo
.
check
=
check
orderInfo
.
check
=
check
owner
.
salesType
=
owner
.
salesType
==
'售后'
?
1
:
0
console
.
log
(
'orderInfo'
,
orderInfo
)
console
.
log
(
'orderInfo'
,
orderInfo
)
try
{
try
{
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
...
@@ -290,6 +290,7 @@ Page({
...
@@ -290,6 +290,7 @@ Page({
return
obj
return
obj
},
{})
},
{})
console
.
log
(
'insuranceTypeObj'
,
insuranceTypeObj
)
console
.
log
(
'insuranceTypeObj'
,
insuranceTypeObj
)
tableInfo
.
owner
.
salesType
=
tableInfo
.
owner
.
salesType
==
1
?
'售后'
:
'售前'
this
.
setData
({
this
.
setData
({
orderInfo
:
Object
.
assign
(
orderInfo
,
tableInfo
,
insuranceTypeObj
),
orderInfo
:
Object
.
assign
(
orderInfo
,
tableInfo
,
insuranceTypeObj
),
owner
:
tableInfo
.
owner
owner
:
tableInfo
.
owner
...
...
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
View file @
04b58f6
...
@@ -144,10 +144,10 @@ Page({
...
@@ -144,10 +144,10 @@ Page({
let
{
outTradeNo
}
=
this
.
data
let
{
outTradeNo
}
=
this
.
data
let
orderInfo
=
this
.
getInsurance
()
let
orderInfo
=
this
.
getInsurance
()
let
owner
=
this
.
getOwnerInfo
()
let
owner
=
this
.
getOwnerInfo
()
owner
.
salesType
=
owner
.
salesType
==
'售后'
?
1
:
0
orderInfo
.
owner
=
owner
orderInfo
.
owner
=
owner
orderInfo
.
check
=
true
orderInfo
.
check
=
true
orderInfo
.
outTradeNo
=
outTradeNo
orderInfo
.
outTradeNo
=
outTradeNo
owner
.
salesType
=
owner
.
salesType
==
'售后'
?
1
:
0
wx
.
showLoading
(
'提交中...'
)
wx
.
showLoading
(
'提交中...'
)
quotationRecording
(
orderInfo
)
quotationRecording
(
orderInfo
)
.
then
(
result
=>
{
.
then
(
result
=>
{
...
...
tabWorkOrder/pages/confirmOrder/confirmOrder.wxml
View file @
04b58f6
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</block>
</block>
</view>
</view>
<view wx:if="{{!isErrorOrder&&orderInfo.selectPayType==2}}" class="box date-box">
<view wx:if="{{!isErrorOrder&&orderInfo.selectPayType==2}}" class="box date-box">
<view class="date-box-label">
<text class='required'>*</text>收款时间
</view>
<view class="date-box-label">
收款时间<text class='required'>*</text>
</view>
<view class="date-box-value" bind:tap="toshowDateModal">{{successDate || '请选择门店收款时间'}}</view>
<view class="date-box-value" bind:tap="toshowDateModal">{{successDate || '请选择门店收款时间'}}</view>
</view>
</view>
<view class="box">
<view class="box">
...
...
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