From 955ab6840c9c8b7d6cfdf4c6acb2f1a59b451499 Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Tue, 21 Feb 2023 13:47:04 +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/financialCenter/enterpriseRecharge.js | 14 ++ src/components/autocomplete/index.vue | 31 +-- .../companyManagement/index.vue | 2 - .../enterpriseRecharge/components/add.vue | 208 ++++++++---------- .../enterpriseRecharge/index.vue | 59 ++++- .../enterpriseRechargeDetails/index.vue | 2 - src/views/product/components/add.vue | 24 +- src/views/product/index.vue | 21 +- 8 files changed, 164 insertions(+), 197 deletions(-) diff --git a/src/api/financialCenter/enterpriseRecharge.js b/src/api/financialCenter/enterpriseRecharge.js index d6857a6..f31b7d2 100644 --- a/src/api/financialCenter/enterpriseRecharge.js +++ b/src/api/financialCenter/enterpriseRecharge.js @@ -14,8 +14,22 @@ const get = (query) => { const getByCompanyId = (query) => { return request.get(`/oil-finance/oilCompanyAccount/getByCompanyId/${query}`); }; +// 新增 +const save = (params) => { + return request.postJson("/oil-finance/oilCompanyAccountReverse/save", params); +}; +// 修改 +const update = (params) => { + return request.postJson( + "/oil-finance/oilCompanyAccountReverse/update", + params + ); +}; + export default { getByPage, get, getByCompanyId, + save, + update, }; diff --git a/src/components/autocomplete/index.vue b/src/components/autocomplete/index.vue index 2bb9ffd..ec58e59 100644 --- a/src/components/autocomplete/index.vue +++ b/src/components/autocomplete/index.vue @@ -1,14 +1,4 @@