瀏覽代碼

update

reset-do-picking-order
Tommy\2Fi-Staff 6 月之前
父節點
當前提交
d74f5d184b
共有 1 個檔案被更改,包括 2 行新增 和 1 行删除
  1. +2
    -1
      src/components/StockIn/FgStockInForm.tsx

+ 2
- 1
src/components/StockIn/FgStockInForm.tsx 查看文件

@@ -290,7 +290,7 @@ return (
> >
<DatePicker <DatePicker
{...field} {...field}
sx={compactFields ? undefined : textfieldSx}
sx={compactFields ? { width: '100%' } : textfieldSx}
label={t("productionDate")} label={t("productionDate")}
value={productionDate ? dayjs(productionDate) : undefined} value={productionDate ? dayjs(productionDate) : undefined}
format={OUTPUT_DATE_FORMAT} format={OUTPUT_DATE_FORMAT}
@@ -305,6 +305,7 @@ return (
inputRef={field.ref} inputRef={field.ref}
slotProps={{ slotProps={{
textField: { textField: {
fullWidth: true,
error: Boolean(errors.productionDate?.message), error: Boolean(errors.productionDate?.message),
helperText: errors.productionDate?.message, helperText: errors.productionDate?.message,
}, },


Loading…
取消
儲存