Commit 7ea36e1a by 李伟康

commit 录单记录

1 parent bfd65b72
...@@ -217,18 +217,6 @@ export default { ...@@ -217,18 +217,6 @@ export default {
async getQuotationList () { async getQuotationList () {
const { shopMerchantId, pageNum, pageSize } = this, const { shopMerchantId, pageNum, pageSize } = this,
goodsName = this.customerInfo.carModel goodsName = this.customerInfo.carModel
// try {
// await this.getList('getQuotationList', {
// merchantId: shopMerchantId,
// pageNum,
// pageSize,
// goodsName: '',
// orderStatus: 3
// })
// if (!goodsName && this.pageNum == 1 && this.list.length) uni.setStorageSync(`${shopMerchantId}-historyList`, this.list)
// } catch (error) {
// if (!goodsName && this.pageNum == 1) this.list = uni.getStorageSync(`${this.shopMerchantId}-historyList`)
// }
try { try {
uni.showLoading({ uni.showLoading({
mask: true mask: true
...@@ -237,11 +225,10 @@ export default { ...@@ -237,11 +225,10 @@ export default {
merchantId: shopMerchantId, merchantId: shopMerchantId,
pageNum, pageNum,
pageSize, pageSize,
goodsName: '', goodsName,
orderStatus: 3 orderStatus: 3
}); });
uni.hideLoading(); uni.hideLoading();
// this.list = [...(pageNum == 1 ? [] : this.list), ...list];
this.list = [...(pageNum == 1 ? [] : this.list), ...list]; this.list = [...(pageNum == 1 ? [] : this.list), ...list];
let previousCreatedTime = null let previousCreatedTime = null
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!