lxf пре 1 година
родитељ
комит
029ba2cd7b

+ 1 - 1
src/views/production/operation/batching/demo.vue

@@ -307,7 +307,7 @@ onMounted(() => {
                 .then((inventoryTwo) => {
                   for (let i = 0; i < formData.data.inOutStorageBomList.length; i++) {
                     if (inventoryTwo[formData.data.inOutStorageBomList[i].bomSpecId]) {
-                      formData.data.inOutStorageBomList[i].warehouseId = warehouseList.value[0].dictKey;
+                      formData.data.inOutStorageBomList[i].warehouseId = warehouseList.value[1].dictKey;
                       formData.data.inOutStorageBomList[i].surplusStock = inventoryTwo[formData.data.inOutStorageBomList[i].bomSpecId];
                     }
                   }

+ 1 - 1
src/views/production/operation/batching/quick.vue

@@ -269,7 +269,7 @@ onMounted(() => {
                 .then((inventoryTwo) => {
                   for (let i = 0; i < formData.data.inOutStorageBomList.length; i++) {
                     if (inventoryTwo[formData.data.inOutStorageBomList[i].bomSpecId]) {
-                      formData.data.inOutStorageBomList[i].warehouseId = warehouseList.value[0].dictKey;
+                      formData.data.inOutStorageBomList[i].warehouseId = warehouseList.value[1].dictKey;
                       formData.data.inOutStorageBomList[i].surplusStock = inventoryTwo[formData.data.inOutStorageBomList[i].bomSpecId];
                     }
                   }