From f2dbc2f48557ed731622a46d3f246142a949c760 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Mon, 26 May 2025 09:45:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/supplierManage/index.js | 67 +- .../supplierManage/supplierList/index.vue | 895 +++++++++++++----- 2 files changed, 735 insertions(+), 227 deletions(-) diff --git a/src/api/supplierManage/index.js b/src/api/supplierManage/index.js index 2436f2f0..0c041f87 100644 --- a/src/api/supplierManage/index.js +++ b/src/api/supplierManage/index.js @@ -1,12 +1,65 @@ import request from '@/utils/request' - - - - - - - +// 供应商列表 +export function supplierPageApi(data) { + return request({ + url: '/smart-canteen/supplier_manage/list', + method: 'get', + headers: { + "merchant-id":"378915229716713472", + }, + params: data + }) +} + + +// 新增供应商 +export function addSupplierApi(data) { + return request({ + url: '/smart-canteen/supplier_manage/add', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) + } + +// 修改供应商 +export function editSupplierApi(data) { + return request({ + url: '/smart-canteen/supplier_manage/edit', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) + } + +// 删除供应商 +export function removeSupplierApi(data) { + return request({ + url: '/smart-canteen/supplier_manage/remove', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) + } + +// 变更供应商状态 +export function editStatusSupplierApi(data) { + return request({ + url: '/smart-canteen/supplier_manage/edit/status', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) + } diff --git a/src/views/supplierManage/supplierList/index.vue b/src/views/supplierManage/supplierList/index.vue index fa2161dc..b438d5a1 100644 --- a/src/views/supplierManage/supplierList/index.vue +++ b/src/views/supplierManage/supplierList/index.vue @@ -82,7 +82,13 @@ - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + (form.lastYearOperatingIncome=v.replace(/[^\d.]/g,''))"/> + + + + + (form.beforeYearOperatingIncome=v.replace(/[^\d.]/g,''))"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ item.qualificationName }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + 上传 + + + + + + + - - - + + + + + + + + \ No newline at end of file