| | |
| | | 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> |
| | |
| | | <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"> |
| | |
| | | }); |
| | | |
| | | } |
| | | |
| | | |
| | | // 相机按钮事件 |
| | | 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> |