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 aa7351a1
authored
Feb 10, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
605a7456
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
66 deletions
components/SideSelectPopup/SideSelectPopup.js
packageEquity/pages/index/index.js
pages/tabWorkOrder/pages/index/index.js
components/SideSelectPopup/SideSelectPopup.js
View file @
aa7351a
...
@@ -278,7 +278,6 @@ Component({
...
@@ -278,7 +278,6 @@ Component({
if
(
data
)
{
if
(
data
)
{
wx
.
$util
.
setUserInfo
({
...
wx
.
$util
.
getUserInfo
(),
subLoginUser
:
data
.
subLoginUser
})
wx
.
$util
.
setUserInfo
({
...
wx
.
$util
.
getUserInfo
(),
subLoginUser
:
data
.
subLoginUser
})
wx
.
$util
.
hideLoading
()
wx
.
$util
.
hideLoading
()
// wx.$storage.rm('dateStaffPop')
this
.
eventCallback
(
item
,
userInfo
?.
sceneType
,
false
,
data
)
this
.
eventCallback
(
item
,
userInfo
?.
sceneType
,
false
,
data
)
}
else
{
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
...
...
packageEquity/pages/index/index.js
View file @
aa7351a
...
@@ -972,68 +972,6 @@ Component({
...
@@ -972,68 +972,6 @@ Component({
}
}
});
});
},
},
// checkStaffOrderStatus() {
// let userInfo = wx.$util.getUserInfo();
// let dateStaffPop = wx.$storage.get("dateStaffPop");
// let nowDate = new Date().format("yyyy-MM-dd");
// let {
// sceneType,
// default4SStoreInfo: { merchantId },
// } = userInfo;
// let dayBoolean = dateStaffPop?.date && nowDate == dateStaffPop?.date;
// let flag = dateStaffPop?.[sceneType]?.[merchantId];
// console.log(flag, "flag", dateStaffPop?.[sceneType], dateStaffPop?.[sceneType]?.[merchantId]);
// // let num = 0
// // 当天已查询过
// if (dayBoolean && flag) {
// // num = dateStaffPop?.num || 0
// // num = num + 1
// // num = 1
// return;
// }
//
// orderStaffValid({
// sceneType: userInfo.sceneType,
// })
// .then((result) => {
// console.log(result, "orderStaffValid");
// if (result.data) {
// if (wx.__HAS_NOREPORT_MODAL || wx.__HAS_NOTLOGIN_MODAL) return false;
// wx.__HAS_NOREPORT_MODAL = true;
// wx.showModal({
// title: "开单预警",
// content: "您已超过三天未开单",
// showCancel: false,
// // cancelText: '取消', // '取消
// cancelColor: "#292D33",
// confirmText: "确定",
// confirmColor: "#347BFF",
// success(res) {
// // if (res.confirm) {
// // wx.$router.go('tabWorkOrder.staffDaily', {
// // reportDate: hasNeedReport.date
// // })
// // }
// },
// complete: () => {
// // 这个延迟的目的是为了避免短时间内重复弹出
// // 你要是没有这个需要也可以去掉,直接把标志位改成 false 就行
// setTimeout(() => {
// wx.__HAS_NOREPORT_MODAL = false;
// }, 2000);
// },
// });
// wx.$storage.set("dateStaffPop", {
// date: new Date().format("yyyy-MM-dd"),
// 0: {
// [userInfo.default4SStoreInfo.merchantId]: true,
// ...dateStaffPop[0],
// },
// });
// }
// })
// .catch((err) => {});
// },
getStaffTargetTask
()
{
getStaffTargetTask
()
{
return
new
Promise
((
resolve
)
=>
{
return
new
Promise
((
resolve
)
=>
{
let
userInfo
=
wx
.
$util
.
getUserInfo
();
let
userInfo
=
wx
.
$util
.
getUserInfo
();
...
...
pages/tabWorkOrder/pages/index/index.js
View file @
aa7351a
...
@@ -716,9 +716,10 @@ Page({
...
@@ -716,9 +716,10 @@ Page({
// && e.status != 1 待跟进现在也能撤销
// && e.status != 1 待跟进现在也能撤销
let
orderType
=
let
orderType
=
(
userInfo
.
userType
==
1
||
userInfo
.
userType
==
2
)
&&
(
userInfo
.
userType
==
1
||
userInfo
.
userType
==
2
)
&&
e
.
status
!=
9
&&
e
.
status
!=
9
&&
e
.
status
!=
14
&&
!
[
1
,
3
,
4
].
includes
(
e
.
selectPayType
)
&&
!
[
1
,
3
,
4
].
includes
(
e
.
selectPayType
)
e
.
approveStatus
!=
0
// &&
// e.approveStatus != 0
// let orderType = userInfo.userType !== 1 && e.status != 9 && e.status != 1 && e.selectPayType != 3 && e.selectPayType != 1
// let orderType = userInfo.userType !== 1 && e.status != 9 && e.status != 1 && e.selectPayType != 3 && e.selectPayType != 1
// console.log(userType);
// console.log(userType);
// console.log(orderType);
// console.log(orderType);
...
...
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