IO-2380 added part number and price

This commit is contained in:
swtmply
2023-08-16 11:43:21 +08:00
parent ba683a2e8a
commit d646e5f285
2 changed files with 16 additions and 0 deletions

View File

@@ -113,6 +113,8 @@ export function PartsOrderListTableComponent({
id: pol.id,
line_desc: pol.line_desc,
quantity: pol.quantity,
act_price: pol.act_price,
oem_partno: pol.oem_partno,
};
}),
},

View File

@@ -66,6 +66,13 @@ export function PartsReceiveModalComponent({ bodyshop, form }) {
<Input />
</Form.Item>
<LayoutFormRow grow style={{ flex: 1 }}>
<Form.Item
label="Part No."
key={`${index}oem_partno`}
name={[field.name, "oem_partno"]}
>
<Input />
</Form.Item>
<Form.Item
label={t("parts_orders.fields.line_desc")}
key={`${index}line_desc`}
@@ -99,6 +106,13 @@ export function PartsReceiveModalComponent({ bodyshop, form }) {
>
<InputNumber min={0} />
</Form.Item>
<Form.Item
label="Price"
key={`${index}act_price`}
name={[field.name, "act_price"]}
>
<Input />
</Form.Item>
</LayoutFormRow>
<DeleteFilled
style={{ margin: "1rem" }}