feat: 補齊生產管理與進貨單權限、功能實作及 UI 優化
This commit is contained in:
@@ -114,10 +114,24 @@ const fieldLabels: Record<string, string> = {
|
||||
transaction_date: '費用日期',
|
||||
category: '費用類別',
|
||||
amount: '金額',
|
||||
// 進貨單欄位
|
||||
gr_number: '進貨單號',
|
||||
received_date: '入庫日期',
|
||||
type: '入庫類型',
|
||||
remarks: '備註',
|
||||
// 生產管理欄位
|
||||
production_number: '工單編號',
|
||||
production_date: '生產日期',
|
||||
actual_quantity: '實際產量',
|
||||
consumption_status: '物料消耗狀態',
|
||||
recipe_id: '生產配方',
|
||||
recipe_name: '配方名稱',
|
||||
yield_quantity: '預期產量',
|
||||
};
|
||||
|
||||
// 採購單狀態對照表
|
||||
// 狀態翻譯對照表
|
||||
const statusMap: Record<string, string> = {
|
||||
// 採購單狀態
|
||||
draft: '草稿',
|
||||
pending: '待審核',
|
||||
approved: '已核准',
|
||||
@@ -125,6 +139,10 @@ const statusMap: Record<string, string> = {
|
||||
received: '已收貨',
|
||||
cancelled: '已取消',
|
||||
completed: '已完成',
|
||||
// 生產工單狀態
|
||||
planned: '已計畫',
|
||||
in_progress: '生產中',
|
||||
// completed 已定義
|
||||
};
|
||||
|
||||
// 庫存品質狀態對照表
|
||||
|
||||
Reference in New Issue
Block a user