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 7fcfb44a
authored
Jul 05, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v4.23.1' into 'develop'
Dev v4.23.1 See merge request
!117
2 parents
4493c565
daf00558
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
6 deletions
components/Coupon/Coupon.js
components/Merchant-Seles/Merchant-Seles.js
config.js
tabDate/pages/index/index.js
tabOperating/pages/operatingShow/operatingShow.wxml
tabWorkOrder/pages/additionRecordOrder/additionRecordOrder.js
utils/util.js
components/Coupon/Coupon.js
View file @
7fcfb44
...
@@ -196,6 +196,7 @@ Component({
...
@@ -196,6 +196,7 @@ Component({
}
}
})
})
})
})
console
.
log
(
defaultItem
,
'defaultItem'
);
if
(
defaultItem
)
{
if
(
defaultItem
)
{
this
.
setData
({
this
.
setData
({
couponList
,
couponList
,
...
@@ -331,6 +332,7 @@ Component({
...
@@ -331,6 +332,7 @@ Component({
...
orderObj
,
...
orderObj
,
...
chooseItem
...
chooseItem
}
}
console
.
log
(
chooseItem
,
orderObj
,
'chooseItem'
);
thisPage
.
setData
({
thisPage
.
setData
({
orderObj
orderObj
})
})
...
...
components/Merchant-Seles/Merchant-Seles.js
View file @
7fcfb44
...
@@ -370,6 +370,7 @@ Component({
...
@@ -370,6 +370,7 @@ Component({
delete
orderObj
.
couponName
delete
orderObj
.
couponName
delete
orderObj
.
merchantCouponId
delete
orderObj
.
merchantCouponId
delete
orderObj
.
customerCouponId
delete
orderObj
.
customerCouponId
delete
orderObj
.
customerCouponCode
goodsList
=
[]
goodsList
=
[]
}
}
thisPage
.
setData
({
thisPage
.
setData
({
...
...
config.js
View file @
7fcfb44
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
* 3生产环境
* 3生产环境
* 4预发布
* 4预发布
*/
*/
let
index
=
2
let
index
=
3
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
...
...
tabDate/pages/index/index.js
View file @
7fcfb44
...
@@ -374,7 +374,7 @@ Page({
...
@@ -374,7 +374,7 @@ Page({
}
}
})
})
console
.
log
(
data
.
list
,
'list'
)
console
.
log
(
data
.
list
,
'list'
)
const
userType
=
!
userInfo
.
isSuper
&&
userInfo
.
merchantType
&&
userInfo
.
userType
==
1
const
userType
=
!
userInfo
?
.
isSuper
&&
userInfo
.
merchantType
&&
userInfo
.
userType
==
1
list
=
data
.
list
.
map
(
item
=>
{
list
=
data
.
list
.
map
(
item
=>
{
item
.
repeal
=
userType
&&
[
1
,
2
].
includes
(
item
.
inviteStatus
)
item
.
repeal
=
userType
&&
[
1
,
2
].
includes
(
item
.
inviteStatus
)
return
item
return
item
...
...
tabOperating/pages/operatingShow/operatingShow.wxml
View file @
7fcfb44
...
@@ -39,8 +39,8 @@
...
@@ -39,8 +39,8 @@
<view class="item dateNum">
<view class="item dateNum">
<block wx:if="{{ dateObj.type=='year' }}">{{dateObj.label}}年</block>
<block wx:if="{{ dateObj.type=='year' }}">{{dateObj.label}}年</block>
<block wx:else>
<block wx:else>
<!-- {{filter.dateFormatSlash(dateObj.beginDateStr)}}-{{filter.dateFormatSlash(dateObj.endDateStr)}} -->
{{filter.dateFormatSlash(dateObj.beginDateStr)}}-{{filter.dateFormatSlash(dateObj.endDateStr)}}
五月份
<!-- 五月份 -->
</block>
</block>
<!-- <block wx:elif="{{dateObj.type=='month'}}">{{dateObj.label}}</block> -->
<!-- <block wx:elif="{{dateObj.type=='month'}}">{{dateObj.label}}</block> -->
<!-- <block wx:elif="{{dateObj.type=='year'}}">{{dateObj.label}}</block> -->
<!-- <block wx:elif="{{dateObj.type=='year'}}">{{dateObj.label}}</block> -->
...
...
tabWorkOrder/pages/additionRecordOrder/additionRecordOrder.js
View file @
7fcfb44
...
@@ -311,7 +311,7 @@ Page({
...
@@ -311,7 +311,7 @@ Page({
this
.
checkPhoneUseConfig
()
this
.
checkPhoneUseConfig
()
let
{
save
}
=
i
.
currentTarget
.
dataset
let
{
save
}
=
i
.
currentTarget
.
dataset
// orderDisabled,
// orderDisabled,
let
{
goodsList
,
orderObj
,
scene
,
totalFee
,
total
,
outTradeNo
,
disabled
}
=
this
.
data
let
{
goodsList
,
orderObj
,
scene
,
totalFee
,
total
,
disabled
}
=
this
.
data
if
(
disabled
)
{
if
(
disabled
)
{
return
this
.
showToast
(
'提交中'
)
return
this
.
showToast
(
'提交中'
)
...
@@ -398,7 +398,11 @@ Page({
...
@@ -398,7 +398,11 @@ Page({
delete
orderObj
.
customer
.
createdDate
delete
orderObj
.
customer
.
createdDate
// 订单补录不需要提交这个参数
// 订单补录不需要提交这个参数
// delete orderObj.selectPayType
// delete orderObj.selectPayType
// 处理流水号没有带上的bug问题
if
(
!
orderObj
.
outTradeNo
)
{
let
{
outTradeNo
}
=
this
.
data
orderObj
.
outTradeNo
=
outTradeNo
orderObj
.
outTradeNo
=
outTradeNo
}
console
.
log
(
orderObj
)
console
.
log
(
orderObj
)
// return
// return
// return console.log(orderObj)
// return console.log(orderObj)
...
@@ -473,7 +477,10 @@ Page({
...
@@ -473,7 +477,10 @@ Page({
}
else
{
}
else
{
this
.
showToast
(
message
)
this
.
showToast
(
message
)
// console.log(subErrors);
// console.log(subErrors);
throw
subErrors
throw
{
subErrors
,
orderObj
}
}
}
})
})
.
finally
(()
=>
{
.
finally
(()
=>
{
...
@@ -821,6 +828,7 @@ Page({
...
@@ -821,6 +828,7 @@ Page({
}
else
{
}
else
{
this
.
setData
({
this
.
setData
({
outTradeNo
,
outTradeNo
,
[
'orderObj.outTradeNo'
]:
outTradeNo
,
totalFee
:
totalFee
,
totalFee
:
totalFee
,
accountDate
accountDate
})
})
...
...
utils/util.js
View file @
7fcfb44
...
@@ -95,6 +95,7 @@ const setUserInfo = userInfo => {
...
@@ -95,6 +95,7 @@ const setUserInfo = userInfo => {
// console.log(userInfo)
// console.log(userInfo)
// userInfo.loginrole
// userInfo.loginrole
const
loginRole
=
userInfo
.
loginRole
const
loginRole
=
userInfo
.
loginRole
userInfo
.
isSuper
=
userInfo
?.
isSuper
?
true
:
false
if
(
loginRole
&&
loginRole
==
3
)
{
if
(
loginRole
&&
loginRole
==
3
)
{
userInfo
.
userType
=
1
userInfo
.
userType
=
1
}
}
...
...
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