Commit 2d5cef47 by 张立顺

feat 功能开发

1 parent 245ebed9
......@@ -299,9 +299,18 @@ Page({
max: 100,
inputPlaceholder: ''
},
// {
// label: '店端总未触客数',
// key: 'notDeliveryCount',
// type: 'number',
// required: true,
// min: 0,
// max: 100,
// inputPlaceholder: ''
// },
{
label: '店端总未触客数',
key: 'notDeliveryCount',
label: '实际售前触客数',
key: 'equityToShopCount',
type: 'number',
required: true,
min: 0,
......@@ -309,24 +318,42 @@ Page({
inputPlaceholder: ''
},
{
label: '实际售前触客数',
key: 'equityToShopCount',
label: '实际售后触客数',
key: 'afterSaleEquityToShopCount',
type: 'number',
required: true,
required: false,
min: 0,
max: 100,
inputPlaceholder: ''
},
{
label: '实际售后触客数',
key: 'afterSaleEquityToShopCount',
label: '今日店端实际发券数',
key: 'issueCouponCount',
type: 'number',
required: false,
required: true,
min: 0,
max: 100,
inputPlaceholder: ''
},
{
label: '本月待邀约',
key: 'waitInviteCount',
type: 'number',
required: true,
min: 0,
max: 3000,
inputPlaceholder: ''
},
{
label: '今日流失',
key: 'customerLossCount',
type: 'number',
required: true,
min: 0,
max: 3000,
inputPlaceholder: ''
},
{
name: 'person'
},
{
......@@ -340,40 +367,6 @@ Page({
disabled: true,
inputPlaceholder: '自动填入系统数据'
}
// {
// name: 'person'
// },
// {
// label: '北汽无忧成交数',
// key: 'bqWorryFreeCount',
// type: 'number',
// required: false,
// min: 0,
// max: 100,
// templateValue: 3,
// disabled: true,
// inputPlaceholder: '自动填入系统数据'
// },
// {
// label: '广爱无忧成交数',
// key: 'gaWorryFreeCount',
// type: 'number',
// required: false,
// min: 0,
// max: 100,
// disabled: true,
// templateValue: 3,
// inputPlaceholder: '自动填入系统数据'
// },
// {
// label: '未触客返店人数',
// key: 'notDeliveryReturnCount',
// type: 'number',
// required: false,
// min: 0,
// max: 100,
// inputPlaceholder: ''
// }
]
},
handleTemplagePickerChange(e) {
......@@ -400,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
......@@ -541,7 +534,7 @@ Page({
showCancel: false,
confirmText: '确定',
confirmColor: '#347BFF',
success(res) {}
success(res) { }
})
} else {
wx.$util.showToast(message)
......@@ -665,7 +658,7 @@ Page({
showCancel: false,
confirmText: '确定',
confirmColor: '#347BFF',
success(res) {}
success(res) { }
})
} else {
wx.$util.showToast(message)
......@@ -772,11 +765,9 @@ 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
......@@ -843,10 +834,6 @@ Page({
hwObjArray[hwIndex]?.label ||
otherObjArray[otherIndex]?.label ||
hwOhterObjArray[hwohterIndex]?.label
// 本月待邀约数
if (
this.isNotEmpty(carBandList[index][name]) &&
this.isNotEmpty(carBandList[index][checkName]) &&
......@@ -1182,7 +1169,8 @@ Page({
notDeliveryCount,
customerLossCount,
waitInviteCount,
recordWaitInviteCount
recordWaitInviteCount,
reocedIssueCouponCount,
} = item
item = {
...carBand,
......@@ -1195,6 +1183,7 @@ Page({
notDeliveryCountRecord: notDeliveryCount,
customerLossCountRecord: customerLossCount,
waitInviteCountRecord: recordWaitInviteCount,
issueCouponCountRecord: reocedIssueCouponCount
// recordWaitInviteCount:recordWaitInviteCount
}
} else {
......@@ -1375,7 +1364,7 @@ Page({
wx.$util.message(message)
}
})
.catch(err => {})
.catch(err => { })
},
inputSearch(e) {
let { pickerType } = this.data
......@@ -1580,7 +1569,7 @@ Page({
}
// }
})
.catch(err => {})
.catch(err => { })
},
/**
* 生命周期函数--监听页面加载
......@@ -1693,5 +1682,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!