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