IO-2380 added translation to fields

This commit is contained in:
swtmply
2023-08-17 06:15:46 +08:00
parent d646e5f285
commit ddd816e7ca

View File

@@ -66,13 +66,6 @@ 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`}
@@ -86,6 +79,20 @@ export function PartsReceiveModalComponent({ bodyshop, form }) {
>
<Input />
</Form.Item>
<Form.Item
label={t("joblines.fields.oem_partno")}
key={`${index}oem_partno`}
name={[field.name, "oem_partno"]}
>
<Input disabled />
</Form.Item>
<Form.Item
label={t("joblines.fields.act_price")}
key={`${index}act_price`}
name={[field.name, "act_price"]}
>
<Input disabled />
</Form.Item>
<Form.Item
label={t("joblines.fields.location")}
key={`${index}location`}
@@ -106,13 +113,6 @@ 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" }}