材料员-领料确认
This commit is contained in:
		
							parent
							
								
									94042b4704
								
							
						
					
					
						commit
						658177b84f
					
				| 
						 | 
					@ -46,7 +46,9 @@
 | 
				
			||||||
                    "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
 | 
					                    "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
 | 
				
			||||||
                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
 | 
					                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
 | 
				
			||||||
                    "<uses-feature android:name=\"android.hardware.camera\"/>",
 | 
					                    "<uses-feature android:name=\"android.hardware.camera\"/>",
 | 
				
			||||||
                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
 | 
					                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
 | 
				
			||||||
 | 
					                    "CAMERA",
 | 
				
			||||||
 | 
					                    "WRITE_EXTERNAL_STORAGE"
 | 
				
			||||||
                ]
 | 
					                ]
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            /* ios打包配置 */
 | 
					            /* ios打包配置 */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -73,7 +73,7 @@ const isUsingList = ref([
 | 
				
			||||||
  { path: 'teamStore', name: '班组库存', src: 'teamStore', isShow: true },
 | 
					  { path: 'teamStore', name: '班组库存', src: 'teamStore', isShow: true },
 | 
				
			||||||
  { path: 'teamWarning', name: '班组预警', src: 'teamWarning', isShow: true },
 | 
					  { path: 'teamWarning', name: '班组预警', src: 'teamWarning', isShow: true },
 | 
				
			||||||
  { path: 'authorizeSignature', name: '项目部授权', src: 'authorizeSignature', isShow: true },
 | 
					  { path: 'authorizeSignature', name: '项目部授权', src: 'authorizeSignature', isShow: true },
 | 
				
			||||||
  { path: 'materialClerkConfirms', name: '材料员确认', src: 'outStore', isShow: true },
 | 
					  { path: 'materialClerkConfirms', name: '领料确认', src: 'outStore', isShow: true },
 | 
				
			||||||
])
 | 
					])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const userAgent = navigator.userAgent.toLowerCase()
 | 
					const userAgent = navigator.userAgent.toLowerCase()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -36,11 +36,15 @@ import { getInfoByIdApi } from '@/services/materialsStation'
 | 
				
			||||||
const itemId = ref(null)
 | 
					const itemId = ref(null)
 | 
				
			||||||
const tableList = ref([])
 | 
					const tableList = ref([])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					onShow(() => {
 | 
				
			||||||
 | 
					  if (itemId.value) getList()
 | 
				
			||||||
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
onLoad((opt) => {
 | 
					onLoad((opt) => {
 | 
				
			||||||
  console.log('🚀 ~ onLoad ~ opt:', opt)
 | 
					  console.log('🚀 ~ onLoad ~ opt:', opt)
 | 
				
			||||||
  itemId.value = opt.id
 | 
					  itemId.value = opt.id
 | 
				
			||||||
  console.log('🚀 ~ itemId.value:', itemId.value)
 | 
					  console.log('🚀 ~ itemId.value:', itemId.value)
 | 
				
			||||||
  getList()
 | 
					  // getList()
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const onScrollTolower = () => {
 | 
					const onScrollTolower = () => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -83,8 +83,7 @@ const finish = computed(() => {
 | 
				
			||||||
  if (total.value === tableList.value.length) return true
 | 
					  if (total.value === tableList.value.length) return true
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
onShow((opt) => {
 | 
					onShow(() => {
 | 
				
			||||||
  console.log('🚀 ~ onLoad ~ opt:', opt)
 | 
					 | 
				
			||||||
  getList()
 | 
					  getList()
 | 
				
			||||||
})
 | 
					})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue