From 8b150adba61ff2de1800c0fb99410847833b1642 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期四, 21 十一月 2024 11:11:39 +0800 Subject: [PATCH] Create .gitignore --- 代码管理/WMS/WIDESEA_WMSClient/src/extension/stock/stockInfo.js | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/stock/stockInfo.js" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/stock/stockInfo.js" index 9bd555c..5b00228 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/stock/stockInfo.js" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/stock/stockInfo.js" @@ -43,7 +43,34 @@ }); } } + } + var btnHandOutbound2 = this.buttons.find(x => x.value == "HandOutboundt"); + if (btnHandOutbound2 != null) { + btnHandOutbound2.onClick = () => { + let rows = this.$refs.table.getSelected(); + if (rows.length == 0) { + return this.$error("璇烽�夋嫨鏁版嵁!"); + } else { + var ids = rows.map(x => { + return x.palletCode + }) + var param = { + DelKeys: ids, //taskNo + Extra: true + } + this.http + .post("api/Task/ManualOutboundDeleteinventory", param, "鏁版嵁澶勭悊涓�...") + .then((x) => { + if (x.status) { + this.$Message.success('鎴愬姛.'); + this.refresh(); + } else { + return this.$error(x.message); + } + }); + } + } } }, onInited() { -- Gitblit v1.9.3