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 efc66b48
authored
Dec 23, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug修复
1 parent
e92ad90b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
10 deletions
config.js
tabWorkOrder/pages/createOrder/createOrder.js
tabWorkOrder/pages/defeatOrder/defeatOrder.js
tabWorkOrder/pages/defeatOrder/defeatOrder.wxml
config.js
View file @
efc66b4
...
@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
...
@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布
* 4预发布
* 5cdptest
* 5cdptest
*/
*/
let
index
=
1
;
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
;
...
...
tabWorkOrder/pages/createOrder/createOrder.js
View file @
efc66b4
...
@@ -26,6 +26,8 @@ Page({
...
@@ -26,6 +26,8 @@ Page({
skylight
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/skylight.png"
,
skylight
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/skylight.png"
,
tricorn
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/tricorn.png"
,
tricorn
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/tricorn.png"
,
windshield
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/windshield.png"
,
windshield
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/windshield.png"
,
sideIcorn
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/sideIcon.png"
,
afterIcorn
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/afterIcon.png"
,
scanIcon
:
scanIcon
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/ocr_icon.png"
,
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/ocr_icon.png"
,
selectIcon
:
selectIcon
:
...
...
tabWorkOrder/pages/defeatOrder/defeatOrder.js
View file @
efc66b4
...
@@ -19,6 +19,11 @@ Page({
...
@@ -19,6 +19,11 @@ Page({
IMG_URL
:
ImgUrl
,
IMG_URL
:
ImgUrl
,
scanIcon
:
scanIcon
:
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/ocr_icon.png'
,
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/ocr_icon.png'
,
skylight
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/skylight.png"
,
tricorn
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/tricorn.png"
,
windshield
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/windshield.png"
,
sideIcorn
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/sideIcon.png"
,
afterIcorn
:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/afterIcon.png"
,
name
:
'createdOrder'
,
name
:
'createdOrder'
,
shortcutList
:
[],
shortcutList
:
[],
phoneShow
:
false
,
phoneShow
:
false
,
...
@@ -119,7 +124,7 @@ Page({
...
@@ -119,7 +124,7 @@ Page({
customerSex
:
detail
.
customer
.
customerSex
,
customerSex
:
detail
.
customer
.
customerSex
,
customerPhone
:
detail
.
customer
.
customerPhone
,
customerPhone
:
detail
.
customer
.
customerPhone
,
customerCouponCode
:
detail
.
customerCoupon
?.
customerCouponCode
,
customerCouponCode
:
detail
.
customerCoupon
?.
customerCouponCode
,
customerCouponId
:
detail
.
customerCoupon
?.
customerCouponId
,
// 客户券id
customerCouponId
:
detail
?.
customerCouponId
,
// 客户券id
carBrandId
:
detail
.
customer
.
carBrandId
,
carBrandId
:
detail
.
customer
.
carBrandId
,
carBrand
:
detail
.
customer
.
carBrand
,
carBrand
:
detail
.
customer
.
carBrand
,
carChildsBrandId
:
detail
.
customer
.
carChildsBrandId
,
carChildsBrandId
:
detail
.
customer
.
carChildsBrandId
,
...
@@ -977,11 +982,11 @@ Page({
...
@@ -977,11 +982,11 @@ Page({
/**
/**
* 生命周期函数--监听页面初次渲染完成
* 生命周期函数--监听页面初次渲染完成
*/
*/
onReady
:
function
(
res
)
{},
onReady
:
function
(
res
)
{
},
/**
/**
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
*/
*/
onShow
:
function
(
res
)
{},
onShow
:
function
(
res
)
{
},
onRoute
(
res
)
{
onRoute
(
res
)
{
console
.
log
(
res
,
'onroute'
)
console
.
log
(
res
,
'onroute'
)
this
.
setData
({
isExpiredTraffic
:
res
?.
isExpiredTraffic
})
this
.
setData
({
isExpiredTraffic
:
res
?.
isExpiredTraffic
})
...
@@ -1008,25 +1013,25 @@ Page({
...
@@ -1008,25 +1013,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/defeatOrder/defeatOrder.wxml
View file @
efc66b4
This diff is collapsed.
Click to expand it.
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