fix(charge): 修复用法绑定耗材门诊收费未显示问题 (Bug #145)
This commit is contained in:
@@ -1982,6 +1982,13 @@ function handleOrderBindInfo(bindIdInfo) {
|
||||
});
|
||||
|
||||
list?.forEach((item) => {
|
||||
// 🔧 Bug #145 修复:确保用法绑定的耗材 adviceType 为 4(前端耗材类型值)
|
||||
// 后端返回的 adviceType=2,但前端统一使用 4 表示耗材
|
||||
// 必须在 setValue 之前修改,确保 setValue 方法走耗材处理逻辑
|
||||
if (item.adviceType === 2) {
|
||||
item.adviceType = 4;
|
||||
}
|
||||
|
||||
rowIndex.value = prescriptionList.value.length;
|
||||
setValue(item);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user