From 5efd01db698683e95a63053da43aaa08fa35a185 Mon Sep 17 00:00:00 2001
From: 叶松 <2217086471@qq.com>
Date: 星期五, 01 十二月 2023 11:20:28 +0800
Subject: [PATCH] Merge branch 'master' of http://111.30.93.211:10101/r/supipe

---
 web/src/api/modules/materials.js |  109 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 108 insertions(+), 1 deletions(-)

diff --git a/web/src/api/modules/materials.js b/web/src/api/modules/materials.js
index 6e47e40..8fa250e 100644
--- a/web/src/api/modules/materials.js
+++ b/web/src/api/modules/materials.js
@@ -41,7 +41,7 @@
    */
   //查询列表接口
   searchWeighRecordsList: (params) =>
-    axios.post('/materials/weigh/queryAllWeigh', params),
+    axios.post('/materials/weigh/weighbridgeList', params),
 
 
   /**
@@ -128,5 +128,112 @@
      responseType: 'blob',
      data: params
  }),
+
+ /**
+ * 搅拌站消耗
+ */
+  mixingExpendLists: (params) =>
+  axios.post('/materials/materialRelease/materialRew', params),
+
+
+  /**
+   * 料仓屏管理
+   */
+  // 料仓屏列表
+  searchStockInfoLists: (params) =>
+    axios.post('/materials/suMaterialWarehouse/selectPageList', params),
+  //料仓屏添加/修改
+  addStockInfos: (params) =>
+    axios.post('/materials/suMaterialWarehouse/insertAndUpdate', params),
+  // 删除料仓屏信息
+  deleteStockInfos: params =>
+      axios.get('/materials/suMaterialWarehouse/delete', {params}),
+  // 料仓屏信息
+  detailStockInfos: params =>
+    axios.get('/materials/suMaterialWarehouse/selectInfo', {params}),
+
+  /**
+   * 钢筋笼材料标识牌
+   */
+    //钢筋笼材料标识牌列表
+    searchSignBoardLists: (params) =>
+      axios.post('/materials/suSteelCageMaterialLabel/selectPageList', params),
+    //钢筋笼材料标识牌添加/修改
+    addSignBoardInfos: (params) =>
+      axios.post('/materials/suSteelCageMaterialLabel/insertAndUpdate', params),
+    // 删除钢筋笼材料标识牌信息
+    deleteSignBoardInfos: params =>
+        axios.get('/materials/suSteelCageMaterialLabel/delete', {params}),
+    // 钢筋笼材料标识牌信息
+    detailSignBoardInfos: params =>
+      axios.get('/materials/suSteelCageMaterialLabel/selectInfo', {params}),
+
+  
+  /* 预埋件管理 */
+  embedded: {
+    // 库存管理
+    inventGetLists: params => // table列表
+        axios.post('/materials/embedmentInventoryManagement/findAll', params),
+    inventCheck: params => // 库存校正
+        axios.post('/materials/embedmentInventoryManagement/inventoryCorrection', params),
+    inventPresAlarm: params => // 预报警设置
+        axios.post('/materials/embedmentInventoryManagement/alarmSet', params),
+    inventExportxls: params => // 导出
+        axios({
+            method: 'post',
+            url: '/materials/embedmentInventoryManagement/export',
+            responseType: 'blob',
+            data: params
+        }),
+    // 入库记录
+    incomeGetLists: params => // talbe列表
+        axios.post('/materials/embedmentInsetRecord/embedmentRecordList', params),
+    incomeInsert: params => // 新增
+        axios.post('/materials/embedmentInsetRecord/insert', params),
+    incomeUpdate: params => // 修改更新
+        axios.post('/materials/embedmentInsetRecord/update', params),
+    incomeDel: params => // 修改回显
+        axios.get('/materials/embedmentInsetRecord/embedmentRecordDel', { params }),
+    incomeExportxls: params => // 导出
+        axios({
+            method: 'post',
+            url: '/materials/embedmentInsetRecord/export',
+            responseType: 'blob',
+            data: params
+        }),
+    incomeExportXls: params => //导出模板
+        axios({
+        method: 'post',
+        url: '/materials/embedmentInsetRecord/recordExportTemplate',
+        responseType: 'blob',
+        params: params
+    }),
+    incomeInXls: params => //导入Excel
+        axios.post('/materials/embedmentInsetRecord/variateExcel', params),
+
+    // 预埋件种类
+    typeGetLists: params => // table列表
+        axios.post('/materials/embedmentGoods/findAll', params),
+    typeInsert: params => // 新增
+        axios.post('/materials/embedmentGoods/insert', params),
+    typeUpdate: params => // 修改更新
+      axios.post('/materials/embedmentGoods/update', params),
+    typeDetail: params => // 修改回显
+        axios.get('/materials/embedmentGoods/findEntity', { params }),
+    typeModels: params => // 类别
+        axios.get('/materials/embedmentGoods/getType', { params }),
+    // 消耗记录
+    costGetLists: params => // table列表
+      axios.post('/materials/embedmentInsetRecord/embedmentRecordOutList', params),
+    costInser: params => // table列表
+      axios.post('/materials/embedmentInsetRecord/insert', params),
+    costUpdate: params => // table列表
+      axios.post('/materials/embedmentInsetRecord/update', params),
+    costDel: params => // table列表
+      axios.get('/materials/embedmentInsetRecord/embedmentRecordDel', { params }),
+    // 校正记录
+    checkGetLists: params => // 修改回显
+        axios.post('/materials/embedmentCorrection/inventoryList', params),    
+  },
 }
 

--
Gitblit v1.9.3