电子合格证
This commit is contained in:
		
							parent
							
								
									91fab00370
								
							
						
					
					
						commit
						0c4d5de2cf
					
				| 
						 | 
					@ -100,7 +100,7 @@
 | 
				
			||||||
        </uni-forms>
 | 
					        </uni-forms>
 | 
				
			||||||
      </view>
 | 
					      </view>
 | 
				
			||||||
    </view>
 | 
					    </view>
 | 
				
			||||||
    <ElectronicSeal v-if="codeData?.maCode && !showCamera" :maCode="codeData?.maCode" :maId="codeData?.maId" />
 | 
					    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <!-- 相机预览页面 -->
 | 
					    <!-- 相机预览页面 -->
 | 
				
			||||||
    <view v-if="showCamera" class="camera-container">
 | 
					    <view v-if="showCamera" class="camera-container">
 | 
				
			||||||
| 
						 | 
					@ -139,6 +139,9 @@
 | 
				
			||||||
        canvas-id="imageCanvas"
 | 
					        canvas-id="imageCanvas"
 | 
				
			||||||
        style="position: fixed; top: -9999px; left: -9999px; width: 1px; height: 1px;"
 | 
					        style="position: fixed; top: -9999px; left: -9999px; width: 1px; height: 1px;"
 | 
				
			||||||
    ></canvas>
 | 
					    ></canvas>
 | 
				
			||||||
 | 
					    <div style="width: 100%;">
 | 
				
			||||||
 | 
					      <ElectronicSeal :maCode="codeData?.maCode" :maId="codeData?.maId" />
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
  </view>
 | 
					  </view>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -149,6 +152,7 @@ import {getDeviceListAPI} from "../../services/picking/outbound";
 | 
				
			||||||
import ElectronicSeal from '@/components/ElectronicSeal/index.vue'
 | 
					import ElectronicSeal from '@/components/ElectronicSeal/index.vue'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
 | 
					  components: { ElectronicSeal },
 | 
				
			||||||
  data() {
 | 
					  data() {
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
      showCamera: false,
 | 
					      showCamera: false,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue