From 1648bd01b55f58dff42096be49ad65f36f141220 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期三, 06 八月 2025 09:02:32 +0800 Subject: [PATCH] 1.调拨出库 --- H5/Js/Cpbdsj.js | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/H5/Js/Cpbdsj.js b/H5/Js/Cpbdsj.js index e6e21c6..47681a5 100644 --- a/H5/Js/Cpbdsj.js +++ b/H5/Js/Cpbdsj.js @@ -27,6 +27,9 @@ //} ], DAA001: [], + show: false,//鍒楄〃灞曠ず + actions: [],//鍒楄〃鐨勫�� + xt:"", } }, mounted() { @@ -252,7 +255,7 @@ that.LsBar = ""; // 娓呯┖杈撳叆妗� }, - GetWeightByXt() { + handleClear() { }, @@ -344,5 +347,20 @@ that.$refs.KbBar.focus(); }); }, + + onSelect(item) { + // 榛樿鎯呭喌涓嬬偣鍑婚�夐」鏃朵笉浼氳嚜鍔ㄦ敹璧� + // 鍙互閫氳繃 close-on-click-action 灞炴�у紑鍚嚜鍔ㄦ敹璧� + this.show = false; + console.log(item); + // 姝e垯鍖归厤绗竴涓柟鎷彿鍐呭 + const regex = /\[([^\]]+)\]/; + const matchResult = item.name.match(regex); + this.xt = item.name; + //this.$toast(item.name); + + }, + + } }) \ No newline at end of file -- Gitblit v1.9.3