diff --git a/pages/news3/seasoningCondimentsRecord.vue b/pages/news3/seasoningCondimentsRecord.vue index 62454da..9c4decc 100644 --- a/pages/news3/seasoningCondimentsRecord.vue +++ b/pages/news3/seasoningCondimentsRecord.vue @@ -139,17 +139,18 @@ }, // 提交信息 async onSubmit() { + console.log(this.transferList) const that = this; // 转账记录 let trList = [] - this.transferList = this.transferList.concat(this.handleList); + this.transferList = this.transferList?this.transferList.concat(this.handleList):this.handleList; this.transferList.forEach(item => { trList.push(item.file_id) }); this.form.transfer_image_id = trList.join(','); // 聊天记录 let atList = [] - this.chatList = this.chatList.concat(this.handChatList); + this.chatList = this.chatList?this.chatList.concat(this.handleList):this.handChatList; this.chatList.forEach(item => { atList.push(item.file_id) }); diff --git a/pages/news3/setOutRecords.vue b/pages/news3/setOutRecords.vue index b1955a9..df980b8 100644 --- a/pages/news3/setOutRecords.vue +++ b/pages/news3/setOutRecords.vue @@ -193,8 +193,8 @@ message, data } = await newFunApi.shopOrderList({ - // dataType: 'all', - dataType: 'complete', + dataType: 'all', + // dataType: 'complete', page: this.pageNum, searchValue: this.searchText, searchValue: '',