Commit b443642a by qinjianhui

fix: 问题修改

parent 1886fa6d
...@@ -163,6 +163,7 @@ const applyQueryWarehouseName = (records: OrderInventoryData[]) => { ...@@ -163,6 +163,7 @@ const applyQueryWarehouseName = (records: OrderInventoryData[]) => {
return records.map((record) => ({ return records.map((record) => ({
...record, ...record,
warehouseName: record.inventoryStatus === 3 ? warehouseName : record.warehouseName, warehouseName: record.inventoryStatus === 3 ? warehouseName : record.warehouseName,
})) }))
} }
...@@ -255,6 +256,7 @@ const columns = [ ...@@ -255,6 +256,7 @@ const columns = [
align: 'right', align: 'right',
render: (row: OrderInventoryData) => { render: (row: OrderInventoryData) => {
const v = getShortageQuantity(row) const v = getShortageQuantity(row)
if (row.inventoryStatus === 3) return ''
if (v > 0) { if (v > 0) {
return <span style="color: #f56c6c; font-weight: bold">{v}</span> return <span style="color: #f56c6c; font-weight: bold">{v}</span>
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment