From 182a80ed28bc67dc2af6709a305430b99a7a87ac Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期一, 29 九月 2025 10:10:30 +0800
Subject: [PATCH] 大屏
---
项目代码/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue | 68 +++++++++++++++++++--------------
1 files changed, 39 insertions(+), 29 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue"
index f903fc0..723cef3 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue"
@@ -119,39 +119,44 @@
showDetialBox: false,
tableData: [],
tableColumns: [
- {
- prop: "materielCode",
- title: "鐗╂枡缂栧彿",
- type: "string",
- width: 150,
- },
- {
- prop: "materielName",
- title: "鐗╂枡鍚嶇О",
- type: "string",
- width: 150,
- },
- {
- prop: "palletCode",
- title: "鎵樼洏缂栧彿",
- type: "string",
- width: 150,
- },
+ // {
+ // prop: "materielCode",
+ // title: "鐗╂枡缂栧彿",
+ // type: "string",
+ // width: 150,
+ // },
+ // {
+ // prop: "materielName",
+ // title: "鐗╂枡鍚嶇О",
+ // type: "string",
+ // width: 150,
+ // },
+ // {
+ // prop: "palletCode",
+ // title: "鎵樼洏缂栧彿",
+ // type: "string",
+ // width: 280,
+ // },
{
prop: "batchNo",
title: "鎵规鍙�",
type: "string",
width: 150,
},
+ // {
+ // prop: "stockQuantity",
+ // title: "搴撳瓨",
+ // type: "string",
+ // width: 150,
+ // },
+ // {
+ // prop: "outboundQuantity",
+ // title: "鍑哄簱琚嬫暟",
+ // type: "string",
+ // width: 180,
+ // },
{
- prop: "locationCode",
- title: "璐т綅缂栧彿",
- type: "string",
-
- width: 180,
- },
- {
- prop: "useableQuantity",
+ prop: "stockQuantity",
title: "鍙敤鏁伴噺",
type: "string",
},
@@ -204,9 +209,12 @@
if (this.selection.length <= 0) {
return this.$message.error("璇烽�夋嫨鎸囧畾搴撳瓨");
}
+ // if (this.selectionSum > this.row.orderQuantity) {
+ // return this.$message.error("宸查�夋暟閲忎笉鑳借秴杩囬渶姹傛暟閲�");
+ // }
this.http
.post(
- "api/Task/GenerateOutboundTask?id=" + this.row.id,
+ "api/Task/NewGenerateOutboundTask?id=" + this.row.id,
this.selection,
"鏁版嵁澶勭悊涓�"
)
@@ -222,7 +230,9 @@
getData() {
this.http
.post(
- "api/StockInfo/GetStockSelectViews?materielCode=" +
+ // "api/StockInfo/GetStockSelectViews?materielCode=" +
+ // this.row.materielCode,
+ "api/InventoryBatch/GetInventoryBatch?materielCode=" +
this.row.materielCode,
null,
"鏌ヨ涓�"
@@ -253,7 +263,7 @@
this.selectionSum =
val.reduce(
(accumulator, currentValue) =>
- accumulator + currentValue["useableQuantity"],
+ accumulator + currentValue["stockQuantity"],
0
) + this.originalQuantity;
if (this.selectionSum == this.row.orderQuantity) {
--
Gitblit v1.9.3