diff --git a/.env.local b/.env.local
index 9f6a531f..9bd18842 100644
--- a/.env.local
+++ b/.env.local
@@ -9,7 +9,7 @@ VITE_DEV=true
# VITE_BASE_URL='https://besure.ngsk.tech:7001'
# 本地联调
# VITE_BASE_URL='http://192.168.5.107:48081'
-VITE_BASE_URL='http://192.168.5.131:48081'
+VITE_BASE_URL='http://localhost:48081'
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
diff --git a/src/api/erp/mold/index.ts b/src/api/erp/mold/index.ts
index 9721c2c0..d15736d6 100644
--- a/src/api/erp/mold/index.ts
+++ b/src/api/erp/mold/index.ts
@@ -14,6 +14,14 @@ export interface MoldBrandVO {
remark: string // 备注
isEnable: boolean // 是否启用
}
+
+export interface MoldBrandTreeVO extends MoldBrandVO {
+ parentId?: number
+ parentChain?: string
+ createTime?: string
+ children?: MoldBrandTreeVO[]
+ leaf?: boolean
+}
// 模具 VO
export interface MoldVO {
id: number // ID
@@ -45,6 +53,11 @@ export const MoldBrandApi = {
return await request.get({ url: `/erp/mold-brand/get?id=` + id })
},
+ getMoldBrandTree: async () => {
+ return await request.get({ url: `/erp/mold-brand/tree` })
+ },
+
+
// 新增模具型号
createMoldBrand: async (data: MoldBrandVO) => {
return await request.post({ url: `/erp/mold-brand/create`, data })
diff --git a/src/views/erp/moldlist/index.vue b/src/views/erp/moldlist/index.vue
new file mode 100644
index 00000000..ba600ea7
--- /dev/null
+++ b/src/views/erp/moldlist/index.vue
@@ -0,0 +1,422 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('common.query') }}
+
+
+ {{ t('common.reset') }}
+
+
+ {{ t('action.add') }}
+
+
+ {{ t('action.export') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('MoldManagement.Mold.detail') }}
+
+
+ {{ t('action.edit') }}
+
+
+ {{ t('action.del') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/erp/stock/in/components/StockInItemForm.vue b/src/views/erp/stock/in/components/StockInItemForm.vue
index 35129660..06a621c1 100644
--- a/src/views/erp/stock/in/components/StockInItemForm.vue
+++ b/src/views/erp/stock/in/components/StockInItemForm.vue
@@ -256,6 +256,7 @@ const validate = () => {
}
defineExpose({ validate })
+
/** 初始化 */
onMounted(async () => {
productList.value = await ProductApi.getProductSimpleList()
@@ -266,4 +267,6 @@ onMounted(async () => {
handleAdd()
}
})
+
+
diff --git a/src/views/erp/stock/out/index.vue b/src/views/erp/stock/out/index.vue
index 5f518ef0..257727f2 100644
--- a/src/views/erp/stock/out/index.vue
+++ b/src/views/erp/stock/out/index.vue
@@ -1,5 +1,4 @@
-
-
-
+
+
+
-
-
-
- -->
+