From 3b4f57da4574ef1a6d7fc4c4709d3f4a0e834562 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Mon, 1 Sep 2025 17:01:08 +0800 Subject: [PATCH] =?UTF-8?q?2025-09-01=20pda=20=E8=B7=A8=E5=8C=BA=E8=B0=83?= =?UTF-8?q?=E6=8B=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/cross-area-transfer/crossAreaTransfer.vue | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/views/modules/cross-area-transfer/crossAreaTransfer.vue b/src/views/modules/cross-area-transfer/crossAreaTransfer.vue index e7fa29a..374efb7 100644 --- a/src/views/modules/cross-area-transfer/crossAreaTransfer.vue +++ b/src/views/modules/cross-area-transfer/crossAreaTransfer.vue @@ -293,7 +293,6 @@ export default { } return } - if (targetLocation.length < 2) { this.$message.warning('目标货位格式不正确') if (this.$refs.locationInput) { @@ -301,7 +300,6 @@ export default { } return } - // 检查目标库位是否与源库位相同 if (this.transferMode === 'label' && targetLocation === this.labelInfo.locationId) { this.$message.warning('目标库位不能与当前库位相同') @@ -310,7 +308,6 @@ export default { } return } - if (this.transferMode === 'location' && targetLocation === this.scanCode.trim()) { this.$message.warning('目标库位不能与源库位相同') if (this.$refs.locationInput) { @@ -318,19 +315,15 @@ export default { } return } - const site = localStorage.getItem('site') const warehouseId = localStorage.getItem('selectedWarehouse') const operator = localStorage.getItem('userName') - if (!site || !warehouseId || !operator) { this.$message.error('缺少必要参数,请重新登录') return } - try { this.loading = true - const params = { scanCode: this.scanCode.trim(), transferMode: this.transferMode, @@ -341,9 +334,7 @@ export default { warehouseId: warehouseId, operator: operator } - const { data } = await saveCrossAreaTransfer(params) - if (data && data.code === 0) { this.$message.success('调拨成功') this.resetForm()