Browse Source

修改在库件数的计算规则

master
pref_mail@163.com 1 year ago
parent
commit
1ad7055ba3
  1. 6
      src/views/distribution/inventory/delivery/distributionStockArticle.vue
  2. 7
      src/views/distribution/inventory/delivery/distributionStockArticleDiscuss.vue
  3. 6
      src/views/distribution/inventory/delivery/distributionStockArticleMarket.vue
  4. 7
      src/views/distribution/inventory/delivery/distributionStockArticleSelf.vue

6
src/views/distribution/inventory/delivery/distributionStockArticle.vue

@ -1787,14 +1787,16 @@ export default {
// };
// i.freezeStatusName = freezeStatusMap[i.freezeStatus] || freezeStatusMap.default;
// i.groundingStatusName = groundingStatusMap[i.groundingStatus] || groundingStatusMap.default;
i.handQuantity = nuMap[i.handQuantity] || i.handQuantity;
// i.handQuantity = nuMap[i.handQuantity] || i.handQuantity;
i.sortingQuantity = nuMap[i.sortingQuantity] || i.sortingQuantity;
i.deliveryQuantity = nuMap[i.deliveryQuantity] || i.deliveryQuantity;
i.signinQuantity = nuMap[i.signinQuantity] || i.signinQuantity;
i.transferQuantity = nuMap[i.transferQuantity] || i.transferQuantity;
i.availableQuantity = nuMap[i.availableQuantity] || i.availableQuantity;
// console.log("i.totalNumber",i.totalNumber,"i.handQuantitys",i.handQuantity);
i.notReceived = parseInt(i.totalNumber) -parseInt(i.signinQuantity)- parseInt(i.handQuantity);
i.notReceived = parseInt(i.totalNumber) -parseInt(i.incomingNum);
i.handQuantity = parseInt(i.incomingNum) - parseInt(i.deliveryQuantity)
return i;
});
this.loading = false;

7
src/views/distribution/inventory/delivery/distributionStockArticleDiscuss.vue

@ -1570,13 +1570,16 @@ export default {
// };
// i.freezeStatusName = freezeStatusMap[i.freezeStatus] || freezeStatusMap.default;
// i.groundingStatusName = groundingStatusMap[i.groundingStatus] || groundingStatusMap.default;
i.handQuantity = nuMap[i.handQuantity] || i.handQuantity;
// i.handQuantity = nuMap[i.handQuantity] || i.handQuantity;
i.sortingQuantity = nuMap[i.sortingQuantity] || i.sortingQuantity;
i.deliveryQuantity = nuMap[i.deliveryQuantity] || i.deliveryQuantity;
i.signinQuantity = nuMap[i.signinQuantity] || i.signinQuantity;
i.transferQuantity = nuMap[i.transferQuantity] || i.transferQuantity;
i.availableQuantity = nuMap[i.availableQuantity] || i.availableQuantity;
i.notReceived = parseInt(i.totalNumber) -parseInt(i.signinQuantity)- parseInt(i.handQuantity);
// i.notReceived = parseInt(i.totalNumber) -parseInt(i.signinQuantity)- parseInt(i.handQuantity);
i.notReceived = parseInt(i.totalNumber) -parseInt(i.incomingNum);
i.handQuantity = parseInt(i.incomingNum) - parseInt(i.deliveryQuantity)
return i;
});
this.loading = false;

6
src/views/distribution/inventory/delivery/distributionStockArticleMarket.vue

@ -1642,13 +1642,15 @@ export default {
// };
// i.freezeStatusName = freezeStatusMap[i.freezeStatus] || freezeStatusMap.default;
// i.groundingStatusName = groundingStatusMap[i.groundingStatus] || groundingStatusMap.default;
i.handQuantity = nuMap[i.handQuantity] || i.handQuantity;
// i.handQuantity = nuMap[i.handQuantity] || i.handQuantity;
i.sortingQuantity = nuMap[i.sortingQuantity] || i.sortingQuantity;
i.deliveryQuantity = nuMap[i.deliveryQuantity] || i.deliveryQuantity;
i.signinQuantity = nuMap[i.signinQuantity] || i.signinQuantity;
i.transferQuantity = nuMap[i.transferQuantity] || i.transferQuantity;
i.availableQuantity = nuMap[i.availableQuantity] || i.availableQuantity;
i.notReceived = parseInt(i.totalNumber) -parseInt(i.signinQuantity)- parseInt(i.handQuantity);
i.notReceived = parseInt(i.totalNumber) -parseInt(i.incomingNum);
i.handQuantity = parseInt(i.incomingNum) - parseInt(i.deliveryQuantity)
return i;
});
this.loading = false;

7
src/views/distribution/inventory/delivery/distributionStockArticleSelf.vue

@ -1934,13 +1934,16 @@ export default {
'-1': '0',
};
i.notification = notificationMap[i.notification] || notificationMap.default;
i.handQuantity = nuMap[i.handQuantity] || i.handQuantity;
// i.handQuantity = nuMap[i.handQuantity] || i.handQuantity;
i.sortingQuantity = nuMap[i.sortingQuantity] || i.sortingQuantity;
i.deliveryQuantity = nuMap[i.deliveryQuantity] || i.deliveryQuantity;
i.signinQuantity = nuMap[i.signinQuantity] || i.signinQuantity;
i.transferQuantity = nuMap[i.transferQuantity] || i.transferQuantity;
i.availableQuantity = nuMap[i.availableQuantity] || i.availableQuantity;
i.notReceived = parseInt(i.totalNumber) -parseInt(i.signinQuantity)- parseInt(i.handQuantity);
// i.notReceived = parseInt(i.totalNumber) -parseInt(i.signinQuantity)- parseInt(i.handQuantity);
i.notReceived = parseInt(i.totalNumber) -parseInt(i.incomingNum);
i.handQuantity = parseInt(i.incomingNum) - parseInt(i.deliveryQuantity)
return i;
});
this.loading = false;

Loading…
Cancel
Save