ソースを参照

update jo

master
cyril.tsui 2ヶ月前
コミット
a57cc743e3
2個のファイルの変更43行の追加45行の削除
  1. +7
    -7
      src/components/JoSearch/JoCreateFormModal.tsx
  2. +36
    -38
      src/i18n/zh/jo.json

+ 7
- 7
src/components/JoSearch/JoCreateFormModal.tsx ファイルの表示

@@ -163,7 +163,7 @@ const JoCreateFormModal: React.FC<Props> = ({
type="number"
/>
</Grid>
{/* <Grid item xs={12} sm={12} md={6}>
<Grid item xs={12} sm={12} md={6}>
<Controller
control={control}
name="planStart"
@@ -171,11 +171,11 @@ const JoCreateFormModal: React.FC<Props> = ({
required: "Plan start required!",
validate: {
isValid: (value) => dateStringToDayjs(value).isValid(),
isBeforePlanEnd: (value) => {
const planStartDayjs = dateStringToDayjs(value)
const planEndDayjs = dateStringToDayjs(planEnd)
return planStartDayjs.isBefore(planEndDayjs) || planStartDayjs.isSame(planEndDayjs)
}
// isBeforePlanEnd: (value) => {
// const planStartDayjs = dateStringToDayjs(value)
// const planEndDayjs = dateStringToDayjs(planEnd)
// return planStartDayjs.isBefore(planEndDayjs) || planStartDayjs.isSame(planEndDayjs)
// }
}
}}
render={({ field, fieldState: { error } }) => (
@@ -190,7 +190,7 @@ const JoCreateFormModal: React.FC<Props> = ({
)}
/>
</Grid>
<Grid item xs={12} sm={12} md={6}>
{/* <Grid item xs={12} sm={12} md={6}>
<Controller
control={control}
name="planEnd"


+ 36
- 38
src/i18n/zh/jo.json ファイルの表示

@@ -22,7 +22,6 @@
"Completed": "已完成",
"Cancel": "取消",
"Create": "創建",

"view stockin": "查看入倉詳情",
"view putaway": "查看上架詳情",
"process epqc": "進行成品檢驗",
@@ -32,36 +31,35 @@
"release jo": "確認發佈工單",
"complete jo": "完成工單",
"update success": "成功更新資料",

"Scanned": "已掃碼",
"Scan Status": "掃碼狀態",
"Start Job Order": "開始工單",
"Target Production Date" : "預計生產日期",
"Production Priority" : "生產優先度",
"Sequence" : "序",
"Item Code" : "物料編號",
"Stock Available" : "倉庫可用數",
"Stock Status" : "可提料",
"Target Production Date": "預計生產日期",
"Production Priority": "生產優先度",
"Sequence": "序",
"Item Code": "物料編號",
"Stock Available": "倉庫可用數",
"Stock Status": "可提料",
"Total lines: ": "所需貨品項目數量: ",
"Lines with sufficient stock: ": "可提料項目數量: ",
"Lines with insufficient stock: ": "未能提料項目數量: ",
"Item Name" : "物料名稱",
"Item Name": "物料名稱",
"Job Order Pickexcution": "工單提料",
"Pick Order Detail": "提料單細節",
"Finished Job Order Record": "已完成工單記錄",
"Index": "編號",
"Route": "路線",
"Qty": "數量",
"Unit": "單位",
"Issue": "問題",
"Location": "位置",
"Scan Result": "掃碼結果",
"Expiry Date": "有效期",
"Target Date": "需求日期",
"Lot Required Pick Qty": "批號需求數量",
"Job Order Match": "工單對料",
"Lot No": "批號",
"Submit Required Pick Qty": "提交需求數量",
"Pick Order Detail": "提料單細節",
"Finished Job Order Record": "已完成工單記錄",
"Index": "編號",
"Route": "路線",
"Qty": "數量",
"Unit": "單位",
"Issue": "問題",
"Location": "位置",
"Scan Result": "掃碼結果",
"Expiry Date": "有效期",
"Target Date": "需求日期",
"Lot Required Pick Qty": "批號需求數量",
"Job Order Match": "工單對料",
"Lot No": "批號",
"Submit Required Pick Qty": "提交需求數量",
"All Pick Order Lots": "所有提料單批號",
"Row per page": "每頁行數",
"No data available": "沒有資料",
@@ -115,15 +113,14 @@
"Received Qty": "接收數量",
"Confirm Lot Substitution": "確認批號替換",
"Processing...": "處理中",

"Complete Job Order Record": "已完成工單記錄",
"Back": "返回",
"Lot Details": "批號細節",
"No lot details available": "沒有批號細節",
"Second Scan Completed": "對料已完成",
"Second Scan Pending": "對料待處理",
"items completed": "物料已完成",
"Current Stock": "當前庫存",
"Complete Job Order Record": "已完成工單記錄",
"Back": "返回",
"Lot Details": "批號細節",
"No lot details available": "沒有批號細節",
"Second Scan Completed": "對料已完成",
"Second Scan Pending": "對料待處理",
"items completed": "物料已完成",
"Current Stock": "當前庫存",
"Lot Actual Pick Qty": "批號實際提料數量",
"Qty Already Picked": "已提料數量",
"Reject": "拒絕",
@@ -228,7 +225,7 @@
"Scanned Lot:": "掃描批號:",
"The scanned item matches the expected item, but the lot number is different. Do you want to proceed with this different lot?": "掃描的物料與預期物料匹配,但批號不同。您想繼續使用不同的批號嗎?",
"Update your suggested lot to the this scanned lot": "更新您建議的批號為此掃描的批號",
"Default Warehouse": "默認倉庫",
"Default Warehouse": "默認倉庫",
"LotNo": "批號",
"No Warehouse": "沒有倉庫",
"Please scan warehouse qr code.": "請掃描倉庫QR碼。",
@@ -265,13 +262,14 @@
"receivedQty": "接收數量",
"stock in information": "庫存信息",
"No Uom": "沒有單位",
"Print Pick Record" : "打印板頭紙",
"Printed Successfully." : "成功列印",
"Submit All Scanned": "提交所有已掃描項目",
"Print Pick Record": "打印板頭紙",
"Printed Successfully.": "成功列印",
"Submit All Scanned": "提交所有已掃描項目",
"Submitting...": "提交中...",
"COMPLETED": "已完成",
"success": "成功",
"Total (Verified + Bad + Missing) must equal Required quantity": "驗證數量 + 不良數量 + 缺失數量必須等於需求數量",
"BOM Status": "材料預備狀況",
"Estimated Production Date": "預計生產日期"
"Estimated Production Date": "預計生產日期",
"Plan Start": "預計生產日期"
}

読み込み中…
キャンセル
保存