屏蔽自采购清空

This commit is contained in:
zxj
2025-07-11 13:37:53 +08:00
parent a88321b7b6
commit 7459bd205a
3 changed files with 16 additions and 10 deletions
@@ -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()