From 19e5b7583a2aa1968c674b4b35f618cc6c2e29ef Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期一, 09 十二月 2024 14:16:30 +0800 Subject: [PATCH] 新增历史信息,页面排序,生产时间 --- 代码管理/WMS/WIDESEA_WMSClient/src/extension/stock/stockInfo.js | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 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 7dcac91..2632621 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" @@ -2,12 +2,13 @@ //姝s鏂囦欢鏄敤鏉ヨ嚜瀹氫箟鎵╁睍涓氬姟浠g爜锛屽彲浠ユ墿灞曚竴浜涜嚜瀹氫箟椤甸潰鎴栬�呴噸鏂伴厤缃敓鎴愮殑浠g爜 import gridBody from "./extend/HandOutbound.vue" import modelBody from "./extend/HandMaterials.vue" +import griForter from "./extend/HandGenerateti.vue" let extension = { components: { //鏌ヨ鐣岄潰鎵╁睍缁勪欢 gridHeader: modelBody, gridBody: gridBody, - gridFooter: '', + gridFooter: griForter, //鏂板缓銆佺紪杈戝脊鍑烘鎵╁睍缁勪欢 modelHeader: '', modelBody: '', @@ -78,6 +79,22 @@ } } + var btnHanGeneratetime = this.buttons.find(x => x.value == "HanGeneratetime"); + if (btnHanGeneratetime != null) { + btnHanGeneratetime.onClick = () => { + let rows = this.$refs.table.getSelected(); + if (rows.length == 0) { + return this.$error("璇烽�夋嫨鏁版嵁!"); + } else { + var ids = rows.map(x => { + return x.id + }) + this.$refs.gridFooter.open(ids); + this.refresh(); + } + } + } + var btnHandOutbound2 = this.buttons.find(x => x.value == "HandOutboundt"); if (btnHandOutbound2 != null) { -- Gitblit v1.9.3