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 e948a711
authored
Mar 18, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bugfix
1 parent
84354df4
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
98 additions
and
53 deletions
packageEquity/components/GLForm/GLForm.wxml
packageEquity/pages/carEquity/components/constant/secondStepData.js
packageEquity/pages/carEquity/serviceInfo/serviceInfo.js
packageEquity/pages/carQuotation/CarQuotationPay/CarQuotationPay.js
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.js
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.wxml
packageEquity/pages/carQuotation/components/constant/stepData.js
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.js
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.wxml
packageEquity/pages/carQuotation/index/index.wxml
packageEquity/components/GLForm/GLForm.wxml
View file @
e948a71
...
@@ -16,13 +16,13 @@
...
@@ -16,13 +16,13 @@
<slot wx:if="{{item.type == 'slot'}}" name="{{item.name}}" />
<slot wx:if="{{item.type == 'slot'}}" name="{{item.name}}" />
<!-- input / textarea -->
<!-- input / textarea -->
<view wx:if="{{item.type == 'input'}}" class="input-box">
<view wx:if="{{item.type == 'input'}}" class="input-box">
<!-- rows="1" -->
<van-field
<van-field
class="textarea"
class="textarea"
custom-style="padding: 20rpx 0;"
custom-style="padding: 20rpx 0;"
border="{{ false}}"
border="{{ false}}"
value="{{formData[item.name]}}"
value="{{formData[item.name]}}"
input-align="{{itme.inputAlign || 'right'}}"
input-align="{{itme.inputAlign || 'right'}}"
rows="1"
autosize
autosize
hold-keyboard
hold-keyboard
type="{{item.fieldType || 'text'}}"
type="{{item.fieldType || 'text'}}"
...
...
packageEquity/pages/carEquity/components/constant/secondStepData.js
View file @
e948a71
...
@@ -50,44 +50,51 @@ const formRule = {
...
@@ -50,44 +50,51 @@ const formRule = {
rearTireSpecification
:
[{
required
:
true
,
message
:
'规格型号(后轮)不能为空'
}],
rearTireSpecification
:
[{
required
:
true
,
message
:
'规格型号(后轮)不能为空'
}],
compensationName
:
[{
required
:
true
,
message
:
'第一受益人不能为空'
}],
compensationName
:
[{
required
:
true
,
message
:
'第一受益人不能为空'
}],
merchantPhone
:
[{
required
:
true
,
message
:
'联系电话不能为空'
}],
merchantPhone
:
[{
required
:
true
,
message
:
'联系电话不能为空'
}],
merchantAddress
:
[{
required
:
true
,
message
:
'联系地址不能为空'
}]
,
merchantAddress
:
[{
required
:
true
,
message
:
'联系地址不能为空'
}]
}
}
const
secondObj
=
{
const
secondObj
=
{
carFormList
:
[{
carFormList
:
[
{
label
:
'车架号'
,
label
:
'车架号'
,
name
:
'vin'
,
name
:
'vin'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
'17'
maxlength
:
'17'
},
{
},
{
label
:
'车辆发票价'
,
label
:
'车辆发票价'
,
name
:
'invoicePrice'
,
name
:
'invoicePrice'
,
type
:
'input'
,
type
:
'input'
,
readonly
:
true
readonly
:
true
},
{
},
{
label
:
'座位数'
,
label
:
'座位数'
,
name
:
'seatesNum'
,
name
:
'seatesNum'
,
labelName
:
'seatesNumTxt
'
,
labelName
:
'seatesNum
'
,
type
:
'select'
,
type
:
'select'
,
optionList
:
constantList
.
seatesList
,
optionList
:
constantList
.
seatesList
,
optionId
:
'optionId'
,
optionId
:
'optionId'
,
optionLabel
:
'optionLabel'
optionLabel
:
'optionLabel'
},
{
},
{
label
:
'发动机号'
,
label
:
'发动机号'
,
name
:
'engineNo'
,
name
:
'engineNo'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
'30'
maxlength
:
'30'
},
{
},
{
label
:
'车身颜色'
,
label
:
'车身颜色'
,
name
:
'vehicleColor'
,
name
:
'vehicleColor'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
'5'
maxlength
:
'5'
},
{
},
{
label
:
'购车日期'
,
label
:
'购车日期'
,
name
:
'billingDate'
,
name
:
'billingDate'
,
type
:
'pickerTime'
,
type
:
'pickerTime'
,
end
:
new
Date
()
end
:
new
Date
()
},
{
},
{
label
:
'品牌车系'
,
label
:
'品牌车系'
,
name
:
'vehicleBrandId'
,
name
:
'vehicleBrandId'
,
labelName
:
'brandTxt'
,
labelName
:
'brandTxt'
,
...
@@ -95,8 +102,10 @@ const secondObj = {
...
@@ -95,8 +102,10 @@ const secondObj = {
haveArrow
:
true
,
haveArrow
:
true
,
noCellHeight
:
true
,
noCellHeight
:
true
,
placeholder
:
'请选择'
placeholder
:
'请选择'
}],
}
customerFormList
:
[{
],
customerFormList
:
[
{
label
:
'客户类型'
,
label
:
'客户类型'
,
name
:
'customerType'
,
name
:
'customerType'
,
labelName
:
'customerTypeName'
,
labelName
:
'customerTypeName'
,
...
@@ -104,19 +113,22 @@ const secondObj = {
...
@@ -104,19 +113,22 @@ const secondObj = {
optionList
:
constantList
.
customerTypeList
,
optionList
:
constantList
.
customerTypeList
,
optionId
:
'optionId'
,
optionId
:
'optionId'
,
optionLabel
:
'optionLabel'
optionLabel
:
'optionLabel'
},
{
},
{
label
:
'姓名'
,
label
:
'姓名'
,
name
:
'customerName'
,
name
:
'customerName'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
'100'
,
maxlength
:
'100'
,
noCellHeight
:
true
,
noCellHeight
:
true
,
fieldType
:
'textarea'
fieldType
:
'textarea'
},
{
},
{
label
:
'联系电话'
,
label
:
'联系电话'
,
name
:
'customerPhone'
,
name
:
'customerPhone'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
'11'
,
maxlength
:
'11'
},
{
},
{
label
:
'证件类型'
,
label
:
'证件类型'
,
name
:
'cardType'
,
name
:
'cardType'
,
labelName
:
'cardTypeName'
,
labelName
:
'cardTypeName'
,
...
@@ -124,45 +136,54 @@ const secondObj = {
...
@@ -124,45 +136,54 @@ const secondObj = {
optionList
:
constantList
.
cardTypeList
,
optionList
:
constantList
.
cardTypeList
,
optionId
:
'optionId'
,
optionId
:
'optionId'
,
optionLabel
:
'optionLabel'
optionLabel
:
'optionLabel'
},
{
},
{
label
:
'证件号码'
,
label
:
'证件号码'
,
name
:
'cardNo'
,
name
:
'cardNo'
,
type
:
'input'
type
:
'input'
},
{
},
{
label
:
'联系地址'
,
label
:
'联系地址'
,
name
:
'customerAddress'
,
name
:
'customerAddress'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
'100'
,
maxlength
:
'100'
,
noCellHeight
:
true
,
noCellHeight
:
true
,
fieldType
:
'textarea'
fieldType
:
'textarea'
}],
}
productFormList
:
[{
],
productFormList
:
[
{
label
:
'服务年限'
,
label
:
'服务年限'
,
name
:
'servicePeriod'
,
name
:
'servicePeriod'
,
type
:
'input'
,
type
:
'input'
,
disabled
:
true
,
disabled
:
true
,
suffix
:
'年'
suffix
:
'年'
},
{
},
{
label
:
'生效日期'
,
label
:
'生效日期'
,
name
:
'effectiveDate'
,
name
:
'effectiveDate'
,
type
:
'pickerTime'
,
type
:
'pickerTime'
,
start
:
new
Date
(
new
Date
().
setDate
(
new
Date
(
new
Date
()).
getDate
()
+
1
)).
toLocaleDateString
()
start
:
new
Date
(
new
Date
().
setDate
(
new
Date
(
new
Date
()).
getDate
()
+
1
)).
toLocaleDateString
()
},
{
},
{
label
:
'轮胎品牌'
,
label
:
'轮胎品牌'
,
name
:
'tireBrand'
,
name
:
'tireBrand'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
'20'
maxlength
:
'20'
},
{
},
{
label
:
'规格型号(前轮)'
,
label
:
'规格型号(前轮)'
,
name
:
'frontTireSpecification'
,
name
:
'frontTireSpecification'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
'20'
maxlength
:
'20'
},
{
},
{
label
:
'规格型号(后轮)'
,
label
:
'规格型号(后轮)'
,
name
:
'rearTireSpecification'
,
name
:
'rearTireSpecification'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
'20'
maxlength
:
'20'
},
{
},
{
label
:
'购车类型'
,
label
:
'购车类型'
,
name
:
'buyCarType'
,
name
:
'buyCarType'
,
labelName
:
'buyCarTypeName'
,
labelName
:
'buyCarTypeName'
,
...
@@ -170,28 +191,34 @@ const secondObj = {
...
@@ -170,28 +191,34 @@ const secondObj = {
optionList
:
constantList
.
buyCarTypeList
,
optionList
:
constantList
.
buyCarTypeList
,
optionId
:
'optionId'
,
optionId
:
'optionId'
,
optionLabel
:
'optionLabel'
optionLabel
:
'optionLabel'
},
{
},
{
label
:
'第一受益人'
,
label
:
'第一受益人'
,
name
:
'compensationName'
,
name
:
'compensationName'
,
type
:
'input'
type
:
'input'
}],
}
storeFormList
:
[{
],
storeFormList
:
[
{
label
:
'店面名称'
,
label
:
'店面名称'
,
name
:
'merchantName'
,
name
:
'merchantName'
,
type
:
'input'
,
type
:
'input'
,
readonly
:
true
readonly
:
true
},
{
},
{
label
:
'联系电话'
,
label
:
'联系电话'
,
name
:
'merchantPhone'
,
name
:
'merchantPhone'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
'20'
maxlength
:
'20'
},
{
},
{
label
:
'联系地址'
,
label
:
'联系地址'
,
name
:
'merchantAddress'
,
name
:
'merchantAddress'
,
type
:
'input'
,
type
:
'input'
,
fieldType
:
'textarea'
,
fieldType
:
'textarea'
,
maxlength
:
'100'
maxlength
:
'100'
}]
}
]
}
}
export
default
{
export
default
{
...
...
packageEquity/pages/carEquity/serviceInfo/serviceInfo.js
View file @
e948a71
...
@@ -223,7 +223,7 @@ Page({
...
@@ -223,7 +223,7 @@ Page({
handleErrorJump
(
e
)
{
handleErrorJump
(
e
)
{
let
{
height
}
=
e
.
detail
let
{
height
}
=
e
.
detail
this
.
setData
({
this
.
setData
({
scrollTop
:
height
,
// 滚动到的位置(距离顶部 px)
scrollTop
:
height
// 滚动到的位置(距离顶部 px)
})
})
},
},
...
@@ -360,7 +360,7 @@ Page({
...
@@ -360,7 +360,7 @@ Page({
/**
/**
* 生命周期函数--监听页面初次渲染完成
* 生命周期函数--监听页面初次渲染完成
*/
*/
onReady
()
{
},
onReady
()
{},
/**
/**
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
...
@@ -375,25 +375,25 @@ Page({
...
@@ -375,25 +375,25 @@ Page({
/**
/**
* 生命周期函数--监听页面隐藏
* 生命周期函数--监听页面隐藏
*/
*/
onHide
()
{
},
onHide
()
{},
/**
/**
* 生命周期函数--监听页面卸载
* 生命周期函数--监听页面卸载
*/
*/
onUnload
()
{
},
onUnload
()
{},
/**
/**
* 页面相关事件处理函数--监听用户下拉动作
* 页面相关事件处理函数--监听用户下拉动作
*/
*/
onPullDownRefresh
()
{
},
onPullDownRefresh
()
{},
/**
/**
* 页面上拉触底事件的处理函数
* 页面上拉触底事件的处理函数
*/
*/
onReachBottom
()
{
},
onReachBottom
()
{},
/**
/**
* 用户点击右上角分享
* 用户点击右上角分享
*/
*/
onShareAppMessage
()
{
}
onShareAppMessage
()
{}
})
})
packageEquity/pages/carQuotation/CarQuotationPay/CarQuotationPay.js
View file @
e948a71
...
@@ -128,7 +128,7 @@ Page({
...
@@ -128,7 +128,7 @@ Page({
onRoute
(
options
)
{
onRoute
(
options
)
{
// console.log(options = 19)
// console.log(options = 19)
let
{
data
,
id
}
=
options
let
{
data
,
id
}
=
options
id
=
26
//
id = 26
this
.
setData
({
id
})
this
.
setData
({
id
})
this
.
getQuotationInfoById
()
this
.
getQuotationInfoById
()
},
},
...
...
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.js
View file @
e948a71
...
@@ -204,9 +204,14 @@ Component({
...
@@ -204,9 +204,14 @@ Component({
let
value
=
e
.
detail
let
value
=
e
.
detail
console
.
log
(
e
)
console
.
log
(
e
)
let
{
attrname
,
attrtype
,
type
}
=
e
.
currentTarget
.
dataset
let
{
attrname
,
attrtype
,
type
}
=
e
.
currentTarget
.
dataset
value
=
type
==
'number'
?
wx
.
$util
.
numberFixedDigit
(
value
)
:
value
value
=
type
==
'number'
?
wx
.
$util
.
numberFixedDigit
(
value
)
:
value
if
(
type
==
'number'
)
{
value
=
parseFloat
(
value
)
>
2000000
?
2000000
:
value
}
let
thisPage
=
wx
.
$router
.
getPageInstance
()
let
thisPage
=
wx
.
$router
.
getPageInstance
()
console
.
log
(
attrtype
)
console
.
log
(
attrtype
)
if
(
attrtype
==
'modifyEquityQuotation'
)
{
if
(
attrtype
==
'modifyEquityQuotation'
)
{
let
{
orderInfo
}
=
this
.
data
let
{
orderInfo
}
=
this
.
data
let
showError
=
orderInfo
.
modifyEquityQuotation
.
minEquityPrice
<=
value
?
false
:
true
let
showError
=
orderInfo
.
modifyEquityQuotation
.
minEquityPrice
<=
value
?
false
:
true
...
...
packageEquity/pages/carQuotation/components/SecondStep/SecondStep.wxml
View file @
e948a71
<!-- packageEquity/pages/carEquity/components/SecondStep/SecondStep.wxml -->
<!-- packageEquity/pages/carEquity/components/SecondStep/SecondStep.wxml -->
<!-- <scroll-view scroll-y style="height:100vh;"> -->
<view class="testFormCon">
<view class="testFormCon">
<view
<view
class="selectBox insuranceCompany"
class="selectBox insuranceCompany"
...
@@ -30,7 +31,7 @@
...
@@ -30,7 +31,7 @@
class="inputBox"
class="inputBox"
border="{{false}}"
border="{{false}}"
disabled="{{disable}}"
disabled="{{disable}}"
hold-keyboard
data-
hold-keyboard
value="{{orderInfo.business.base}}"
value="{{orderInfo.business.base}}"
data-attrName="base"
data-attrName="base"
data-type='number'
data-type='number'
...
@@ -61,7 +62,7 @@
...
@@ -61,7 +62,7 @@
border="{{false}}"
border="{{false}}"
disabled="{{disable}}"
disabled="{{disable}}"
placeholder="请输入保费"
placeholder="请输入保费"
hold-keyboard
data-
hold-keyboard
value="{{orderInfo.business.threePremium}}"
value="{{orderInfo.business.threePremium}}"
data-type='number'
data-type='number'
data-attrType="business"
data-attrType="business"
...
@@ -89,6 +90,7 @@
...
@@ -89,6 +90,7 @@
<van-field
<van-field
class="inputBox"
class="inputBox"
border="{{false}}"
border="{{false}}"
data-hold-keyboard
disabled="{{disable}}"
disabled="{{disable}}"
placeholder="请输入保费"
placeholder="请输入保费"
data-type='number'
data-type='number'
...
@@ -118,6 +120,7 @@
...
@@ -118,6 +120,7 @@
<van-field
<van-field
class="inputBox"
class="inputBox"
border="{{false}}"
border="{{false}}"
data-hold-keyboard
disabled="{{disable}}"
disabled="{{disable}}"
placeholder="请输入保费"
placeholder="请输入保费"
data-type='number'
data-type='number'
...
@@ -164,6 +167,7 @@
...
@@ -164,6 +167,7 @@
<van-field
<van-field
class="inputBox"
class="inputBox"
border="{{false}}"
border="{{false}}"
data-hold-keyboard
readonly="{{true}}"
readonly="{{true}}"
value="{{item.compensation}}"
value="{{item.compensation}}"
data-attrType="otherInsuranceList"
data-attrType="otherInsuranceList"
...
@@ -173,6 +177,7 @@
...
@@ -173,6 +177,7 @@
<van-field
<van-field
class="inputBox"
class="inputBox"
border="{{false}}"
border="{{false}}"
data-hold-keyboard
readonly="{{true}}"
readonly="{{true}}"
value="{{item.payPrice}}"
value="{{item.payPrice}}"
data-attrType="otherInsuranceList"
data-attrType="otherInsuranceList"
...
@@ -199,6 +204,7 @@
...
@@ -199,6 +204,7 @@
<van-field
<van-field
class="inputBox"
class="inputBox"
border="{{false}}"
border="{{false}}"
data-hold-keyboard
disabled="{{disable}}"
disabled="{{disable}}"
placeholder="请输入"
placeholder="请输入"
value="{{orderInfo.mutualStrength.compensation}}"
value="{{orderInfo.mutualStrength.compensation}}"
...
@@ -232,6 +238,7 @@
...
@@ -232,6 +238,7 @@
<van-field
<van-field
class="inputBox"
class="inputBox"
border="{{false}}"
border="{{false}}"
data-hold-keyboard
disabled="{{disable}}"
disabled="{{disable}}"
placeholder="请输入保费"
placeholder="请输入保费"
data-type='number'
data-type='number'
...
@@ -265,9 +272,7 @@
...
@@ -265,9 +272,7 @@
<text>包含</text>
<text>包含</text>
<!-- {{orderInfo.quotationGoodsInfo.quotationGoodsServiceItemsRelationDTOList.length==index?'':'、'}} -->
<!-- {{orderInfo.quotationGoodsInfo.quotationGoodsServiceItemsRelationDTOList.length==index?'':'、'}} -->
<block wx:key="index" wx:for="{{orderInfo.quotationGoodsInfo.quotationGoodsServiceItemsRelationDTOList}}">
<block wx:key="index" wx:for="{{orderInfo.quotationGoodsInfo.quotationGoodsServiceItemsRelationDTOList}}">
<text>
<text>{{item.serviceName}}{{orderInfo.quotationGoodsInfo.quotationGoodsServiceItemsRelationDTOList.length==index?'':'、'}}</text>
{{item.serviceName}}{{orderInfo.quotationGoodsInfo.quotationGoodsServiceItemsRelationDTOList.length==index?'':'、'}}
</text>
</block>
</block>
</view>
</view>
</view>
</view>
...
@@ -277,6 +282,7 @@
...
@@ -277,6 +282,7 @@
<van-field
<van-field
class="inputBox"
class="inputBox"
border="{{false}}"
border="{{false}}"
data-hold-keyboard
value="{{orderInfo.modifyEquityQuotation.quotedPriceUpdate}}"
value="{{orderInfo.modifyEquityQuotation.quotedPriceUpdate}}"
data-attrType="modifyEquityQuotation"
data-attrType="modifyEquityQuotation"
data-attrName="quotedPriceUpdate"
data-attrName="quotedPriceUpdate"
...
@@ -297,6 +303,7 @@
...
@@ -297,6 +303,7 @@
<popup-select show="{{popupShow}}" popObj="{{popObj}}" typeName="{{popObj.typename}}" />
<popup-select show="{{popupShow}}" popObj="{{popObj}}" typeName="{{popObj.typename}}" />
<popup-input show="{{popupInputShow}}" popInputObj="{{popInputObj}}" />
<popup-input show="{{popupInputShow}}" popInputObj="{{popInputObj}}" />
</view>
</view>
<!-- </scroll-view> -->
<van-popup
<van-popup
show="{{ showYear }}"
show="{{ showYear }}"
position="bottom"
position="bottom"
...
@@ -307,6 +314,8 @@
...
@@ -307,6 +314,8 @@
default-index="{{ currentIndex }}"
default-index="{{ currentIndex }}"
bind:change="onChange"
bind:change="onChange"
show-toolbar
show-toolbar
adjust-position="{{false}}"
always-embed="{{true}}"
title="选择年份"
title="选择年份"
bind:cancel="onCancel"
bind:cancel="onCancel"
bind:confirm="onConfirm" />
bind:confirm="onConfirm" />
...
...
packageEquity/pages/carQuotation/components/constant/stepData.js
View file @
e948a71
...
@@ -67,6 +67,7 @@ const firstObj = {
...
@@ -67,6 +67,7 @@ const firstObj = {
label
:
'联系电话'
,
label
:
'联系电话'
,
name
:
'phone'
,
name
:
'phone'
,
type
:
'input'
,
type
:
'input'
,
fieldType
:
'number'
,
maxlength
:
'11'
maxlength
:
'11'
},
},
{
{
...
@@ -98,8 +99,9 @@ const firstObj = {
...
@@ -98,8 +99,9 @@ const firstObj = {
label
:
'车辆发票价'
,
label
:
'车辆发票价'
,
name
:
'price'
,
name
:
'price'
,
type
:
'input'
,
type
:
'input'
,
fieldType
:
'digit'
,
maxlength
:
'8'
maxlength
:
'8'
// fieldType: '
number
'
// fieldType: '
digit
'
}
}
]
]
}
}
...
...
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.js
View file @
e948a71
...
@@ -45,8 +45,8 @@ Page({
...
@@ -45,8 +45,8 @@ Page({
},
},
// 页面存放表单对象的对象名
// 页面存放表单对象的对象名
dataAttrName
:
'owner'
,
dataAttrName
:
'owner'
,
//
step: 'first',
step
:
'first'
,
step
:
'second'
,
//
step: 'second',
needChangeList
:
[
'price'
,
'base'
,
'threePremium'
,
'carInsidePremium'
,
'passengerPremium'
,
'payPrice'
]
needChangeList
:
[
'price'
,
'base'
,
'threePremium'
,
'carInsidePremium'
,
'passengerPremium'
,
'payPrice'
]
},
},
reWrite
(
type
,
data
)
{
reWrite
(
type
,
data
)
{
...
...
packageEquity/pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation.wxml
View file @
e948a71
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
</view> -->
</view> -->
</view>
</view>
</navigation-bar>
</navigation-bar>
<view class="layout" style="padding-top:{{navBarHeight}}px; height: calc(100vh - {{navBarHeight}}px);">
<!-- height: calc(100vh - {{navBarHeight}}px); -->
<view class="layout" style="padding-top:{{navBarHeight}}px; ">
<first-step
<first-step
wx:if="{{step == 'first'}}"
wx:if="{{step == 'first'}}"
id="FirstStep"
id="FirstStep"
...
...
packageEquity/pages/carQuotation/index/index.wxml
View file @
e948a71
...
@@ -78,7 +78,8 @@
...
@@ -78,7 +78,8 @@
</view>
</view>
<view class="header-status">
<view class="header-status">
<!-- 0待报价、1待确认、2待支付、3已支付、-1战败 -->
<!-- 0待报价、1待确认、2待支付、3已支付、-1战败 -->
<view wx:if="{{item.orderStatus == '3'}}">
<!-- == '3' -->
<view wx:if="{{ item.orderStatus == '3'||item.orderStatus =='4'}}">
<span class="green-txt">{{orderStatusObj[item.orderStatus]}}</span>
<span class="green-txt">{{orderStatusObj[item.orderStatus]}}</span>
<span class="header-price">¥ {{item.quotedPriceUpdate || ''}}</span>
<span class="header-price">¥ {{item.quotedPriceUpdate || ''}}</span>
</view>
</view>
...
@@ -101,13 +102,13 @@
...
@@ -101,13 +102,13 @@
<block>{{item[i.key] || ''}}</block>
<block>{{item[i.key] || ''}}</block>
</view>
</view>
</view>
</view>
<view class="order" wx:if="{{i.key == 'payTime' &&
item.orderStatus == '3'
}}">
<view class="order" wx:if="{{i.key == 'payTime' &&
( item.orderStatus == '3'||item.orderStatus =='4')
}}">
<view class="order-label">{{i.label}}</view>
<view class="order-label">{{i.label}}</view>
<view class="order-value">
<view class="order-value">
<block>{{item[i.key] || ''}}</block>
<block>{{item[i.key] || ''}}</block>
</view>
</view>
</view>
</view>
<view class="order" wx:if="{{i.key == 'createdTime' &&
item.orderStatus == '3'
}}">
<view class="order" wx:if="{{i.key == 'createdTime' &&
( item.orderStatus == '3'||item.orderStatus =='4')
}}">
<view class="order-label">{{i.label}}</view>
<view class="order-label">{{i.label}}</view>
<view class="order-value">
<view class="order-value">
<block>{{item[i.key] || ''}}</block>
<block>{{item[i.key] || ''}}</block>
...
@@ -122,7 +123,7 @@
...
@@ -122,7 +123,7 @@
</view>
</view>
</block>
</block>
</view>
</view>
<view class="order-detail" wx:if="{{item.orderStatus == '1' || item.orderStatus == '3'}}">
<view class="order-detail" wx:if="{{item.orderStatus == '1' || item.orderStatus == '3'
||item.orderStatus =='4'
}}">
<view class="detail-item">
<view class="detail-item">
<view class="detail-label">报价金额</view>
<view class="detail-label">报价金额</view>
<view class="text-hide">{{item.quotedPrice || '--'}}</view>
<view class="text-hide">{{item.quotedPrice || '--'}}</view>
...
@@ -140,7 +141,7 @@
...
@@ -140,7 +141,7 @@
<!-- footer -->
<!-- footer -->
<view class="item-footer">
<view class="item-footer">
<view>
<view>
<view wx:if="{{item.orderStatus == '3'}}" class="orange-txt">订单已支付,未录入权益合同</view>
<view wx:if="{{item.orderStatus == '3'
}}" class="orange-txt">订单已支付,未录入权益合同</view>
<view wx:else>创建时间:{{item.createdTime}}</view>
<view wx:else>创建时间:{{item.createdTime}}</view>
</view>
</view>
<view wx:if="{{item.orderStatus != '4'}}">
<view wx:if="{{item.orderStatus != '4'}}">
...
...
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