fix: 进港舱单编辑页运单号改用 prefix+no 拼接取值

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-15 17:47:21 +08:00
parent 60478327e2
commit 9d7453d3ee

View File

@@ -279,7 +279,7 @@ class GjjManifestAddViewModel : BaseViewModel() {
prefix = manifest.prefix prefix = manifest.prefix
// 填充表单字段 // 填充表单字段
waybillNo.value = manifest.wbNo waybillNo.value = manifest.getWaybillNo()
waybillNum.value = manifest.totalPc.toString() waybillNum.value = manifest.totalPc.toString()
actualNum.value = manifest.pc.toString() actualNum.value = manifest.pc.toString()
actualWeight.value = manifest.weight.toString() actualWeight.value = manifest.weight.toString()
@@ -309,7 +309,7 @@ class GjjManifestAddViewModel : BaseViewModel() {
prefix = manifest.prefix prefix = manifest.prefix
// 填充表单字段 // 填充表单字段
waybillNo.value = manifest.wbNo waybillNo.value = "${manifest.prefix}${manifest.no}"
waybillNum.value = manifest.totalPc.toString() waybillNum.value = manifest.totalPc.toString()
actualNum.value = manifest.pc.toString() actualNum.value = manifest.pc.toString()
actualWeight.value = manifest.weight.toString() actualWeight.value = manifest.weight.toString()