diff --git a/src/api/supplier.js b/src/api/supplier.js index e04db3d..378623c 100644 --- a/src/api/supplier.js +++ b/src/api/supplier.js @@ -111,4 +111,38 @@ export function selectSupplierList(data) { method:'get', params:data }) + } + + + export function SureOrder(data){ + return axios({ + url:'/Supply/SureOrder', + method:'post', + params:data + }) + } + + + export function onAddSupply(data){ + return axios({ + url:'/Supply/onAddSupply', + method:'post', + params:data + }) + } + + + export function goodsNum() { + return axios({ + url: '/Supply/goodsNum', + method: 'get' + }) + } + + + export function supplierNames() { + return axios({ + url: '/Supply/supplierNames', + method: 'get' + }) } \ No newline at end of file diff --git a/src/components/Prouduct/ProuductAdd.vue b/src/components/Prouduct/ProuductAdd.vue index a314551..687007a 100644 --- a/src/components/Prouduct/ProuductAdd.vue +++ b/src/components/Prouduct/ProuductAdd.vue @@ -57,7 +57,7 @@ - + {{item}} diff --git a/src/components/Supplier/SupplyAdd.vue b/src/components/Supplier/SupplyAdd.vue index 87ea791..0799c98 100644 --- a/src/components/Supplier/SupplyAdd.vue +++ b/src/components/Supplier/SupplyAdd.vue @@ -1,32 +1,39 @@ diff --git a/src/router/index.js b/src/router/index.js index 7c860fa..616d735 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -81,11 +81,9 @@ const routes = [ // component: () => import(/* webpackChunkName: "about" */ '../views/Text.vue') // } ] - const router = new VueRouter({ mode: 'history', base: process.env.BASE_URL, routes }) - export default router