自采入库同一物品可以添加多次
This commit is contained in:
@@ -106,19 +106,19 @@ fun ReceiptUnadjustedListView(
|
||||
Spacer(modifier = Modifier.width(10.dp))
|
||||
CustomSingleRightText(
|
||||
modifier = Modifier.width(120.dp),
|
||||
text = it.recUnitPriceTaxInStr,
|
||||
text = it.recUnitPriceTaxInListStr,
|
||||
style = AppTypography.blackTextStyle
|
||||
)
|
||||
Spacer(modifier = Modifier.width(20.dp))
|
||||
CustomSingleRightText(
|
||||
modifier = Modifier.width(140.dp),
|
||||
text = "${it.receiveCountStr}${it.unitNameStr}",
|
||||
text = "${it.receiveCountListStr}${it.unitNameStr}",
|
||||
style = AppTypography.blackTextStyle
|
||||
)
|
||||
Spacer(modifier = Modifier.width(20.dp))
|
||||
CustomSingleRightText(
|
||||
modifier = Modifier.width(120.dp),
|
||||
text = it.recPriceExItemStr,
|
||||
text = it.recPriceExItemListStr,
|
||||
style = AppTypography.blackTextStyle
|
||||
)
|
||||
if (showClose) {
|
||||
|
||||
@@ -82,7 +82,11 @@ fun SelfProcurementListItem(
|
||||
// Spacer(modifier = Modifier.height(31.dp))
|
||||
// 左侧列表
|
||||
LazyColumn() {
|
||||
items(items = productList, key = { it.goodsId }) { it ->
|
||||
items(
|
||||
items = productList,
|
||||
// 取消key,列表中可以插入同一物品
|
||||
// key = { it.goodsId }
|
||||
) { it ->
|
||||
|
||||
val checkedBg =
|
||||
if (it.goodsId == checkedItem?.goodsId) Gray_DCDCF0 else Color.Transparent
|
||||
|
||||
Reference in New Issue
Block a user