|
@@ -1,10 +1,3 @@
|
|
|
-export interface OrderParams {
|
|
|
- orderName: string,
|
|
|
- orderNo: string,
|
|
|
- date: string,
|
|
|
- progress: string
|
|
|
-}
|
|
|
-
|
|
|
export class DemandMaterial{
|
|
|
materialName?: string
|
|
|
materialType?: string
|
|
@@ -12,24 +5,6 @@ export class DemandMaterial{
|
|
|
planNum?: number
|
|
|
}
|
|
|
|
|
|
-export interface MaterialItem {
|
|
|
- id: string; // 唯一标识
|
|
|
- name: string; // 物料名称
|
|
|
- model: string; // 产品型号
|
|
|
- completed: number; // 已入库数量
|
|
|
- planned: number; // 计划数量
|
|
|
-}
|
|
|
-export interface MaterialBox {
|
|
|
- id: string;
|
|
|
- type: 'material' | 'empty'; // 区分物料箱/空箱
|
|
|
- name: string; // 物料名称/空箱
|
|
|
- boxNumber: string; // LX-12345
|
|
|
- boxType: string; // 通用类型
|
|
|
- order?: string; // 所属订单(空箱没有)
|
|
|
- quantity?: number; // 数量(空箱没有)
|
|
|
- position: string; // X-1 Y-2
|
|
|
-}
|
|
|
-
|
|
|
export interface BoundOrder{
|
|
|
batchCode: string;
|
|
|
materialName: string;
|
|
@@ -37,16 +12,3 @@ export interface BoundOrder{
|
|
|
num: number;
|
|
|
created: string;
|
|
|
}
|
|
|
-
|
|
|
-export interface EmptyBox {
|
|
|
- position: string
|
|
|
-}
|
|
|
-
|
|
|
-export interface ConfirmDialogParams {
|
|
|
- title?: string
|
|
|
- message: string
|
|
|
- confirmText?: string
|
|
|
- cancelText?: string
|
|
|
- onConfirm: () => void
|
|
|
-}
|
|
|
-
|