歷史資料「點位」欄位正確顯示 | 更新入庫量顯示邏輯
This commit is contained in:
parent
de40e0b326
commit
eeac7a10a8
@ -16,8 +16,8 @@ const columns = [
|
|||||||
sort: true,
|
sort: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "類別",
|
title: "點位",
|
||||||
key: "points",
|
key: "item_name",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "數值",
|
title: "數值",
|
||||||
|
@ -84,7 +84,7 @@ const onOk = async () => {
|
|||||||
</template>
|
</template>
|
||||||
</Input>
|
</Input>
|
||||||
<Input :value="formState" class="my-2" name="current_stock">
|
<Input :value="formState" class="my-2" name="current_stock">
|
||||||
<template #topLeft>目前存量</template>
|
<template #topLeft>{{formState?.type == 1 ? "目前存量" : "入庫量"}}</template>
|
||||||
<template #bottomLeft>
|
<template #bottomLeft>
|
||||||
<span class="text-error text-base">{{
|
<span class="text-error text-base">{{
|
||||||
formErrorMsg.current_stock
|
formErrorMsg.current_stock
|
||||||
|
@ -121,7 +121,7 @@ const openModal = (type, item_id, record) => {
|
|||||||
type: 2,
|
type: 2,
|
||||||
item_id: item_id,
|
item_id: item_id,
|
||||||
name: record.name,
|
name: record.name,
|
||||||
current_stock: record.current_stock,
|
current_stock: 0,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
inventory_setting_modal.showModal();
|
inventory_setting_modal.showModal();
|
||||||
|
Loading…
Reference in New Issue
Block a user