diff --git a/.env.development b/.env.development index 8745ed0de..597eeae33 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ VITE_NOW_TYPE = 'dist' # VITE_APP_BASE_URL='http://192.168.1.10:8546' # VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn' # VITE_APP_BASE_URL='https://multi-store.lihaink.cn' -VITE_APP_BASE_URL='http://192.168.1.102:8545' +VITE_APP_BASE_URL='http://192.168.1.103:8545' # VITE_APP_BASE_URL='https://ceshi-multi-store.lihaink.cn' diff --git a/src/api/product_source_link.ts b/src/api/product_source_link.ts new file mode 100644 index 000000000..7817f3b5a --- /dev/null +++ b/src/api/product_source_link.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 商品溯源主表列表 +export function apiProductSourceLinkLists(params: any) { + return request.get({ url: '/product_source_link/productsourcelink/lists', params }) +} + +// 添加商品溯源主表 +export function apiProductSourceLinkAdd(params: any) { + return request.post({ url: '/product_source_link/productsourcelink/add', params }) +} + +// 编辑商品溯源主表 +export function apiProductSourceLinkEdit(params: any) { + return request.post({ url: '/product_source_link/productsourcelink/edit', params }) +} + +// 删除商品溯源主表 +export function apiProductSourceLinkDelete(params: any) { + return request.post({ url: '/product_source_link/productsourcelink/delete', params }) +} + +// 商品溯源主表详情 +export function apiProductSourceLinkDetail(params: any) { + return request.get({ url: '/product_source_link/productsourcelink/detail', params }) +} \ No newline at end of file diff --git a/src/api/product_source_link_info.ts b/src/api/product_source_link_info.ts new file mode 100644 index 000000000..deaef4181 --- /dev/null +++ b/src/api/product_source_link_info.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 商品溯源详细表列表 +export function apiProductSourceLinkInfoLists(params: any) { + return request.get({ url: '/product_source_link_info/productsourcelinkinfo/lists', params }) +} + +// 添加商品溯源详细表 +export function apiProductSourceLinkInfoAdd(params: any) { + return request.post({ url: '/product_source_link_info/productsourcelinkinfo/add', params }) +} + +// 编辑商品溯源详细表 +export function apiProductSourceLinkInfoEdit(params: any) { + return request.post({ url: '/product_source_link_info/productsourcelinkinfo/edit', params }) +} + +// 删除商品溯源详细表 +export function apiProductSourceLinkInfoDelete(params: any) { + return request.post({ url: '/product_source_link_info/productsourcelinkinfo/delete', params }) +} + +// 商品溯源详细表详情 +export function apiProductSourceLinkInfoDetail(params: any) { + return request.get({ url: '/product_source_link_info/productsourcelinkinfo/detail', params }) +} \ No newline at end of file diff --git a/src/views/product_source_link/details.vue b/src/views/product_source_link/details.vue new file mode 100644 index 000000000..3a5200b03 --- /dev/null +++ b/src/views/product_source_link/details.vue @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/product_source_link/edit.vue b/src/views/product_source_link/edit.vue new file mode 100644 index 000000000..3564450e1 --- /dev/null +++ b/src/views/product_source_link/edit.vue @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/product_source_link/index.vue b/src/views/product_source_link/index.vue new file mode 100644 index 000000000..1bfa9adbe --- /dev/null +++ b/src/views/product_source_link/index.vue @@ -0,0 +1,148 @@ + + + + + + 查询 + 重置 + + + + + + + + + 新增 + + + 删除 + + + + + + + + + + + + + + + + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + + + diff --git a/src/views/product_source_link_info/details.vue b/src/views/product_source_link_info/details.vue new file mode 100644 index 000000000..6528c6411 --- /dev/null +++ b/src/views/product_source_link_info/details.vue @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/product_source_link_info/edit.vue b/src/views/product_source_link_info/edit.vue new file mode 100644 index 000000000..46cef1d7b --- /dev/null +++ b/src/views/product_source_link_info/edit.vue @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/product_source_link_info/index.vue b/src/views/product_source_link_info/index.vue new file mode 100644 index 000000000..826c08f9f --- /dev/null +++ b/src/views/product_source_link_info/index.vue @@ -0,0 +1,128 @@ + + + + + + + 查询 + 重置 + + + + + + + + + 新增 + + + 删除 + + + + + + + + + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + + + +