diff --git a/src/api/erp/stock/in/index.ts b/src/api/erp/stock/in/index.ts index ee692bb3..c902275d 100644 --- a/src/api/erp/stock/in/index.ts +++ b/src/api/erp/stock/in/index.ts @@ -7,6 +7,7 @@ export interface StockInVO { supplierId: number // 供应商编号 inTime: Date // 入库时间 inType: string //入库类型 + stockUserId?: string // 经办人编号 totalCount: number // 合计数量 totalPrice: number // 合计金额,单位:元 status: number // 状态 diff --git a/src/locales/en.ts b/src/locales/en.ts index 32a948cc..aa4bc5f9 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -364,6 +364,8 @@ export default { remark: 'Remark', supplier: 'Supplier', productInfo: 'Product Info', + materialInfo: 'Material Info', + sparePartInfo: 'Spare Part Info', count: 'Quantity', price: 'Amount', totalPrice: 'Total Price', @@ -2070,8 +2072,8 @@ export default { dialogNamePlaceholder: 'Please enter name', dialogCategoryLabel: 'Category', dialogCategoryPlaceholder: 'Please select category', - dialogUnitLabel: 'Unit', - dialogUnitPlaceholder: 'Please select unit', + dialogUnitLabel: 'Inventory Unit', + dialogUnitPlaceholder: 'Please select inventory unit', dialogStandardLabel: 'Specification', dialogStandardPlaceholder: 'Please enter specification', dialogExpiryDayLabel: 'Shelf Life (Days)', @@ -2106,11 +2108,16 @@ export default { dialogSupplierTitle: 'Select Supplier', dialogSupplierPlaceholder: 'Please select supplier', validatorSupplierRequired: 'Supplier is required', + validatorPurchaseUnitRequired: 'Purchase unit is required', + validatorPurchaseUnitConvertRequired: 'Purchase conversion quantity is required', dialogFragileFlagLabel: 'Fragile', dialogSparePartLevelLabel: 'Spare Part Level', dialogPurchaseCycleLabel: 'Purchase Cycle (Days)', dialogBrandLabel: 'Brand', dialogBrandPlaceholder: 'Please enter brand', + dialogPurchaseUnitLabel: 'Purchase Unit', + dialogPurchaseUnitConvertLabel: 'Purchase Conversion Qty', + dialogPurchaseUnitConvertTip: 'Inventory Unit = Conversion Qty × Purchase Unit', images: 'Image', categoryTree: 'Material Category', addCategory: 'Add Category', @@ -2508,6 +2515,7 @@ export default { MoldBrandPage: { all: 'All', onMachine: 'On Machine', + inStock: 'In Stock', standby: 'Standby', repairing: 'Repairing', scrapped: 'Scrapped', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 2f6fcf69..20a2cf6d 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -364,6 +364,8 @@ export default { remark: '备注', supplier: '供应商', productInfo: '产品信息', + materialInfo: '物料信息', + sparePartInfo: '备件信息', count: '数量', price: '金额', totalPrice: '合计金额', @@ -1990,6 +1992,7 @@ export default { MoldBrandPage: { all: '全部', onMachine: '在机', + inStock: '在库', standby: '待用', repairing: '维修', scrapped: '报废', @@ -3238,8 +3241,8 @@ export default { dialogCategoryTypeLabel: '类型', dialogCategoryLabel: '分类', dialogCategoryPlaceholder: '请选择分类', - dialogUnitLabel: '单位', - dialogUnitPlaceholder: '请选择单位', + dialogUnitLabel: '库存单位', + dialogUnitPlaceholder: '请选择库存单位', dialogStandardLabel: '规格', dialogStandardPlaceholder: '请输入规格', dialogExpiryDayLabel: '保质期天数', @@ -3274,11 +3277,16 @@ export default { dialogSupplierTitle: '选择供应商', dialogSupplierPlaceholder: '请选择供应商', validatorSupplierRequired: '供应商不能为空', + validatorPurchaseUnitRequired: '采购单位不能为空', + validatorPurchaseUnitConvertRequired: '采购换算数量不能为空', dialogFragileFlagLabel: '是否易损件', dialogSparePartLevelLabel: '备件等级', dialogPurchaseCycleLabel: '采购周期(天)', dialogBrandLabel: '品牌', dialogBrandPlaceholder: '请输入品牌', + dialogPurchaseUnitLabel: '采购单位', + dialogPurchaseUnitConvertLabel: '采购换算数量', + dialogPurchaseUnitConvertTip: '库存单位 = 换算数量 × 采购单位', images: '图片', categoryTree: '物料分类', addCategory: '新增分类', diff --git a/src/views/erp/stock/in/StockInForm.vue b/src/views/erp/stock/in/StockInForm.vue index 83becfa7..e0987b29 100644 --- a/src/views/erp/stock/in/StockInForm.vue +++ b/src/views/erp/stock/in/StockInForm.vue @@ -72,6 +72,24 @@ /> + + + + + + + - + @@ -107,9 +130,12 @@