From 0908e045d9d015792fc9837bd9cc4511b288b582 Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Tue, 9 Jan 2024 17:56:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=82=E9=85=8D=E9=85=8D=E9=80=81=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E5=BA=93=E5=AD=98=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distributionDeliveryListedt.vue | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue index 063d34ef..0c56b48b 100644 --- a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue +++ b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue @@ -2920,6 +2920,17 @@ export default { sortable: true, head: false, }, + { + prop: 'stockPackageCode', + label: '库存品包条码', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, // { // prop: 'serviceNumber', // label: '服务号', @@ -3838,11 +3849,31 @@ export default { }); }, cancelReservationInventoryPackage(row) { + console.log('row', row); console.log('deliveryId', this.deliveryId); console.log('reservationId', this.wid); this.$message.warning('功能维护中...'); return; + console.log('row', row); + console.log('deliveryId', this.deliveryId); + console.log('reservationId', this.wid); + let data = { + deliveryId: this.deliveryId, + reservationId: this.wid, + type: 2, + inventoryPackageIds: row.id, + }; + console.log("data------->",data); + cancelReservationPackage(data).then(res => { + if (res.data.code === 200) { + this.$message.success(res.data.msg); + this.getReservationInventoryPackageListInfo(this.page); + } + }); + + + // let data = { // deliveryId:this.deliveryId, // reservationId:this.wid,