diff --git a/src/views/modules/production-pick/productionPickingDetail.vue b/src/views/modules/production-pick/productionPickingDetail.vue index 4aad332..49dc017 100644 --- a/src/views/modules/production-pick/productionPickingDetail.vue +++ b/src/views/modules/production-pick/productionPickingDetail.vue @@ -212,7 +212,8 @@ export default { relatedNo: this.relatedNo, site: localStorage.getItem('site'), buNo: this.buNo, - operationType: 'I' // 添加标签 + operationType: 'I', // 添加标签 + warehouseId: getCurrentWarehouse() // 当前仓库 }; validateLabelWithOutbound(params).then(({ data }) => { @@ -237,7 +238,8 @@ export default { relatedNo: this.relatedNo, site: localStorage.getItem('site'), buNo: this.buNo, - operationType: 'D' // 移除标签 + operationType: 'D', // 移除标签 + warehouseId: getCurrentWarehouse() // 当前仓库 }; validateLabelWithOutbound(params).then(({ data }) => { diff --git a/src/views/modules/production/productionInboundStorage.vue b/src/views/modules/production/productionInboundStorage.vue index 553ee65..00360b9 100644 --- a/src/views/modules/production/productionInboundStorage.vue +++ b/src/views/modules/production/productionInboundStorage.vue @@ -256,7 +256,8 @@ export default { site: localStorage.getItem('site'), buNo: this.materialInfo.buNo, relatedOrderNo: this.relatedOrderNo, - operationType: 'I' // 添加标签 + operationType: 'I', // 添加标签 + warehouseId: getCurrentWarehouse() // 当前仓库 }; validateLabelWithInbound(params).then(({ data }) => { if (data && data.code === 0) { @@ -280,7 +281,8 @@ export default { site: localStorage.getItem('site'), buNo: this.materialInfo.buNo, relatedOrderNo: this.relatedOrderNo, - operationType: 'D' // 移除标签 + operationType: 'D', // 移除标签 + warehouseId: getCurrentWarehouse() // 当前仓库 }; validateLabelWithInbound(params).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/production/productionReturnStorage.vue b/src/views/modules/production/productionReturnStorage.vue index f6d2923..e947571 100644 --- a/src/views/modules/production/productionReturnStorage.vue +++ b/src/views/modules/production/productionReturnStorage.vue @@ -250,7 +250,8 @@ export default { inboundNo: this.inboundNo, site: this.materialInfo.site, buNo: this.materialInfo.buNo, - operationType: 'I' // I表示添加 + operationType: 'I', // I表示添加 + warehouseId: getCurrentWarehouse() // 当前仓库 }; validateLabelWithReturn(params).then(({ data }) => { if (data && data.code === 0) { @@ -273,7 +274,8 @@ export default { inboundNo: this.inboundNo, site: this.materialInfo.site, buNo: this.materialInfo.buNo, - operationType: 'D' // D表示移除 + operationType: 'D', // D表示移除 + warehouseId: getCurrentWarehouse() // 当前仓库 }; validateLabelWithReturn(params).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/purchase-inbound/inboundStorage.vue b/src/views/modules/purchase-inbound/inboundStorage.vue index 87e86d0..c6c6ba3 100644 --- a/src/views/modules/purchase-inbound/inboundStorage.vue +++ b/src/views/modules/purchase-inbound/inboundStorage.vue @@ -248,7 +248,8 @@ export default { inboundNo: this.inboundNo, site: this.materialInfo.site, buNo: this.materialInfo.buNo, - operationType: 'I' // I表示添加 + operationType: 'I', // I表示添加 + warehouseId: getCurrentWarehouse() // 当前仓库 }; validateLabelWithInbound(params).then(({ data }) => { @@ -272,7 +273,8 @@ export default { inboundNo: this.inboundNo, site: this.materialInfo.site, buNo: this.materialInfo.buNo, - operationType: 'D' // D表示移除 + operationType: 'D', // D表示移除 + warehouseId: getCurrentWarehouse() // 当前仓库 }; validateLabelWithInbound(params).then(({ data }) => { diff --git a/src/views/modules/purchase-return/purchaseReturnDetail.vue b/src/views/modules/purchase-return/purchaseReturnDetail.vue index 707a82a..180249d 100644 --- a/src/views/modules/purchase-return/purchaseReturnDetail.vue +++ b/src/views/modules/purchase-return/purchaseReturnDetail.vue @@ -211,7 +211,8 @@ export default { relatedLineNo: this.relatedLineNo, site: localStorage.getItem('site'), buNo: this.buNo, - operationType: 'I' // 添加标签 + operationType: 'I', // 添加标签 + warehouseId: getCurrentWarehouse() // 当前仓库 }; validateLabelWithReturn(params).then(({ data }) => { if (data && data.code === 0) { @@ -236,7 +237,8 @@ export default { relatedLineNo: this.relatedLineNo, site: localStorage.getItem('site'), buNo: this.buNo, - operationType: 'D' // 移除标签 + operationType: 'D', // 移除标签 + warehouseId: getCurrentWarehouse() // 当前仓库 }; validateLabelWithReturn(params).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/sales-return/salesReturnStorage.vue b/src/views/modules/sales-return/salesReturnStorage.vue index 3cb6c6e..cf7a1f9 100644 --- a/src/views/modules/sales-return/salesReturnStorage.vue +++ b/src/views/modules/sales-return/salesReturnStorage.vue @@ -242,7 +242,8 @@ export default { returnNo: this.returnNo, site: localStorage.getItem('site'), buNo: this.materialInfo.buNo, - operationType: 'I' // 添加标签 + operationType: 'I', // 添加标签 + warehouseId: getCurrentWarehouse() // 当前仓库 }; validateLabelWithSalesReturn(params).then(({ data }) => { if (data && data.code === 0) { @@ -265,7 +266,8 @@ export default { returnNo: this.returnNo, site: localStorage.getItem('site'), buNo: this.materialInfo.buNo, - operationType: 'D' // 移除标签 + operationType: 'D', // 移除标签 + warehouseId: getCurrentWarehouse() // 当前仓库 }; validateLabelWithSalesReturn(params).then(({ data }) => { if (data && data.code === 0) {