| | |
| | | getZhongTaiWholecasePage({ |
| | | catalogCode,pageNum,pageSize,tagCodes, sortType,query |
| | | }).then(res => { |
| | | if(res.data || res.data.records){ |
| | | if(res.data && res.data.records){ |
| | | this.setData({ |
| | | total: res.data.total, |
| | | dataList: [...this.data.dataList, ...res.data.records], |
| | |
| | | getZhongTaiProductPage({ |
| | | catalogCode,pageNum,pageSize,sortType,query,tagCodes |
| | | }).then(res => { |
| | | if(res.data || res.data.records){ |
| | | if(res.data && res.data.records){ |
| | | this.setData({ |
| | | datalist: [...this.data.datalist, ...res.data.records], |
| | | total: res.data.total |
| | |
| | | getZhongTaiRealcasePage({ |
| | | catalogCode,tagCodes,pageNum,pageSize, sortType,query |
| | | }).then(res => { |
| | | if(res.data || res.data.records){ |
| | | if(res.data && res.data.records){ |
| | | this.setData({ |
| | | dataList: [...this.data.dataList, ...res.data.records], |
| | | total: res.data.total |
| | |
| | | customer |
| | | } = this.data |
| | | const enjoyList = wx.getStorageSync('enjoyList') || [] |
| | | if (!customer.userId) return wx.showToast({ |
| | | if (!customer.customerId) return wx.showToast({ |
| | | title: '请先选择要关联的客户', |
| | | icon: 'none' |
| | | }) |