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 | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/H5/Js/Cpbdsj.js b/H5/Js/Cpbdsj.js index cab435f..47681a5 100644 --- a/H5/Js/Cpbdsj.js +++ b/H5/Js/Cpbdsj.js @@ -29,6 +29,7 @@ DAA001: [], show: false,//鍒楄〃灞曠ず actions: [],//鍒楄〃鐨勫�� + xt:"", } }, mounted() { @@ -347,6 +348,19 @@ }); }, + 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