From 43f63e365e8d9dda21849a42b3ddecc6d3b9b578 Mon Sep 17 00:00:00 2001 From: skjia <106962133@qq.com> Date: Sun, 20 Jul 2025 12:36:08 +0800 Subject: [PATCH] =?UTF-8?q?jsk=20=E8=AF=A2=E4=BB=B7=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/foodManage/purchaseManage.js | 35 ++- .../purchaseManage/goodsInquiry/edit.vue | 282 ++++++++++-------- .../purchaseManage/goodsInquiry/index.vue | 153 +++++----- 3 files changed, 258 insertions(+), 212 deletions(-) diff --git a/src/api/foodManage/purchaseManage.js b/src/api/foodManage/purchaseManage.js index cac260dd..20bc3a7e 100644 --- a/src/api/foodManage/purchaseManage.js +++ b/src/api/foodManage/purchaseManage.js @@ -23,7 +23,7 @@ export function getMaterialListApi(data) { //查询供应商列表 isPaging 0不分页 2分页 export function supplierPageApi(data) { return request({ - url: '/smart-canteen/ims_supplier/list', + url: '/smart-canteen/ims_inquiry_supplier/list', method: 'get', headers: { //"merchant-id":"378915229716713472", @@ -91,7 +91,7 @@ export function addPurchaseContractApi(data) { }, data: data }) -} +} // 编辑 export function editPurchaseContractApi(data) { return request({ @@ -118,7 +118,7 @@ export function delPurchaseContractApi(data) { //获取采购询价分页列表 export function goodsInquiryPageApi(data) { return request({ - url: '/smart-canteen/ims_purchase_inquiry/list', + url: '/smart-canteen/ims_inquiry/list', method: 'post', headers: { //"merchant-id":"378915229716713472", @@ -133,28 +133,28 @@ export function goodsInquiryPageApi(data) { //获取采购询价分页详情 export function getGoodsInquiryInfoApi(data) { return request({ - url: '/smart-canteen/ims_purchase_inquiry/'+data.inquiryId, - method: 'get', + url: '/smart-canteen/ims_inquiry/'+data.inquiryId, + method: 'post', headers: { //"merchant-id":"378915229716713472", } }) -} +} // 新增采购询价 export function addGoodsInquiryApi(data) { return request({ - url: '/smart-canteen/ims_purchase_inquiry', + url: '/smart-canteen/ims_inquiry', method: 'post', headers: { //"merchant-id":"378915229716713472", }, data: data }) -} +} // 修改采购询价 export function editGoodsInquiryApi(data) { return request({ - url: '/smart-canteen/ims_purchase_inquiry/edit', + url: '/smart-canteen/ims_inquiry/edit', method: 'post', headers: { //"merchant-id":"378915229716713472", @@ -173,7 +173,6 @@ export function delGoodsInquiryApi(data) { }) } - // -------------生产计划--------------- //获取生产计划分页列表 export function productionPlanPageApi(data) { @@ -199,7 +198,7 @@ export function getProductionPlanInfoApi(data) { //"merchant-id":"378915229716713472", } }) -} +} // 新增生产计划 export function addProductionPlanApi(data) { return request({ @@ -210,7 +209,7 @@ export function addProductionPlanApi(data) { }, data: data }) -} +} // 修改生产计划 export function editProductionPlanApi(data) { return request({ @@ -258,7 +257,7 @@ export function getPurchasePlanInfoApi(data) { //"merchant-id":"378915229716713472", } }) -} +} // 新增采购计划 export function addPurchasePlanApi(data) { return request({ @@ -269,7 +268,7 @@ export function addPurchasePlanApi(data) { }, data: data }) -} +} // 修改采购计划 export function editPurchasePlanApi(data) { return request({ @@ -319,7 +318,7 @@ export function getPurchaseOrderInfoApi(data) { //"merchant-id":"378915229716713472", } }) -} +} // 新增采购订单 export function addPurchaseOrderApi(data) { return request({ @@ -330,7 +329,7 @@ export function addPurchaseOrderApi(data) { }, data: data }) -} +} // 修改采购订单 export function editPurchaseOrderApi(data) { return request({ @@ -381,7 +380,7 @@ export function getPurchaseInspectInfoApi(data) { //"merchant-id":"378915229716713472", } }) -} +} // 新增采购验货 export function addPurchaseInspectApi(data) { return request({ @@ -392,7 +391,7 @@ export function addPurchaseInspectApi(data) { }, data: data }) -} +} // 修改采购验货 export function editPurchaseInspectApi(data) { return request({ diff --git a/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue b/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue index cf13d6a4..a43f4db4 100644 --- a/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue +++ b/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue @@ -4,10 +4,10 @@ - + - + - + - + - - + + - + - - - + + + - +
@@ -78,22 +78,22 @@ - - - - - - + + + + + + - + - +
@@ -102,7 +102,7 @@ 提交 返回
- +
@@ -110,11 +110,11 @@ @@ -137,21 +137,21 @@ - - - - + + + + - + - + + />
-
+ - + @@ -571,10 +617,10 @@ export default { align-items: center; cursor: pointer; } - .dish-name:hover{ + .dish-name:hover{ background-color:rgba(0, 0, 0, 0.1); color: #4b80fd; - } + } .dialog-center{ width: 10%; @@ -626,4 +672,4 @@ export default { border: 1px solid #fff; cursor: pointer; } - \ No newline at end of file + diff --git a/src/views/foodManage/purchaseManage/goodsInquiry/index.vue b/src/views/foodManage/purchaseManage/goodsInquiry/index.vue index 97d035e9..5030e907 100644 --- a/src/views/foodManage/purchaseManage/goodsInquiry/index.vue +++ b/src/views/foodManage/purchaseManage/goodsInquiry/index.vue @@ -21,35 +21,35 @@ - - + + - - - - + + + + - + - - + + - + - - + + - - + + 搜索 重置 @@ -65,7 +65,7 @@ size="mini" @click="handleAdd" >新增 - + @@ -75,58 +75,58 @@ {{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}} - - - + + + + -- + 进行中 + 已决价 + 已取消 + - + 待提交 + 已提交 + + - - + + + 已中选 + 未中选 + - + -