From c8d55f8cb58dd0743204ccb3f1b959b0809da344 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Thu, 3 Jul 2025 16:04:23 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E9=AA=8C=E8=B4=A7=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/foodManage/purchaseManage.js | 61 +++- .../purchaseInspection/detail.vue | 151 ++++---- .../purchaseInspection/edit.vue | 335 ++++++++---------- .../purchaseInspection/index.vue | 119 +++---- .../purchaseManage/purchaseOrder/index.vue | 4 +- 5 files changed, 332 insertions(+), 338 deletions(-) diff --git a/src/api/foodManage/purchaseManage.js b/src/api/foodManage/purchaseManage.js index fc284df7..1fced7a2 100644 --- a/src/api/foodManage/purchaseManage.js +++ b/src/api/foodManage/purchaseManage.js @@ -166,7 +166,7 @@ export function delPurchasePlanApi(data) { -// -------------采购计划--------------- +// -------------采购订单--------------- //查询采购订单主列表 export function purchaseOrderPageApi(data) { return request({ @@ -228,7 +228,64 @@ export function delPurchaseOrderApi(data) { - +// -------------采购验货--------------- +//查询验货单列表 +export function purchaseInspectPageApi(data) { + return request({ + url: '/smart-canteen/ims_inspect_goods/list', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data:data, + params:{ + pageNum:data.pageNum, + pageSize:data.pageSize + } + }) +} +//获取采购验货主详细信息 +export function getPurchaseInspectInfoApi(data) { + return request({ + url: '/smart-canteen/ims_inspect_goods/'+data.inspectGoodsId, + method: 'get', + headers: { + //"merchant-id":"378915229716713472", + } + }) +} +// 新增采购验货 +export function addPurchaseInspectApi(data) { + return request({ + url: '/smart-canteen/ims_inspect_goods', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data: data + }) +} +// 修改采购验货 +export function editPurchaseInspectApi(data) { + return request({ + url: '/smart-canteen/ims_inspect_goods/edit', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data: data + }) +} +// 删除采购验货 +export function delPurchaseInspectApi(data) { + return request({ + url: '/smart-canteen/ims_inspect_goods/del/'+data.inspectGoodsIds, + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + } + }) +} diff --git a/src/views/foodManage/purchaseManage/purchaseInspection/detail.vue b/src/views/foodManage/purchaseManage/purchaseInspection/detail.vue index 3e7c4cbc..d030366c 100644 --- a/src/views/foodManage/purchaseManage/purchaseInspection/detail.vue +++ b/src/views/foodManage/purchaseManage/purchaseInspection/detail.vue @@ -2,73 +2,47 @@
- - - {{baseInfo.contractCode}} - - - - {{ baseInfo.contractTitle }} - - - - {{ baseInfo.areaName }} - - - - {{ baseInfo.supplierName }} - - - - {{ baseInfo.canteenName }} - - - - {{ baseInfo.contractSigningTime }} - - - - {{ baseInfo.contractStartTime }} - {{ baseInfo.contractEndTime }} - - - - {{ baseInfo.deptName }} - 待生效 - 履行中 - 已失效 - 已终止 - - - -
- {{ item }} -
-
-
- - - - - 一次性付款 - 分期付款 - - - - {{ baseInfo.payMoneyDate }} - - - - {{ baseInfo.collectMoneyBank }} - - - - {{ baseInfo.collectMoneyAccountName }} - - - {{ baseInfo.remark }} - - + + {{baseInfo.inspectGoodsCode}} + + + + {{ baseInfo.deliveryDate }} + + + + {{ baseInfo.areaName }} + + + + {{ baseInfo.deliveryWarehouseName }} + + + + {{ baseInfo.deliverySupplierName }} + + + + {{ baseInfo.deliveryMan }} + + + + {{ baseInfo.deliveryPhone }} + + + + {{ baseInfo.inspectDate }} + + + + {{ baseInfo.inspector }} + + + + {{ baseInfo.remark }} + +
@@ -78,7 +52,7 @@
- + @@ -92,17 +66,19 @@ 称重 --> - + - + + +
@@ -115,11 +91,11 @@