diff --git a/src/common/detail.js b/src/common/detail.js
index 3171ca38..ad26df7b 100644
--- a/src/common/detail.js
+++ b/src/common/detail.js
@@ -155,7 +155,25 @@ export function calcHandleQty(detailSource) {
}
}
}
-
+//计算计划外入库实际数量和任务数量
+export function calcHandleQtyPlanOut(detailSource) {
+ console.log(999,detailSource)
+ for (let item of detailSource) {
+ item.handleQty = new Decimal(0).toNumber();
+ item.qty = new Decimal(0).toNumber();
+ for (let detail of item.subList) {
+ if (detail != undefined) {
+ if (detail.scaned) {
+ item.handleQty = calc.add(item.handleQty, detail.handleQty);
+ }
+ console.log(detail.isRecommend)
+ if(detail.isRecommend){
+ item.qty = calc.add(item.qty, detail.qty);
+ }
+ }
+ }
+ }
+}
//计算推荐和扫描的不是用一个的数量
export function calcHandleNewQty(detailSource) {
for (let item of detailSource) {
diff --git a/src/mycomponents/detail/comRecommendDetailCard.vue b/src/mycomponents/detail/comRecommendDetailCard.vue
index ea32ef9b..2e1c29b3 100644
--- a/src/mycomponents/detail/comRecommendDetailCard.vue
+++ b/src/mycomponents/detail/comRecommendDetailCard.vue
@@ -38,7 +38,10 @@
-
+
+
+
@@ -48,7 +51,8 @@