diff --git a/src/locales/en.ts b/src/locales/en.ts
index 3c3bafa7..95bc39b1 100644
--- a/src/locales/en.ts
+++ b/src/locales/en.ts
@@ -565,6 +565,16 @@ export default {
validatorStatusRequired: 'Status is required'
}
},
+ ErpPurchase: {
+ Supplier: {
+ name: 'Supplier Name',
+ contact: 'Contact',
+ mobile: 'Mobile',
+ telephone: 'Telephone',
+ placeholderName: 'Please enter supplier name',
+ placeholderMobile: 'Please enter mobile'
+ }
+ },
lock: {
lockScreen: 'Lock screen',
lock: 'Lock',
@@ -2082,6 +2092,20 @@ export default {
validatorCategoryTypeRequired: 'Type can not be empty',
validatorUnitRequired: 'Unit id can not be empty',
validatorStatusRequired: 'Product status can not be empty',
+ dialogPackagingSchemeLabel: 'Packaging Scheme',
+ dialogPackagingSchemeTitle: 'Select Packaging Scheme',
+ dialogPackagingSchemePlaceholder: 'Please select packaging scheme',
+ dialogDefaultStatusLabel: 'Default Scheme',
+ validatorPackagingSchemeRequired: 'Packaging scheme is required',
+ dialogSupplierLabel: 'Supplier',
+ dialogSupplierTitle: 'Select Supplier',
+ dialogSupplierPlaceholder: 'Please select supplier',
+ validatorSupplierRequired: 'Supplier is required',
+ dialogFragileFlagLabel: 'Fragile',
+ dialogSparePartLevelLabel: 'Spare Part Level',
+ dialogPurchaseCycleLabel: 'Purchase Cycle (Days)',
+ dialogBrandLabel: 'Brand',
+ dialogBrandPlaceholder: 'Please enter brand',
categoryTree: 'Category Tree',
addCategory: 'Add Category',
refreshTree: 'Refresh'
diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts
index f4833ac4..c4819fa3 100644
--- a/src/locales/zh-CN.ts
+++ b/src/locales/zh-CN.ts
@@ -565,6 +565,16 @@ export default {
validatorStatusRequired: '状态不能为空'
}
},
+ ErpPurchase: {
+ Supplier: {
+ name: '供应商名称',
+ contact: '联系人',
+ mobile: '手机号码',
+ telephone: '联系电话',
+ placeholderName: '请输入供应商名称',
+ placeholderMobile: '请输入手机号码'
+ }
+ },
lock: {
lockScreen: '锁定屏幕',
lock: '锁定',
@@ -3235,6 +3245,20 @@ export default {
validatorCategoryTypeRequired: '类型不能为空',
validatorUnitRequired: '单位编号不能为空',
validatorStatusRequired: '产品状态不能为空',
+ dialogPackagingSchemeLabel: '包装方案',
+ dialogPackagingSchemeTitle: '选择包装方案',
+ dialogPackagingSchemePlaceholder: '请选择包装方案',
+ dialogDefaultStatusLabel: '是否默认方案',
+ validatorPackagingSchemeRequired: '包装方案不能为空',
+ dialogSupplierLabel: '供应商',
+ dialogSupplierTitle: '选择供应商',
+ dialogSupplierPlaceholder: '请选择供应商',
+ validatorSupplierRequired: '供应商不能为空',
+ dialogFragileFlagLabel: '是否易损件',
+ dialogSparePartLevelLabel: '备件等级',
+ dialogPurchaseCycleLabel: '采购周期(天)',
+ dialogBrandLabel: '品牌',
+ dialogBrandPlaceholder: '请输入品牌',
categoryTree: '产品分类树',
addCategory: '新增分类',
refreshTree: '刷新'
diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index ec3bbc45..6d70292c 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -236,6 +236,7 @@ export enum DICT_TYPE {
ERP_AUTOCODE_CYCLEMETHOD = "erp_autocode_cyclemethod",
ERP_AUTOCODE_PARTTYPE = "erp_autocode_parttype",
MATERIAL_CLASSIFICATION_TYPE = 'material_classification_type',
+ SPARE_PARTS_LEVEL = 'spare_parts_level',
// ========== MES - 生产管理模块 ==========
diff --git a/src/views/erp/product/product/ProductForm.vue b/src/views/erp/product/product/ProductForm.vue
index f397106c..4488191a 100644
--- a/src/views/erp/product/product/ProductForm.vue
+++ b/src/views/erp/product/product/ProductForm.vue
@@ -110,6 +110,61 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ dict.label }}
+
+
+
+
+
+
+
+ {{ t('common.yes') }}
+ {{ t('common.no') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -204,6 +259,99 @@
+
+