yhj
2025-09-28 6f8c09563a5bbc72de5f64fdf196455e0cdd070e
jf-pda-browser/web/lyt/OQCCheckAdd2.html
@@ -18,6 +18,16 @@
         label {
            font-size: 1.20rem;
         }
         .mui-bar-nav {
             display: flex;
             justify-content: space-between;
             align-items: center;
         }
         .mui-title {
             flex: 1;
             text-align: center;
             margin: 0 15px;
         }
      </style>
   </head>
   <body>
@@ -25,6 +35,7 @@
         <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
         <h1 class="mui-title font">OQC检录入
         </h1>
         <span class="mui-icon mui-icon-camera title-right" style="color:#0062CC" id="cameraBtn"></span>
      </header>
      <div class="mui-content">
@@ -187,6 +198,25 @@
            });
            
             }
          // 相机按钮事件
                   document.getElementById('cameraBtn').addEventListener('tap', function() {
                      const mid = order;  // 检验单号
                      const pid = fdid;   // 项目 ID
                      if (!mid || !pid) {
                         mui.toast("请先确认检验项目");
                         return;
                      }
                      mui.openWindow({
                         id: 'pictrue_add_fqc',
                         url: 'ftp/pictrue_add.html?mid=' + mid + '&pid=' + pid + '&type=72',
                         waiting: {
                            autoShow: true,
                            title: '加载中'
                         }
                      });
                   });
      </script>
   </body>
</html>