|
@@ -424,6 +424,7 @@ export default {
|
|
|
* 使用品牌库存接口搜索物料
|
|
|
* @description 调用品牌库存汇总列表接口,按名称等关键字进行搜索
|
|
|
* @param {string} keyword - 搜索关键词
|
|
|
+ * @this {MaterialDetailTableComponent & Vue}
|
|
|
* @returns {Promise<void>}
|
|
|
*/
|
|
|
async searchBrandStock(keyword) {
|
|
@@ -462,7 +463,7 @@ export default {
|
|
|
warehouseId: item.storageId,
|
|
|
warehouseCode: '',
|
|
|
warehouseName: item.storageName,
|
|
|
- availableQuantity: parseFloat(item.balanceQuantity || '0') || 0,
|
|
|
+ availableQuantity: parseFloat(item.storeInventory || '0') || 0,
|
|
|
// 保留原始数据以备后用
|
|
|
_raw: item
|
|
|
}))
|