Commit 133d1e18 by 张立顺

Merge branch 'SAAS+V5.4.0' into SAAS+V5.5.0

2 parents 56f58828 fdaed04b
......@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布
* 5cdptest
*/
let index = 1
let index = 2
const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync()
const envName = accountInfo.miniProgram.envVersion
......
......@@ -11,7 +11,7 @@ var isIncludesItem = function (list, item) {
return list.indexOf(item) != -1
}
var subStatus = function (constructionStatus) {
console.log(constructionStatus)
// console.log(constructionStatus)
switch (constructionStatus) {
case 1:
case 2:
......
......@@ -393,23 +393,23 @@ Page({
},
showStorePicker() {
let { userInfo } = this.data
; (userInfo?.isSuper ||
userInfo?.loginRole == 3 ||
userInfo?.loginRole == 5) &&
this.setData({
showPicker: true,
pickerType: 'merchant'
})
;(userInfo?.isSuper ||
userInfo?.loginRole == 3 ||
userInfo?.loginRole == 5) &&
this.setData({
showPicker: true,
pickerType: 'merchant'
})
},
showStaffPicker() {
let { userInfo } = this.data
; (userInfo?.isSuper ||
userInfo?.loginRole == 3 ||
userInfo?.loginRole == 5) &&
this.setData({
showPicker: true,
pickerType: 'staff'
})
;(userInfo?.isSuper ||
userInfo?.loginRole == 3 ||
userInfo?.loginRole == 5) &&
this.setData({
showPicker: true,
pickerType: 'staff'
})
},
navbarReady(e) {
let navBarHeight = e.detail.height
......@@ -534,7 +534,7 @@ Page({
showCancel: false,
confirmText: '确定',
confirmColor: '#347BFF',
success(res) { }
success(res) {}
})
} else {
wx.$util.showToast(message)
......@@ -648,7 +648,7 @@ Page({
let check = await this.dailyReportCheck(orderObj)
console.log(check, 'check')
// 超管和区域运维跳过校验提示
if (check && (!(userInfo?.isSuper || userInfo?.loginRole == 3))) return false
if (check && !(userInfo?.isSuper || userInfo?.loginRole == 3)) return false
// return
wx.$util.showLoading()
api
......@@ -669,7 +669,7 @@ Page({
showCancel: false,
confirmText: '确定',
confirmColor: '#347BFF',
success(res) { }
success(res) {}
})
} else {
// console.log(object);
......@@ -778,9 +778,11 @@ Page({
0: '问界',
1: '鸿蒙'
}
context += `【${bandType[el.brandType] || item.firstBrandName
}】 店端总未触客数+门店售前触客数与当月实际交车数不符,差异值${item.differenceValue
},请相关驻店销售对齐核销再次提交\t\n`
context += `【${
bandType[el.brandType] || item.firstBrandName
}】 店端总未触客数+门店售前触客数与当月实际交车数不符,差异值${
item.differenceValue
},请相关驻店销售对齐核销再次提交\t\n`
el.deliveryCountinputError = true
el.equityToShopCountinputError = true
el.notDeliveryCountinputError = true
......@@ -1304,7 +1306,11 @@ Page({
let { orderObj, staffCurrent } = this.data
// 先查4s店对应的园区店,再用园区店查员工
api
.querySceneRefByShop({ scene: 1, merchantId: orderObj.merchantId, pageSize: 200 })
.querySceneRefByShop({
scene: 1,
merchantId: orderObj.merchantId,
pageSize: 200
})
.then(result => {
// console.log(result, 'result')
let { code, data, message } = result
......@@ -1376,7 +1382,7 @@ Page({
wx.$util.message(message)
}
})
.catch(err => { })
.catch(err => {})
},
inputSearch(e) {
let { pickerType } = this.data
......@@ -1583,7 +1589,7 @@ Page({
}
// }
})
.catch(err => { })
.catch(err => {})
},
/**
* 生命周期函数--监听页面加载
......@@ -1696,5 +1702,5 @@ Page({
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () { }
onReady: function () {}
})
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!