diff --git a/.env.development b/.env.development index c41c52b7c..b385c0313 100644 --- a/.env.development +++ b/.env.development @@ -2,7 +2,7 @@ NODE_ENV = 'development' VITE_NOW_TYPE = 'dist' # Base API -VITE_APP_BASE_URL='http://192.168.1.22:8545' +VITE_APP_BASE_URL='http://192.168.1.231:8545' # VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn' # VITE_APP_BASE_URL='https://multi-store.lihaink.cn' diff --git a/src/api/purchase_order.ts b/src/api/purchase_order.ts new file mode 100644 index 000000000..ab6dae24c --- /dev/null +++ b/src/api/purchase_order.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 采购订单列表 +export function apiPurchaseOrderLists(params: any) { + return request.get({ url: '/purchase_order/purchaseorder/lists', params }) +} + +// 添加采购订单 +export function apiPurchaseOrderAdd(params: any) { + return request.post({ url: '/purchase_order/purchaseorder/add', params }) +} + +// 编辑采购订单 +export function apiPurchaseOrderEdit(params: any) { + return request.post({ url: '/purchase_order/purchaseorder/edit', params }) +} + +// 删除采购订单 +export function apiPurchaseOrderDelete(params: any) { + return request.post({ url: '/purchase_order/purchaseorder/delete', params }) +} + +// 采购订单详情 +export function apiPurchaseOrderDetail(params: any) { + return request.get({ url: '/purchase_order/purchaseorder/detail', params }) +} \ No newline at end of file diff --git a/src/views/purchase_order/details.vue b/src/views/purchase_order/details.vue new file mode 100644 index 000000000..c20e0b238 --- /dev/null +++ b/src/views/purchase_order/details.vue @@ -0,0 +1,127 @@ + + + diff --git a/src/views/purchase_order/edit.vue b/src/views/purchase_order/edit.vue new file mode 100644 index 000000000..62dfd64cf --- /dev/null +++ b/src/views/purchase_order/edit.vue @@ -0,0 +1,158 @@ + + + diff --git a/src/views/purchase_order/index.vue b/src/views/purchase_order/index.vue new file mode 100644 index 000000000..31e85a67a --- /dev/null +++ b/src/views/purchase_order/index.vue @@ -0,0 +1,150 @@ + + + diff --git a/src/views/store/store_product/index.vue b/src/views/store/store_product/index.vue index 4ca20f15c..ca5edc0c0 100644 --- a/src/views/store/store_product/index.vue +++ b/src/views/store/store_product/index.vue @@ -47,7 +47,7 @@ > 删除 - 导入商品到门店 - + -->