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 6b049f3c
authored
Aug 07, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 版本功能开发
1 parent
f771fd8e
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
31 additions
and
39 deletions
components/orderSwitchPopup/orderSwitchPopup.wxml
packageEquity/pages/TabBar/equityPage.js
packageEquity/pages/TabBar/equityPage.wxml
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.wxml
tabDate/pages/detail/detail.js
tabDate/pages/detail/detail.wxml
tabIndex/components/recordingOrderPopup/recordingOrderPopup.js
tabIndex/pages/index/index.js
tabIndex/pages/index/index.wxml
tabWorkOrder/pages/additionRecordOrder/additionRecordOrder.wxml
components/orderSwitchPopup/orderSwitchPopup.wxml
View file @
6b049f3
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</view>
</view>
<view class="wx-popup-con">
<view class="wx-popup-con">
<view class="label">
<view class="label">
<view class="num">
支付订单
号</view>
<view class="num">
交易参考
号</view>
<view class="time">支付时间</view>
<view class="time">支付时间</view>
<view class="payNum">支付金额</view>
<view class="payNum">支付金额</view>
</view>
</view>
...
...
packageEquity/pages/TabBar/equityPage.js
View file @
6b049f3
...
@@ -191,7 +191,7 @@ Page({
...
@@ -191,7 +191,7 @@ Page({
});
});
},
},
async
checkDailyRecport
()
{
async
checkDailyRecport
()
{
let
{
tabIndex
}
=
this
.
data
;
let
{
tabIndex
,
userInfo
}
=
this
.
data
;
const
isStaff
=
app
.
globalData
.
isStaff
;
const
isStaff
=
app
.
globalData
.
isStaff
;
let
eventRequest
=
[];
let
eventRequest
=
[];
isStaff
&&
isStaff
&&
...
...
packageEquity/pages/TabBar/equityPage.wxml
View file @
6b049f3
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
wx:if="{{ showOrderpop }}"
wx:if="{{ showOrderpop }}"
flag="{{ showOrderpop }}"
flag="{{ showOrderpop }}"
/> -->
/> -->
<order-no-popup wx:if="{{ tipsProps }}" show="{{ tipsProps }}" title="请选择
支付订单
号" bind:success="navigator" orderNoList="{{ orderNoList }}" />
<order-no-popup wx:if="{{ tipsProps }}" show="{{ tipsProps }}" title="请选择
交易参考
号" bind:success="navigator" orderNoList="{{ orderNoList }}" />
<page-container show="{{ show_order_confirm || show_reception_confirm }}" duration="{{ 0 }}" overlay="{{ false }}" bind:afterleave="containerBack">
<page-container show="{{ show_order_confirm || show_reception_confirm }}" duration="{{ 0 }}" overlay="{{ false }}" bind:afterleave="containerBack">
<view wx:if="{{ showReceptionRendering }}">
<view wx:if="{{ showReceptionRendering }}">
<reception-screen show="{{ show_reception_confirm }}" userInfo="{{ userInfo }}" dateTime="{{dateTime}}" isFilterUpgrade="{{isFilterUpgrade}}" isFilterDefeat="{{isFilterDefeat}}" maxDayRange="{{7}}" maxDayRangeType="day" navBarHeight="{{ navBarHeight }}" bindconfirm="searchScreen" />
<reception-screen show="{{ show_reception_confirm }}" userInfo="{{ userInfo }}" dateTime="{{dateTime}}" isFilterUpgrade="{{isFilterUpgrade}}" isFilterDefeat="{{isFilterDefeat}}" maxDayRange="{{7}}" maxDayRangeType="day" navBarHeight="{{ navBarHeight }}" bindconfirm="searchScreen" />
...
...
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.wxml
View file @
6b049f3
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<view class="tips">
<view class="tips">
<image class=" tipsIcon" src="../../../images/tips.png" />
<image class=" tipsIcon" src="../../../images/tips.png" />
<view class="contentText">
<view class="contentText">
<view>
支付订单
号:{{outTradeNo}}</view>
<view>
交易参考
号:{{outTradeNo}}</view>
<view>支付时间:{{accountDate}}</view>
<view>支付时间:{{accountDate}}</view>
</view>
</view>
<image class="closeIcon" bindtap="closeTips" src="../../../images/closeIcon.png" />
<image class="closeIcon" bindtap="closeTips" src="../../../images/closeIcon.png" />
...
...
tabDate/pages/detail/detail.js
View file @
6b049f3
...
@@ -75,7 +75,7 @@ Page({
...
@@ -75,7 +75,7 @@ Page({
}
}
],
],
remark
:
''
,
remark
:
''
,
isOrder
:
true
isOrder
:
true
},
},
showPopup
(
e
)
{
showPopup
(
e
)
{
let
_this
=
this
let
_this
=
this
...
@@ -133,7 +133,7 @@ Page({
...
@@ -133,7 +133,7 @@ Page({
}
}
let
userInfo
=
wx
.
$util
.
getUserInfo
();
let
userInfo
=
wx
.
$util
.
getUserInfo
();
this
.
setData
({
this
.
setData
({
isOrder
:
!
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
)
isOrder
:
!
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
)
})
})
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
?.
yqPhoneConfig
)
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
?.
yqPhoneConfig
)
},
},
...
@@ -214,7 +214,8 @@ Page({
...
@@ -214,7 +214,8 @@ Page({
...
detail
.
customer
,
...
detail
.
customer
,
...
detail
,
...
detail
,
employeeName
:
detail
?.
customerCoupon
.
employeeName
,
//解决详情的userId 不是对应的销售方的useid
employeeName
:
detail
?.
customerCoupon
.
employeeName
,
//解决详情的userId 不是对应的销售方的useid
userId
:
detail
?.
customerCoupon
.
userId
userId
:
detail
?.
customerCoupon
.
userId
,
customerName
:
`
${
detail
.
customer
.
customerName
}
-
${
detail
.
customer
.
merchantName
}
`
}
}
if
(
detail
.
remarks
&&
detail
.
remarks
.
length
>
0
)
{
if
(
detail
.
remarks
&&
detail
.
remarks
.
length
>
0
)
{
detail
.
remarks
.
map
(
e
=>
{
detail
.
remarks
.
map
(
e
=>
{
...
@@ -362,7 +363,7 @@ Page({
...
@@ -362,7 +363,7 @@ Page({
/**
/**
* 生命周期函数--监听页面初次渲染完成
* 生命周期函数--监听页面初次渲染完成
*/
*/
onReady
:
function
()
{},
onReady
:
function
()
{
},
/**
/**
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
...
@@ -379,25 +380,25 @@ Page({
...
@@ -379,25 +380,25 @@ Page({
/**
/**
* 生命周期函数--监听页面隐藏
* 生命周期函数--监听页面隐藏
*/
*/
onHide
:
function
()
{},
onHide
:
function
()
{
},
/**
/**
* 生命周期函数--监听页面卸载
* 生命周期函数--监听页面卸载
*/
*/
onUnload
:
function
()
{},
onUnload
:
function
()
{
},
/**
/**
* 页面相关事件处理函数--监听用户下拉动作
* 页面相关事件处理函数--监听用户下拉动作
*/
*/
onPullDownRefresh
:
function
()
{},
onPullDownRefresh
:
function
()
{
},
/**
/**
* 页面上拉触底事件的处理函数
* 页面上拉触底事件的处理函数
*/
*/
onReachBottom
:
function
()
{},
onReachBottom
:
function
()
{
},
/**
/**
* 用户点击右上角分享
* 用户点击右上角分享
*/
*/
onShareAppMessage
:
function
()
{}
onShareAppMessage
:
function
()
{
}
})
})
\ No newline at end of file
\ No newline at end of file
tabDate/pages/detail/detail.wxml
View file @
6b049f3
...
@@ -18,10 +18,7 @@
...
@@ -18,10 +18,7 @@
</block>
</block>
</block>
</block>
<block wx:elif="{{item.key == 'couponName'}}">
<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.key]] : detail[item.key] || ''}}</text><text>({{item.enum? item.enum[detail[item.e_key]] : detail[item.e_key] || ''}})</text>
<text>
({{item.enum? item.enum[detail[item.e_key]] : detail[item.e_key] || ''}})
</text>
</block>
</block>
<view wx:elif="{{item.key == 'userPortrait'}}" class="portrait">
<view wx:elif="{{item.key == 'userPortrait'}}" class="portrait">
<view wx:for="{{detail[item.key]}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx" class="portrait-item">
<view wx:for="{{detail[item.key]}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx" class="portrait-item">
...
...
tabIndex/components/recordingOrderPopup/recordingOrderPopup.js
View file @
6b049f3
...
@@ -24,7 +24,7 @@ Component({
...
@@ -24,7 +24,7 @@ Component({
IMG_URL
,
IMG_URL
,
itemFormObj
:
[
itemFormObj
:
[
{
{
label
:
'
支付订单
号'
,
label
:
'
交易参考
号'
,
prop
:
'outTradeNo'
,
prop
:
'outTradeNo'
,
type
:
'copy'
type
:
'copy'
},
{
},
{
...
...
tabIndex/pages/index/index.js
View file @
6b049f3
...
@@ -339,7 +339,7 @@ Page({
...
@@ -339,7 +339,7 @@ Page({
merchantRange
,
merchantRange
,
});
});
})
})
.
catch
((
err
)
=>
{});
.
catch
((
err
)
=>
{
});
},
},
changePicker
(
e
,
value
)
{
changePicker
(
e
,
value
)
{
let
{
let
{
...
@@ -638,7 +638,7 @@ Page({
...
@@ -638,7 +638,7 @@ Page({
});
});
}
}
})
})
.
catch
((
err
)
=>
{
});
.
catch
((
err
)
=>
{
});
},
},
getMerchantCouponList
()
{
getMerchantCouponList
()
{
...
@@ -776,7 +776,7 @@ Page({
...
@@ -776,7 +776,7 @@ Page({
});
});
}
}
})
})
.
catch
((
err
)
=>
{});
.
catch
((
err
)
=>
{
});
},
},
getUserStat
(
userInfo
)
{
getUserStat
(
userInfo
)
{
api
api
...
@@ -806,7 +806,7 @@ Page({
...
@@ -806,7 +806,7 @@ Page({
});
});
}
}
})
})
.
catch
((
err
)
=>
{});
.
catch
((
err
)
=>
{
});
},
},
totalListSet
()
{
totalListSet
()
{
let
{
let
{
...
@@ -922,7 +922,7 @@ Page({
...
@@ -922,7 +922,7 @@ Page({
// if (wx.__HAS_NOREPORT_MODAL || wx.__HAS_NOTLOGIN_MODAL) return false;
// if (wx.__HAS_NOREPORT_MODAL || wx.__HAS_NOTLOGIN_MODAL) return false;
// wx.__HAS_NOREPORT_MODAL = true;
// wx.__HAS_NOREPORT_MODAL = true;
if
(
wx
.
__HAS_NOTLOGIN_MODAL
||
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
)
return
false
if
(
wx
.
__HAS_NOTLOGIN_MODAL
||
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
)
return
false
this
.
addModalToQueue
(
'开单预警'
,
'您已超过三天未开单'
,
'确定'
,
false
,
1
,
()
=>
{})
this
.
addModalToQueue
(
'开单预警'
,
'您已超过三天未开单'
,
'确定'
,
false
,
1
,
()
=>
{
})
// this.showNextModal()
// this.showNextModal()
// wx.showModal({
// wx.showModal({
// title: "开单预警",
// title: "开单预警",
...
@@ -1061,7 +1061,7 @@ Page({
...
@@ -1061,7 +1061,7 @@ Page({
});
});
},
},
async
checkDailyRecport
()
{
async
checkDailyRecport
()
{
// let { tabIndex
} = this.data
let
{
userInfo
}
=
this
.
data
const
isStaff
=
app
.
globalData
.
isStaff
;
const
isStaff
=
app
.
globalData
.
isStaff
;
let
eventRequest
=
[
this
.
checkStaffOrderStatus
()]
let
eventRequest
=
[
this
.
checkStaffOrderStatus
()]
if
(
!
userInfo
?.
isSuper
&&
userInfo
?.
loginRole
!=
3
)
eventRequest
.
push
(
this
.
checkAgreeClient
(
wx
.
$util
.
getUserInfo
()))
if
(
!
userInfo
?.
isSuper
&&
userInfo
?.
loginRole
!=
3
)
eventRequest
.
push
(
this
.
checkAgreeClient
(
wx
.
$util
.
getUserInfo
()))
...
@@ -1213,7 +1213,7 @@ Page({
...
@@ -1213,7 +1213,7 @@ Page({
.setTaskDialog({
.setTaskDialog({
id: data[0]?.id,
id: data[0]?.id,
})
})
.then(() => {
});
.then(() => {
});
}
}
} else {
} else {
wx.$util.showToast(message);
wx.$util.showToast(message);
...
@@ -1279,7 +1279,7 @@ Page({
...
@@ -1279,7 +1279,7 @@ Page({
url: "pages.tabDateIndex",
url: "pages.tabDateIndex",
recordId: 8,
recordId: 8,
icon: "booking_management",
icon: "booking_management",
},
];
},];
// 判断是超管再加 这个菜单
// 判断是超管再加 这个菜单
// if (userInfo.isSuper) {
// if (userInfo.isSuper) {
// menu.push({
// menu.push({
...
@@ -1466,14 +1466,14 @@ Page({
...
@@ -1466,14 +1466,14 @@ Page({
/**
/**
* 页面相关事件处理函数--监听用户下拉动作
* 页面相关事件处理函数--监听用户下拉动作
*/
*/
onPullDownRefresh: function () {},
onPullDownRefresh: function () {
},
/**
/**
* 页面上拉触底事件的处理函数
* 页面上拉触底事件的处理函数
*/
*/
onReachBottom: function () {},
onReachBottom: function () {
},
/**
/**
* 用户点击右上角分享
* 用户点击右上角分享
*/
*/
onShareAppMessage: function () {},
onShareAppMessage: function () {
},
});
});
\ No newline at end of file
\ No newline at end of file
tabIndex/pages/index/index.wxml
View file @
6b049f3
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
</block>
</block>
</swiper>
</swiper>
<view class="dots">
<view class="dots">
<view wx:for="{{3}}" wx:for-index="idx" class="dot {{changeSelectIndex==idx?'active':''}}"></view>
<view wx:for="{{3}}" wx:
key="item" wx:
for-index="idx" class="dot {{changeSelectIndex==idx?'active':''}}"></view>
</view>
</view>
</view>
</view>
...
@@ -402,14 +402,8 @@
...
@@ -402,14 +402,8 @@
</view>
</view>
<remark-popup wx:if="{{ showRemark }}" show="{{ showRemark }}" isLimitNum="{{ false }}" title="{{ '修改贴膜台次' }}" btnName="{{ '确认' }}" bind:confirm="remarkConfirm" placeholder="{{ '请输入整数' }}" maxlength="4" value="{{ methodUpdateInfo.filmTimes }}" isInt="{{ true }}" />
<remark-popup wx:if="{{ showRemark }}" show="{{ showRemark }}" isLimitNum="{{ false }}" title="{{ '修改贴膜台次' }}" btnName="{{ '确认' }}" bind:confirm="remarkConfirm" placeholder="{{ '请输入整数' }}" maxlength="4" value="{{ methodUpdateInfo.filmTimes }}" isInt="{{ true }}" />
<!-- <order-switchPopup
bind:close="closeSwitchPopup"
<recording-order-popup wx:if="{{showOrderpop}}" show="{{showOrderpop}}" bind:success="navigator" title="请选择交易参考号" />
bind:success="navigator"
title="{{ '请选择支付订单号' }}"
wx:if="{{ showOrderpop }}"
flag="{{ showOrderpop }}"
/> -->
<recording-order-popup wx:if="{{showOrderpop}}" show="{{showOrderpop}}" bind:success="navigator" title="请选择支付订单号" />
<side-select-popup show="{{ shopSideSelectPopup }}" storeList="{{ storeRange}}" bindconfirm="storeSearchEvent" subIndex="{{subIndex}}" hasTabBar="true" />
<side-select-popup show="{{ shopSideSelectPopup }}" storeList="{{ storeRange}}" bindconfirm="storeSearchEvent" subIndex="{{subIndex}}" hasTabBar="true" />
<!-- <store-picker
<!-- <store-picker
subIndex="{{ subIndex }}"
subIndex="{{ subIndex }}"
...
...
tabWorkOrder/pages/additionRecordOrder/additionRecordOrder.wxml
View file @
6b049f3
...
@@ -487,7 +487,7 @@
...
@@ -487,7 +487,7 @@
<view class="tips" wx:if="{{showTips}}">
<view class="tips" wx:if="{{showTips}}">
<image class=" tipsIcon" src="../../../images/tips.png" />
<image class=" tipsIcon" src="../../../images/tips.png" />
<view class="contentText">
<view class="contentText">
<view>
支付订单
号:{{outTradeNo}}</view>
<view>
交易参考
号:{{outTradeNo}}</view>
<view>支付时间:{{accountDate}}</view>
<view>支付时间:{{accountDate}}</view>
</view>
</view>
<image class="closeIcon" bindtap="closeTips" src="../../images/closeIcon.png" />
<image class="closeIcon" bindtap="closeTips" src="../../images/closeIcon.png" />
...
...
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