From e28bc4fced1c347a48326dcfbb944fdbd6e4660a Mon Sep 17 00:00:00 2001
From: yuyu <1981343953@qq.com>
Date: 星期四, 31 八月 2023 09:19:40 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.110.209:9001/r/lims-before

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

diff --git a/src/api/inspection/rawmaterial.js b/src/api/inspection/rawmaterial.js
index 9b975ce..2bbf039 100644
--- a/src/api/inspection/rawmaterial.js
+++ b/src/api/inspection/rawmaterial.js
@@ -9,6 +9,7 @@
   })
 }
 
+//鏂板鎶ユ鍗�
 export function addInspect(data){
   return request({
     url: '/inspection/addInspect',
@@ -17,10 +18,63 @@
   })
 }
 
+//鏍规嵁妫�楠屽崟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