Browse Source

fix:5790【库存调拨】无客户性生产的订单,去调拨弹出提示,需去掉限制

mlchen 12 hours ago
parent
commit
f2e65ddfb0
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/views/warehouseManagement/inventoryAllocation/add.vue

+ 0 - 7
src/views/warehouseManagement/inventoryAllocation/add.vue

@@ -1641,13 +1641,6 @@
             };
             console.log('params------------', params);
             console.log('params.allotApplyAddPOBuilders------------', params);
-            const customerNames = params.allotApplyAddPOBuilders.map((item) => item.customerNames);
-            const saleOrderNos = params.allotApplyAddPOBuilders.map((item) => item.saleOrderNos);
-
-            if (new Set(customerNames).size !== 1, new Set(saleOrderNos).size !== 1) {
-              this.loading = false;
-              return this.$message.warning('不同客户,不同销售订单的产品不允许调拨');
-            }
             storageApi.allotApplySave(params).then(() => {
               this.$message.success('保存成功');
               this.$router.go(-1);