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 bdf400b3
authored
Oct 08, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'fix_dev_v4.29.0' into 'develop'
Fix dev v4.29.0 See merge request
!175
2 parents
61c219c2
a310791f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
13 deletions
components/Goods/Goods.js
config.js
pages/loading/loading.js
tabWorkOrder/pages/createOrder/createOrder.wxml
components/Goods/Goods.js
View file @
bdf400b
...
@@ -172,7 +172,7 @@ Component({
...
@@ -172,7 +172,7 @@ Component({
if
(
!
chooseList
.
length
)
return
wx
.
$util
.
showToast
(
'请勾选商品'
)
if
(
!
chooseList
.
length
)
return
wx
.
$util
.
showToast
(
'请勾选商品'
)
let
thisPage
=
wx
.
$router
.
getPageInstance
()
let
thisPage
=
wx
.
$router
.
getPageInstance
()
thisPage
.
setGoodsTotal
&&
thisPage
.
setGoodsTotal
(
chooseList
)
//
thisPage.setGoodsTotal&&thisPage.setGoodsTotal(chooseList)
// console.log(chooseList)
// console.log(chooseList)
thisPage
.
setData
({
thisPage
.
setData
({
goodsList
:
chooseList
goodsList
:
chooseList
...
...
config.js
View file @
bdf400b
...
@@ -18,13 +18,13 @@ export const appId = 'wx570d9331f9ace0bd'
...
@@ -18,13 +18,13 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布
* 4预发布
* 5cdptest
* 5cdptest
*/
*/
let
index
=
4
let
index
=
2
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
envName
=
accountInfo
.
miniProgram
.
envVersion
const
envName
=
accountInfo
.
miniProgram
.
envVersion
//手动控制体验版环境的请求 true就依据下面index false就默认2
//手动控制体验版环境的请求 true就依据下面index false就默认2
const
manual
=
tru
e
const
manual
=
fals
e
const
release
=
false
const
release
=
false
// 判断小程序环境
// 判断小程序环境
...
...
pages/loading/loading.js
View file @
bdf400b
...
@@ -12,12 +12,12 @@ Page({
...
@@ -12,12 +12,12 @@ Page({
/**
/**
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
(
options
)
{
},
onLoad
(
options
)
{},
/**
/**
* 生命周期函数--监听页面初次渲染完成
* 生命周期函数--监听页面初次渲染完成
*/
*/
onReady
()
{
},
onReady
()
{},
/**
/**
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
...
@@ -29,35 +29,37 @@ Page({
...
@@ -29,35 +29,37 @@ Page({
/**
/**
* 生命周期函数--监听页面隐藏
* 生命周期函数--监听页面隐藏
*/
*/
onHide
()
{
},
onHide
()
{},
/**
/**
* 生命周期函数--监听页面卸载
* 生命周期函数--监听页面卸载
*/
*/
onUnload
()
{
},
onUnload
()
{},
/**
/**
* 页面相关事件处理函数--监听用户下拉动作
* 页面相关事件处理函数--监听用户下拉动作
*/
*/
onPullDownRefresh
()
{
},
onPullDownRefresh
()
{},
/**
/**
* 页面上拉触底事件的处理函数
* 页面上拉触底事件的处理函数
*/
*/
onReachBottom
()
{
},
onReachBottom
()
{},
init
()
{
init
()
{
let
userInfo
=
wx
.
$util
.
getUserInfo
()
let
userInfo
=
wx
.
$util
.
getUserInfo
()
wx
.
nextTick
(()
=>
{
wx
.
nextTick
(()
=>
{
// 没有登录信息 退出登录
// 没有登录信息 退出登录
if
(
!
userInfo
||
!
Object
.
keys
(
userInfo
).
length
)
{
if
(
!
userInfo
||
!
Object
.
keys
(
userInfo
).
length
)
{
return
app
.
login
(
false
,
'请重新登录'
)
return
app
.
login
(
false
,
'请重新登录'
)
}
}
// 未选择4s店 非超管
// 未选择4s店 非超管
if
((
userInfo
?.
shopMerchantId
??
''
)
===
''
&&
!
userInfo
?.
isSuper
)
return
wx
.
$router
.
reLaunch
(
'pages.accountItems'
)
if
((
userInfo
?.
shopMerchantId
??
''
)
===
''
&&
!
userInfo
?.
isSuper
)
return
wx
.
$router
.
reLaunch
(
'pages.accountItems'
)
// 未选择场景
// 未选择场景
if
((
userInfo
?.
sceneType
??
''
)
===
''
)
return
wx
.
$router
.
reLaunch
(
'pages.sceneIndex'
)
if
((
userInfo
?.
sceneType
??
''
)
===
''
)
return
wx
.
$router
.
reLaunch
(
'pages.sceneIndex'
)
if
(
!
((
userInfo
?.
sceneType
??
''
)
===
''
))
return
wx
.
$router
.
reLaunch
(
constantData
?.
pageUrl
[
userInfo
?.
sceneType
],
{
resetStoreList
:
true
})
if
(
!
((
userInfo
?.
sceneType
??
''
)
===
''
))
return
wx
.
$router
.
reLaunch
(
constantData
?.
pageUrl
[
userInfo
?.
sceneType
],
{
resetStoreList
:
true
})
// 登录了更新用户权限
app
.
gobalCheckYqdSuper
(
userInfo
)
})
})
}
}
})
})
tabWorkOrder/pages/createOrder/createOrder.wxml
View file @
bdf400b
...
@@ -189,7 +189,7 @@
...
@@ -189,7 +189,7 @@
placeholder="30字以内"
placeholder="30字以内"
value="{{ orderObj.remark }}"
value="{{ orderObj.remark }}"
/>
/>
<
!-- <
view class="sellerUserId">
<view class="sellerUserId">
<gl-cell
<gl-cell
border
border
valueAlign="right"
valueAlign="right"
...
@@ -212,7 +212,7 @@
...
@@ -212,7 +212,7 @@
</view>
</view>
</block>
</block>
</gl-cell>
</gl-cell>
</view>
-->
</view>
</view>
</view>
<view class="box">
<view class="box">
<block wx:if="{{ orderObj.merchantId }}">
<block wx:if="{{ orderObj.merchantId }}">
...
...
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