diff --git a/src/view/NormalSendGoods.vue b/src/view/NormalSendGoods.vue index fffa77a..1afd097 100644 --- a/src/view/NormalSendGoods.vue +++ b/src/view/NormalSendGoods.vue @@ -331,12 +331,7 @@ "subPurchaseOrderSn": sn }}).then((res) => { if (res.errorCode == 1000000) { - for (let i = 0;i < this.choosedList.length; i++) { - if (this.choosedList[i].subPurchaseOrderSn == sn) { - this.choosedList.splice(i, 1) - break; - } - } + let t = this.timer.filter((item) => { return item.id == sn; @@ -364,15 +359,13 @@ }) }, addSuccessInfo(obj) { - this.$http.post(`/api/successInfo/add`, null, { - params: { + this.$http.post(`/api/successInfo/add`, { productName: obj.productName, subPurchaseOrderSn: obj.subPurchaseOrderSn, mallId: obj.mallId, mallName: obj.mallName, categoryName: obj.category - } - }).then(res => { + }).then(res => { console.log(res) }) },