fix: 进港舱单编辑页运单号改用 prefix+no 拼接取值
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user