liukangdong
2024-08-27 bbff55be46004d8973fc6fceee1586e6bf7f0a6b
wechat_staff/pages/kefu/select.js
@@ -41,7 +41,7 @@
      customer
    } = this.data
    const enjoyList = wx.getStorageSync('enjoyList') || []
    if (!customer.customerId) return wx.showToast({
    if (!customer.platSourceId) return wx.showToast({
      title: '请先选择要关联的客户',
      icon: 'none'
    })
@@ -58,6 +58,8 @@
            icon: 'none'
          })
        }, 500)
        const temp = enjoyList.filter(i => !i.checked)
        wx.setStorageSync('enjoyList', temp)
        this.setData({
          customer: {},
          total: 0,