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 40175391
authored
Apr 11, 2023
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
冒烟修改
1 parent
7c72e5f1
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
21 additions
and
11 deletions
config.js
packageCrowdFunding/components/PickerSelect/PickerSelect.js
packageCrowdFunding/pages/activityList/activityList.js
packageCrowdFunding/pages/additionRecordOrder/constant/data.js
packageCrowdFunding/pages/balanceNote/balanceNote.js
packageCrowdFunding/pages/newOrder/newOrder.js
packageEquity/pages/carEquity/components/EquityList/EquityList.js
tabDate/pages/detail/detail.js
tabDate/pages/detail/detail.wxml
tabDate/pages/index/index.js
tabDate/pages/index/index.wxml
config.js
View file @
4017539
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
* 2测试
* 2测试
* 3生产环境
* 3生产环境
*/
*/
let
index
=
1
let
index
=
2
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
...
...
packageCrowdFunding/components/PickerSelect/PickerSelect.js
View file @
4017539
...
@@ -67,7 +67,7 @@ Component({
...
@@ -67,7 +67,7 @@ Component({
if
(
pickerObj
.
flag
)
{
// 商品带出金额
if
(
pickerObj
.
flag
)
{
// 商品带出金额
orderInfo
[
'activityPrice'
]
=
`¥
${
this
.
priceFilter
(
arr
[
0
]?.
activityPrice
/
100
||
0
)}
`
orderInfo
[
'activityPrice'
]
=
`¥
${
this
.
priceFilter
(
arr
[
0
]?.
activityPrice
/
100
||
0
)}
`
// 尾款金额 = 众筹价 - 定金金额
// 尾款金额 = 众筹价 - 定金金额
orderInfo['
balancePrice
'] = `
¥
$
{
this
.
priceFilter
((
arr
[
0
]?.
crowdFundingPrice
-
arr
[
0
]?.
activityPrice
)
/
100
||
0
)}
`
orderInfo['
tailPayment
'] = `
¥
$
{
this
.
priceFilter
((
arr
[
0
]?.
crowdFundingPrice
-
arr
[
0
]?.
activityPrice
)
/
100
||
0
)}
`
orderInfo['crowdFundingPrice'] = `
¥
$
{
this
.
priceFilter
(
arr
[
0
]?.
crowdFundingPrice
/
100
||
0
)}
`
orderInfo['crowdFundingPrice'] = `
¥
$
{
this
.
priceFilter
(
arr
[
0
]?.
crowdFundingPrice
/
100
||
0
)}
`
// 筛选交易流水号 订单金额字段
// 筛选交易流水号 订单金额字段
orderInfo['totalFee'] = arr[0]?.crowdFundingPrice || 0
orderInfo['totalFee'] = arr[0]?.crowdFundingPrice || 0
...
...
packageCrowdFunding/pages/activityList/activityList.js
View file @
4017539
...
@@ -25,7 +25,7 @@ Page({
...
@@ -25,7 +25,7 @@ Page({
},
},
onRoute
(
options
)
{
onRoute
(
options
)
{
if
(
!
Object
.
keys
(
options
).
length
)
return
if
(
!
options
.
activityId
)
return
let
activityId
=
options
.
activityId
let
activityId
=
options
.
activityId
let
activityName
=
options
.
activityName
let
activityName
=
options
.
activityName
this
.
setData
({
this
.
setData
({
...
...
packageCrowdFunding/pages/additionRecordOrder/constant/data.js
View file @
4017539
...
@@ -33,7 +33,7 @@ const orderObj = {
...
@@ -33,7 +33,7 @@ const orderObj = {
},
},
{
{
label
:
'尾款金额'
,
label
:
'尾款金额'
,
name
:
'
balancePrice
'
,
name
:
'
tailPayment
'
,
type
:
'input'
,
type
:
'input'
,
readonly
:
true
,
readonly
:
true
,
noBorder
:
true
noBorder
:
true
...
...
packageCrowdFunding/pages/balanceNote/balanceNote.js
View file @
4017539
...
@@ -55,7 +55,7 @@ Page({
...
@@ -55,7 +55,7 @@ Page({
return
(
Math
.
round
(
num
/
100
*
pow
)
/
pow
).
toFixed
(
2
)
return
(
Math
.
round
(
num
/
100
*
pow
)
/
pow
).
toFixed
(
2
)
},
},
initOrderInfo
()
{
initOrderInfo
()
{
const
{
orderObj
,
orderList
}
=
this
.
data
const
{
orderObj
,
orderList
,
orderInfo
}
=
this
.
data
// 商品
// 商品
if
(
app
.
globalData
?.
crowdFundingShopInfo
&&
orderObj
?.
shopFormList
)
{
if
(
app
.
globalData
?.
crowdFundingShopInfo
&&
orderObj
?.
shopFormList
)
{
if
(
app
.
globalData
?.
crowdFundingShopInfo
?.
length
>
1
)
{
if
(
app
.
globalData
?.
crowdFundingShopInfo
?.
length
>
1
)
{
...
@@ -68,7 +68,7 @@ Page({
...
@@ -68,7 +68,7 @@ Page({
}
else
{
}
else
{
// 单商品直接带出商品名称
// 单商品直接带出商品名称
orderList
[
2
].
isMark
=
false
orderList
[
2
].
isMark
=
false
orderInfo
[
'totalFee'
]
=
arr
[
0
]?.
crowdFundingPrice
||
0
orderInfo
[
'totalFee'
]
=
arr
[
0
]?.
tailPayment
||
0
}
}
}
}
this
.
setData
({
orderObj
,
orderList
})
this
.
setData
({
orderObj
,
orderList
})
...
@@ -144,7 +144,7 @@ Page({
...
@@ -144,7 +144,7 @@ Page({
onRoute
(
options
)
{
onRoute
(
options
)
{
const
{
list
}
=
options
const
{
list
}
=
options
list
.
activityPrice
=
`¥
${
this
.
priceFilter
(
list
.
activityPrice
||
0
)}
`
list
.
activityPrice
=
`¥
${
this
.
priceFilter
(
list
.
activityPrice
||
0
)}
`
list
.
totalFee
=
list
.
crowdFundingPrice
||
0
list
.
totalFee
=
list
.
tailPayment
||
0
this
.
setData
({
this
.
setData
({
orderInfo
:
list
orderInfo
:
list
})
})
...
...
packageCrowdFunding/pages/newOrder/newOrder.js
View file @
4017539
...
@@ -79,7 +79,7 @@ Page({
...
@@ -79,7 +79,7 @@ Page({
const
orderObj
=
wx
.
$util
.
deepClone
(
orderInfo
)
const
orderObj
=
wx
.
$util
.
deepClone
(
orderInfo
)
delete
orderObj
.
activityPrice
delete
orderObj
.
activityPrice
delete
orderObj
.
crowdFundingPrice
delete
orderObj
.
crowdFundingPrice
delete
orderObj
.
balancePrice
delete
orderObj
.
tailPayment
let
params
=
{
let
params
=
{
...
orderObj
,
...
orderObj
,
selectPayType
,
selectPayType
,
...
...
packageEquity/pages/carEquity/components/EquityList/EquityList.js
View file @
4017539
...
@@ -221,6 +221,10 @@ Component({
...
@@ -221,6 +221,10 @@ Component({
// 复制链接
// 复制链接
copyContractUrl
(
e
)
{
copyContractUrl
(
e
)
{
if
(
!
e
)
{
wx
.
$util
.
showToast
(
'没有合同'
)
return
}
wx
.
showModal
({
wx
.
showModal
({
title
:
'温馨提示'
,
title
:
'温馨提示'
,
content
:
'如需下载PDF报告单,请复制下载地址后到手机浏览器中打开。下载地址5分钟内有效'
,
content
:
'如需下载PDF报告单,请复制下载地址后到手机浏览器中打开。下载地址5分钟内有效'
,
...
...
tabDate/pages/detail/detail.js
View file @
4017539
...
@@ -37,7 +37,8 @@ Page({
...
@@ -37,7 +37,8 @@ Page({
},
},
{
{
label
:
'礼券名称'
,
label
:
'礼券名称'
,
key
:
'couponName'
key
:
'couponName'
,
e_key
:
'employeeName'
},
},
{
{
label
:
'领券时间'
,
label
:
'领券时间'
,
...
...
tabDate/pages/detail/detail.wxml
View file @
4017539
...
@@ -20,6 +20,10 @@
...
@@ -20,6 +20,10 @@
<!-- </view> -->
<!-- </view> -->
</block>
</block>
</block>
</block>
<block wx:elif="{{item.key == 'couponName'}}">
<text>{{item.enum? item.enum[detail[item.key]] : detail[item.key] || ''}}</text>
<text>({{item.enum? item.enum[detail[item.e_key]] : detail[item.e_key] || ''}})</text>
</block>
<block wx:else>
<block wx:else>
{{item.enum? item.enum[detail[item.key]] : detail[item.key] || ''}}
{{item.enum? item.enum[detail[item.key]] : detail[item.key] || ''}}
</block>
</block>
...
...
tabDate/pages/index/index.js
View file @
4017539
...
@@ -17,7 +17,8 @@ Page({
...
@@ -17,7 +17,8 @@ Page({
{
{
label
:
'礼券名称'
,
label
:
'礼券名称'
,
c_key
:
'couponName'
,
c_key
:
'couponName'
,
key
:
'customerCoupon'
key
:
'customerCoupon'
,
e_key
:
'employeeName'
},
},
{
{
label
:
'领券时间'
,
label
:
'领券时间'
,
...
...
tabDate/pages/index/index.wxml
View file @
4017539
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
</block>
</block>
</block>
</block>
</block>
</block>
<block wx:else>
{{li[i.key][i.c_key]|| ''}}
</block>
<block wx:else>
<text>{{li[i.key][i.c_key]|| ''}}</text><text wx:if="{{li[i.key][i.e_key]}}">({{li[i.key][i.e_key]}})</text>
</block>
</view>
</view>
</view>
</view>
</block>
</block>
...
...
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