fix: 国际进港舱单理货完成去掉库位弹框直接调用发放接口
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -556,7 +556,7 @@ class IntImpManifestViewModel : BasePageViewModel() {
|
||||
}
|
||||
|
||||
/**
|
||||
* 货物发放
|
||||
* 理货完成(货物发放):库位已在「开始理货」时录入,此处不再弹库位框,直接提交所选运单
|
||||
*/
|
||||
fun cargoReleaseClick() {
|
||||
val list = pageModel.rv?.commonAdapter()?.items as? List<GjjManifest> ?: return
|
||||
@@ -567,12 +567,7 @@ class IntImpManifestViewModel : BasePageViewModel() {
|
||||
return
|
||||
}
|
||||
|
||||
IntImpModifyStorageDialogModel { dialog ->
|
||||
val params = mapOf(
|
||||
"location" to dialog.locationName,
|
||||
"locationId" to dialog.locationId.toLongOrNull(),
|
||||
"manifestList" to selectedItems
|
||||
).toRequestBody()
|
||||
val params = mapOf("manifestList" to selectedItems).toRequestBody()
|
||||
|
||||
launchLoadingCollect({ NetApply.api.intImpManifestPutUpCargo(params) }) {
|
||||
onSuccess = {
|
||||
@@ -584,7 +579,6 @@ class IntImpManifestViewModel : BasePageViewModel() {
|
||||
}
|
||||
}
|
||||
}
|
||||
}.show()
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user