From 515551aa5a55d5959ffebc988f2bcc222cd5205d Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期四, 31 八月 2023 08:56:22 +0800
Subject: [PATCH] bug修复

---
 src/api/inspection/rawmaterial.js |   70 +++++++++++++++++++++++++++++++++++
 1 files changed, 70 insertions(+), 0 deletions(-)

diff --git a/src/api/inspection/rawmaterial.js b/src/api/inspection/rawmaterial.js
index f32b4c3..2bbf039 100644
--- a/src/api/inspection/rawmaterial.js
+++ b/src/api/inspection/rawmaterial.js
@@ -8,3 +8,73 @@
     params
   })
 }
+
+//鏂板鎶ユ鍗�
+export function addInspect(data){
+  return request({
+    url: '/inspection/addInspect',
+    method: 'post',
+    data
+  })
+}
+
+//鏍规嵁妫�楠屽崟id鏌ヨ妫�楠屽崟璇︽儏
+export function selectInspectsListById(params){
+  return request({
+    url: '/inspection/selectInspectsListById',
+    method: 'get',
+    params
+  })
+}
+
+//鏌ヨ鎵�鏈夌敤鎴�
+export function selectUser(params){
+  return request({
+    url: '/inspection/selectUser',
+    method: 'get',
+    params
+  })
+}
+
+//鏌ヨ鎵�鏈夎澶�
+export function selectEquipment(params){
+  return request({
+    url: '/inspection/selectEquipment',
+    method: 'get',
+    params
+  })
+}
+
+//鏂板鍘熸潗鏂欐姤妫�
+export function addMaterial(data){
+  return request({
+    url: '/raw-material/add',
+    method: 'post',
+    data
+  })
+}
+
+//鍒犻櫎鍘熸潗鏂欐姤妫�
+export function deleteMaterial(data){
+  return request({
+    url: '/raw-material/delete',
+    method: 'post',
+    data
+  })
+}
+
+export function getMaterielName(data){
+  return request({
+    url: '/raw-material/getMaterielName',
+    method: 'get',
+    data
+  })
+}
+
+export function getSpecification(params){
+  return request({
+    url: '/raw-material/specification',
+    method: 'get',
+    params
+  })
+}
\ No newline at end of file

--
Gitblit v1.9.3