门诊医生开处方单,系统把药品无论是药库或药房有的库存都显示出来了。解决显示只有药房的问题。

This commit is contained in:
2025-11-03 16:14:52 +08:00
parent 3888859b2b
commit 1b879addc7

View File

@@ -108,24 +108,7 @@
v-for="item in scope.row.stockList"
:key="item.inventoryId"
:value="item.inventoryId"
:label="
item.locationName +
' ' +
'批次号: ' +
item.lotNumber +
' ' +
' 库存:' +
stockFormat(
scope.row.partPercent,
scope.row.unitCode_dictText,
scope.row.minUnitCode_dictText,
item.quantity
) +
' 单价:' +
item.price.toFixed(2) +
'/' +
item.unitCode_dictText
"
:label="item.locationName"
@click="handleNumberClick(item, scope.$index)"
/>
</el-select>
@@ -390,24 +373,7 @@
v-for="item in scope.row.stockList"
:key="item.lotNumber"
:value="item.lotNumber"
:label="
item.locationName +
' ' +
'批次号: ' +
item.lotNumber +
' ' +
' 库存:' +
stockFormat(
scope.row.partPercent,
scope.row.unitCode_dictText,
scope.row.minUnitCode_dictText,
item.quantity
) +
' 单价:' +
item.price.toFixed(2) +
'/' +
item.unitCode_dictText
"
:label="item.locationName "
@click="handleNumberClick(item, scope.$index)"
/>
</el-select>