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 c40cffda
authored
Aug 12, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug修复
1 parent
a08e4685
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
22 deletions
packageEquity/pages/TabBar/equityPage.js
pages/tabWorkOrder/pages/index/index.js
tabDate/pages/detail/detail.js
tabIndex/components/recordingOrderPopup/recordingOrderPopup.js
tabWorkOrder/pages/createOrder/createOrder.js
tabWorkOrder/pages/createOrder/createOrder.wxml
tabWorkOrder/pages/defeatOrder/defeatOrder.js
tabWorkOrder/pages/premiumUpgrade/premiumUpgrade.js
packageEquity/pages/TabBar/equityPage.js
View file @
c40cffd
pages/tabWorkOrder/pages/index/index.js
View file @
c40cffd
...
@@ -516,7 +516,7 @@ Page({
...
@@ -516,7 +516,7 @@ Page({
let
total
=
item
.
price
*
item
.
count
;
let
total
=
item
.
price
*
item
.
count
;
item
.
totalPrice
=
wx
.
$util
.
decimal
(
total
,
2
);
item
.
totalPrice
=
wx
.
$util
.
decimal
(
total
,
2
);
});
});
e
.
subOrderList
=
e
.
subOrderList
.
concat
(
e
.
packageGoodsList
)
e
.
subOrderList
=
e
.
subOrderList
.
concat
(
e
.
packageGoodsList
)
// e.subOrderList = e.subOrderList.filter(item => item.id)
// e.subOrderList = e.subOrderList.filter(item => item.id)
// 处理显示订单右上角文字
// 处理显示订单右上角文字
...
...
tabDate/pages/detail/detail.js
View file @
c40cffd
tabIndex/components/recordingOrderPopup/recordingOrderPopup.js
View file @
c40cffd
...
@@ -25,7 +25,8 @@ Component({
...
@@ -25,7 +25,8 @@ Component({
itemFormObj
:
[
itemFormObj
:
[
{
{
label
:
'交易参考号'
,
label
:
'交易参考号'
,
prop
:
'outTradeNo'
,
// prop: 'outTradeNo',
prop
:
'tradeNo'
,
type
:
'copy'
type
:
'copy'
},
{
},
{
label
:
'支付时间'
,
label
:
'支付时间'
,
...
@@ -141,8 +142,8 @@ Component({
...
@@ -141,8 +142,8 @@ Component({
thisPage.setData({
thisPage.setData({
showOrderpop: false
showOrderpop: false
})
})
let { accountDate, outTradeNo, totalFee, filmOrder } = arr[0]
let { accountDate, outTradeNo, totalFee, filmOrder
,tradeNo
} = arr[0]
arr?.length && this.triggerEvent('success', { accountDate, outTradeNo, totalFee, filmOrder })
arr?.length && this.triggerEvent('success', { accountDate, outTradeNo, totalFee,
tradeNo,
filmOrder })
},
},
cancel() {
cancel() {
let thisPage = wx.$router.getPageInstance()
let thisPage = wx.$router.getPageInstance()
...
...
tabWorkOrder/pages/createOrder/createOrder.js
View file @
c40cffd
...
@@ -133,8 +133,8 @@ Page({
...
@@ -133,8 +133,8 @@ Page({
this
.
setData
({
this
.
setData
({
[
"orderObj.employeeName"
]:
""
,
[
"orderObj.employeeName"
]:
""
,
[
"orderObj.userId"
]:
""
,
[
"orderObj.userId"
]:
""
,
[
"orderObj.merchantId"
]:
""
,
//
["orderObj.merchantId"]: "",
[
"orderObj.merchantName"
]:
""
,
//
["orderObj.merchantName"]: "",
});
});
// wx.$router.go("tabWorkOrder.additionRecordOrder", {
// wx.$router.go("tabWorkOrder.additionRecordOrder", {
// wx.$router.go("tabWorkOrder.createOrder",);
// wx.$router.go("tabWorkOrder.createOrder",);
...
@@ -1267,7 +1267,7 @@ Page({
...
@@ -1267,7 +1267,7 @@ Page({
// console.log()
// console.log()
// 是订单补录跳转进来的
// 是订单补录跳转进来的
if
(
res
?.
orderCreateType
==
"additionRecordOrder"
)
{
if
(
res
?.
orderCreateType
==
"additionRecordOrder"
)
{
let
{
outTradeNo
,
totalFee
,
accountDate
,
supplementId
}
=
res
;
let
{
outTradeNo
,
totalFee
,
accountDate
,
supplementId
,
tradeNo
}
=
res
;
// console.log(options);
// console.log(options);
// 如果是扫码进来的
// 如果是扫码进来的
if
(
supplementId
)
{
if
(
supplementId
)
{
...
@@ -1275,6 +1275,7 @@ Page({
...
@@ -1275,6 +1275,7 @@ Page({
}
else
{
}
else
{
this
.
setData
({
this
.
setData
({
outTradeNo
,
outTradeNo
,
tradeNo
,
[
"orderObj.outTradeNo"
]:
outTradeNo
,
[
"orderObj.outTradeNo"
]:
outTradeNo
,
totalFee
:
totalFee
,
totalFee
:
totalFee
,
accountDate
,
accountDate
,
...
...
tabWorkOrder/pages/createOrder/createOrder.wxml
View file @
c40cffd
...
@@ -303,7 +303,7 @@
...
@@ -303,7 +303,7 @@
</view>
</view>
</gl-cell>
</gl-cell>
<!-- 错误订单补录 -->
<!-- 错误订单补录 -->
<gl-cell border label="支付方式" valueAlign="right" labelStyle="margin-top:-40px" wx:if="{{ isErrorOrder
|| orderCreateType == 'additionRecordOrder'
}}" cellHeight="{{ false }}" labelWidth="var(--fontSize152)">
<gl-cell border label="支付方式" valueAlign="right" labelStyle="margin-top:-40px" wx:if="{{ isErrorOrder }}" cellHeight="{{ false }}" labelWidth="var(--fontSize152)">
<view class="payType-box">
<view class="payType-box">
<block wx:for="{{ payTypeList }}" wx:key="index">
<block wx:for="{{ payTypeList }}" wx:key="index">
<!-- bindtap="changePayType" -->
<!-- bindtap="changePayType" -->
...
@@ -336,7 +336,7 @@
...
@@ -336,7 +336,7 @@
<view class="tipsadd" wx:if="{{showTips}}">
<view class="tipsadd" wx:if="{{showTips}}">
<image class=" tipsIcon" src="../../../images/tips.png" />
<image class=" tipsIcon" src="../../../images/tips.png" />
<view class="contentText">
<view class="contentText">
<view>交易参考号:{{
outT
radeNo}}</view>
<view>交易参考号:{{
t
radeNo}}</view>
<view>支付时间:{{accountDate}}</view>
<view>支付时间:{{accountDate}}</view>
<view>支付金额:{{totalFee/100}}</view>
<view>支付金额:{{totalFee/100}}</view>
</view>
</view>
...
...
tabWorkOrder/pages/defeatOrder/defeatOrder.js
View file @
c40cffd
...
@@ -903,11 +903,11 @@ Page({
...
@@ -903,11 +903,11 @@ Page({
/**
/**
* 生命周期函数--监听页面初次渲染完成
* 生命周期函数--监听页面初次渲染完成
*/
*/
onReady
:
function
(
res
)
{},
onReady
:
function
(
res
)
{
},
/**
/**
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
*/
*/
onShow
:
function
(
res
)
{},
onShow
:
function
(
res
)
{
},
onRoute
(
res
)
{
onRoute
(
res
)
{
if
(
res
.
scene
)
{
if
(
res
.
scene
)
{
let
{
isAlreadyExistOrder
}
=
this
.
data
;
let
{
isAlreadyExistOrder
}
=
this
.
data
;
...
@@ -936,25 +936,25 @@ Page({
...
@@ -936,25 +936,25 @@ Page({
/**
/**
* 生命周期函数--监听页面隐藏
* 生命周期函数--监听页面隐藏
*/
*/
onHide
:
function
()
{},
onHide
:
function
()
{
},
onUnload
:
()
=>
{},
onUnload
:
()
=>
{
},
/**
/**
* 生命周期函数--监听页面卸载
* 生命周期函数--监听页面卸载
*/
*/
onUnload
:
function
()
{},
onUnload
:
function
()
{
},
/**
/**
* 页面相关事件处理函数--监听用户下拉动作
* 页面相关事件处理函数--监听用户下拉动作
*/
*/
onPullDownRefresh
:
function
()
{},
onPullDownRefresh
:
function
()
{
},
/**
/**
* 页面上拉触底事件的处理函数
* 页面上拉触底事件的处理函数
*/
*/
onReachBottom
:
function
()
{},
onReachBottom
:
function
()
{
},
/**
/**
* 用户点击右上角分享
* 用户点击右上角分享
*/
*/
onShareAppMessage
:
function
()
{},
onShareAppMessage
:
function
()
{
},
});
});
tabWorkOrder/pages/premiumUpgrade/premiumUpgrade.js
View file @
c40cffd
...
@@ -994,24 +994,24 @@ Page({
...
@@ -994,24 +994,24 @@ Page({
/**
/**
* 生命周期函数--监听页面隐藏
* 生命周期函数--监听页面隐藏
*/
*/
onHide
:
function
()
{},
onHide
:
function
()
{
},
/**
/**
* 生命周期函数--监听页面卸载
* 生命周期函数--监听页面卸载
*/
*/
onUnload
:
function
()
{},
onUnload
:
function
()
{
},
/**
/**
* 页面相关事件处理函数--监听用户下拉动作
* 页面相关事件处理函数--监听用户下拉动作
*/
*/
onPullDownRefresh
:
function
()
{},
onPullDownRefresh
:
function
()
{
},
/**
/**
* 页面上拉触底事件的处理函数
* 页面上拉触底事件的处理函数
*/
*/
onReachBottom
:
function
()
{},
onReachBottom
:
function
()
{
},
/**
/**
* 用户点击右上角分享
* 用户点击右上角分享
*/
*/
onShareAppMessage
:
function
()
{},
onShareAppMessage
:
function
()
{
},
});
});
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