调整收货状态显示文字
This commit is contained in:
@@ -183,6 +183,7 @@ fun PurchaseEmptyItem() {
|
|||||||
verticalArrangement = Arrangement.Center
|
verticalArrangement = Arrangement.Center
|
||||||
) {
|
) {
|
||||||
Image(painter = painterResource(R.mipmap.ic_empty), contentDescription = "暂无数据")
|
Image(painter = painterResource(R.mipmap.ic_empty), contentDescription = "暂无数据")
|
||||||
|
Spacer(modifier = Modifier.height(30.dp))
|
||||||
Text(
|
Text(
|
||||||
text = "暂无数据", style = TextStyle(
|
text = "暂无数据", style = TextStyle(
|
||||||
fontSize = 30.sp,
|
fontSize = 30.sp,
|
||||||
|
|||||||
@@ -214,7 +214,7 @@ fun TabScreen(viewModel: ReceiptViewModel) {
|
|||||||
val purchaseAdjustList by viewModel.adjustedOrders.collectAsState()
|
val purchaseAdjustList by viewModel.adjustedOrders.collectAsState()
|
||||||
|
|
||||||
val tabs =
|
val tabs =
|
||||||
listOf("未调整(${purchaseUnadjustedList.size})", "已调整(${purchaseAdjustList.size})")
|
listOf("未确认(${purchaseUnadjustedList.size})", "已确认(${purchaseAdjustList.size})")
|
||||||
|
|
||||||
Column(
|
Column(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ class ReceiptViewModel @Inject constructor(
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (!unadjustedOrders.value.isEmpty()) {
|
if (!unadjustedOrders.value.isEmpty()) {
|
||||||
ToastUtils.showToast("请先调整物品信息")
|
ToastUtils.showToast("请先确认物品信息")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
_showReceiptDialog.value = showDialog
|
_showReceiptDialog.value = showDialog
|
||||||
|
|||||||
Reference in New Issue
Block a user