搜索菜品入库改为自动拍照保存,取消手动拍照操作;增加向量数据库相关日志
This commit is contained in:
@@ -64,6 +64,10 @@ class PurchaseOrderActivity : ComponentActivity() {
|
||||
putExtra(GoodsListActivity.IS_RECEIPT_PAGE, false)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
Loading.show(this)
|
||||
viewModel.getOrderListNew(pageNum = 1, pageSize = 100) { suppliers ->
|
||||
runOnUiThread {
|
||||
@@ -82,6 +86,7 @@ class PurchaseOrderActivity : ComponentActivity() {
|
||||
binding.layoutEmptyView.visible()
|
||||
return
|
||||
}
|
||||
list.clear()
|
||||
list.addAll(suppliers)
|
||||
adapter.notifyDataSetChanged()
|
||||
binding.rvOrderList.visible()
|
||||
|
||||
Reference in New Issue
Block a user