屏蔽自采购清空
This commit is contained in:
@@ -121,7 +121,7 @@ fun SelfProcurementScreen(
|
||||
BottomActionBar(onLeftButtonClick = {
|
||||
Timber.d("点击后退 onDispose time = ${System.currentTimeMillis()}")
|
||||
controller.popBackStack()
|
||||
}, showRight1Button = true, right1ButtonText = "清空物品", onRight1ButtonClick = {
|
||||
}, showRight1Button = false, right1ButtonText = "清空物品", onRight1ButtonClick = {
|
||||
viewModel.clearPurchaseOrders()
|
||||
ToastUtils.showToast("物品清空成功")
|
||||
}, right2ButtonText = "提交入库", onRight2ButtonClick = {
|
||||
@@ -232,6 +232,9 @@ fun ContentRightView(
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 中间组件-菜品识别
|
||||
*/
|
||||
@Composable
|
||||
fun ProductIdentification(viewModel: SelfProcurementViewModel) {
|
||||
val searchResultList by viewModel.searchListItems.collectAsState()
|
||||
|
||||
Reference in New Issue
Block a user