From 6f8c09563a5bbc72de5f64fdf196455e0cdd070e Mon Sep 17 00:00:00 2001
From: yhj <1836460075@qq.com>
Date: 星期日, 28 九月 2025 10:12:40 +0800
Subject: [PATCH] 20250928
---
jf-pda-browser/web/lyt/XG_check_input.html | 24 ++++++++++++++++++++++--
1 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/jf-pda-browser/web/lyt/XG_check_input.html b/jf-pda-browser/web/lyt/XG_check_input.html
index 13d33f5..75aa7be 100644
--- a/jf-pda-browser/web/lyt/XG_check_input.html
+++ b/jf-pda-browser/web/lyt/XG_check_input.html
@@ -85,8 +85,9 @@
<h1 class="mui-title font">
宸℃椤圭洰褰曞叆
<span class="mui-badge mui-badge-primary" style="font-size: 1.6rem; display: none;" id='num'>0</span>
- </h1>
-
+ </h1>
+ <span class="mui-icon mui-icon-camera title-right" style="color:#0062CC" id="cameraBtn"></span>
+
</header>
<div class="mui-content" id="contentId">
<div class="mui-input-group">
@@ -377,6 +378,25 @@
}
return(false);
}
+
+ document.getElementById('cameraBtn').addEventListener('tap', function() {
+ const mid = order; // 妫�楠屽崟鍙�
+ const pid = fdid; // 褰撳墠椤圭洰 ID
+
+ if (!mid || !pid) {
+ mui.toast("璇峰厛纭妫�楠岄」鐩�");
+ return;
+ }
+ console.log("22555555")
+ mui.openWindow({
+ id: 'pictrue_add',
+ url: 'ftp/pictrue_add.html?mid=' + mid + '&pid=' + pid+ '&type=71',
+ waiting: {
+ autoShow: true,
+ title: '鍔犺浇涓�'
+ }
+ });
+ });
</script>
</body>
</html>
--
Gitblit v1.9.3