Commit 7ea36e1a by 李伟康

commit 录单记录

1 parent bfd65b72
......@@ -217,18 +217,6 @@ export default {
async getQuotationList () {
const { shopMerchantId, pageNum, pageSize } = this,
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 {
uni.showLoading({
mask: true
......@@ -237,11 +225,10 @@ export default {
merchantId: shopMerchantId,
pageNum,
pageSize,
goodsName: '',
goodsName,
orderStatus: 3
});
uni.hideLoading();
// this.list = [...(pageNum == 1 ? [] : this.list), ...list];
this.list = [...(pageNum == 1 ? [] : this.list), ...list];
let previousCreatedTime = null
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!