From 5f73c912e15960061f5e2f0227d27ad354d96149 Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Mon, 3 Apr 2023 16:24:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product.js | 26 ++++++++++++------------- src/views/product/components/create.vue | 16 ++------------- src/views/product/index.vue | 2 +- 3 files changed, 16 insertions(+), 28 deletions(-) diff --git a/src/api/product.js b/src/api/product.js index a6ca27c..3455a53 100644 --- a/src/api/product.js +++ b/src/api/product.js @@ -34,15 +34,15 @@ const modifyPrice = (params) => { }; // 搜索客户 const getRefineryCompanyList = (params) => { - return request.postJson("/oil-user/oilCompanyInfo/getLikeByCompanyType", params); -}; -// 下单 -const orderSave = (params) => { return request.postJson( - "/oil-refinery/xoilRefineryOrder/save", + "/oil-user/oilCompanyInfo/getLikeByCompanyType", params ); }; +// 下单 +const orderSave = (params) => { + return request.postJson("/oil-refinery/xoilRefineryOrder/save", params); +}; //查看企业产品 const getRefineryProductList = (params) => { return request.postJson( @@ -50,13 +50,13 @@ const getRefineryProductList = (params) => { params ); }; -//查看炼厂信息 -const findByEntity = (params) => { - return request.postJson( - "/oil-refinery/xoilRefineryInfo/findByEntity", - params - ); -}; +// //查看炼厂信息 +// const findByEntity = (params) => { +// return request.postJson( +// "/oil-refinery/xoilRefineryInfo/findByEntity", +// params +// ); +// }; export default { getByPage, @@ -68,5 +68,5 @@ export default { getRefineryCompanyList, orderSave, getRefineryProductList, - findByEntity + // findByEntity }; diff --git a/src/views/product/components/create.vue b/src/views/product/components/create.vue index 8f66aa1..a7dcd56 100644 --- a/src/views/product/components/create.vue +++ b/src/views/product/components/create.vue @@ -110,6 +110,7 @@