From a0eb3c8e9f2d145e94d8b6b8374d8233dcea86c2 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期二, 05 九月 2023 14:53:11 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.65.113:9001/r/lims-before --- src/api/inspection/rawmaterial.js | 88 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 88 insertions(+), 0 deletions(-) diff --git a/src/api/inspection/rawmaterial.js b/src/api/inspection/rawmaterial.js index f32b4c3..1c487a9 100644 --- a/src/api/inspection/rawmaterial.js +++ b/src/api/inspection/rawmaterial.js @@ -8,3 +8,91 @@ params }) } + +//鏂板鎶ユ鍗� +export function addInspect(data){ + return request({ + url: '/raw-material/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 + }) +} + +//鑾峰彇閫夋嫨鐨勭増鏈� +export function getChooseVersion(params){ + return request({ + url: '/raw-material/chooseVer', + method: 'get', + params + }) +} + +//鑾峰彇閫夋嫨鐗堟湰涓嬬殑鏍囧噯搴撴暟鎹� +export function lookProByVer(params){ + return request({ + url: '/raw-material/lookProByVer', + method: 'get', + params + }) +} \ No newline at end of file -- Gitblit v1.9.3