feat: 国际进港舱单货物发放改为库位选择弹框
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -19,6 +19,7 @@ import com.lukouguoji.module_base.ktx.launchLoadingCollect
|
||||
import com.lukouguoji.module_base.ktx.noNull
|
||||
import com.lukouguoji.module_base.ktx.showToast
|
||||
import com.lukouguoji.module_base.ktx.toRequestBody
|
||||
import com.lukouguoji.gjj.dialog.IntImpModifyStorageDialogModel
|
||||
import com.lukouguoji.module_base.model.ConfirmDialogModel
|
||||
import dev.utils.app.info.KeyValue
|
||||
import com.lukouguoji.module_base.model.ScanModel
|
||||
@@ -367,11 +368,10 @@ class IntImpManifestViewModel : BasePageViewModel() {
|
||||
return
|
||||
}
|
||||
|
||||
ConfirmDialogModel(
|
||||
message = "确定要发放选中的 ${selectedItems.size} 票运单吗?",
|
||||
title = "货物发放确认"
|
||||
) {
|
||||
IntImpModifyStorageDialogModel { dialog ->
|
||||
val params = mapOf(
|
||||
"location" to dialog.locationName,
|
||||
"locationId" to dialog.locationId.toLongOrNull(),
|
||||
"manifestList" to selectedItems
|
||||
).toRequestBody()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user