From 56ce6140130c265f024e79060b5dc449447e60aa Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 12 十月 2022 13:25:58 +0800
Subject: [PATCH] 1.物料清单页面开发完成

---
 src/api/zzmx.js |   67 +++++++++++++++++++++++++++++++++
 1 files changed, 67 insertions(+), 0 deletions(-)

diff --git a/src/api/zzmx.js b/src/api/zzmx.js
index b397af9..e9154a7 100644
--- a/src/api/zzmx.js
+++ b/src/api/zzmx.js
@@ -43,6 +43,7 @@
     params: data
   })
 }
+
 // 鍗曚綅鏂板
 export function UomAdd(data) {
   return request({
@@ -51,6 +52,7 @@
     data
   })
 }
+
 // 鍗曚綅鍒犻櫎
 export function UomDelete(data) {
   return request({
@@ -59,6 +61,7 @@
     params: data
   })
 }
+
 // 瀛樼被鍨嬫煡鎵剧墿鏂欑被鍨�
 export function StockTypeSelectMaterialType(data) {
   return request({
@@ -67,6 +70,7 @@
     params: data
   })
 }
+
 // 瀛樿揣妗f鏌ヨ
 export function InventoryFileSelect(data) {
   return request({
@@ -84,6 +88,7 @@
     data
   })
 }
+
 // 瀛樿揣妗f鍒犻櫎
 export function DeleteInventoryFile(data) {
   return request({
@@ -92,6 +97,7 @@
     params: data
   })
 }
+
 // 瀛樿揣妗f鍏宠仈宸ヨ壓璺嚎鏌ヨ
 export function InventoryFileAssociationRoute(data) {
   return request({
@@ -100,6 +106,7 @@
     params: data
   })
 }
+
 // 瀛樿揣妗f鍏宠仈宸ヨ壓璺嚎鎻愪氦
 export function SaveInventoryFile(partcode, defaultroute_code, data) {
   return request({
@@ -108,6 +115,7 @@
     data
   })
 }
+
 // 宸ヨ壓璺嚎鏌ヨ
 export function RouteSearch(data) {
   return request({
@@ -116,6 +124,7 @@
     params: data
   })
 }
+
 // 宸ヨ壓璺嚎棰勮
 export function ViewRoute(data) {
   return request({
@@ -124,6 +133,7 @@
     params: data
   })
 }
+
 // 宸ヨ壓璺嚎鏂板缂栬緫
 export function AddUpdateRoute(id, opertype, data) {
   return request({
@@ -141,6 +151,7 @@
     params: data
   })
 }
+
 // 宸ュ簭鏌ヨ
 export function StepSearch(data) {
   return request({
@@ -149,6 +160,7 @@
     params: data
   })
 }
+
 // 宸ュ簭鏂板缂栬緫
 export function AddUpdateStep(data) {
   return request({
@@ -157,6 +169,7 @@
     data
   })
 }
+
 // 宸ュ簭鍒犻櫎
 export function DeleteStep(data) {
   return request({
@@ -174,6 +187,7 @@
     params: data
   })
 }
+
 // 宸ュ簭瀹氫箟鍏宠仈宸ヤ綔绔欐彁浜�
 export function SaveStepAssociationEqp(stepcode, data) {
   return request({
@@ -182,6 +196,7 @@
     data
   })
 }
+
 // 宸ュ簭鍏宠仈缂洪櫡鏌ヨ
 export function StepAssociationDefect(data) {
   return request({
@@ -190,6 +205,7 @@
     params: data
   })
 }
+
 // 宸ュ簭鍏宠仈缂洪櫡鎻愪氦
 export function SaveStepAssociationDefect(stepcode, data) {
   return request({
@@ -198,6 +214,7 @@
     data
   })
 }
+
 // 浜у搧淇℃伅涓嬫媺妗嗘煡璇�
 export function PartSelect() {
   return request({
@@ -205,6 +222,7 @@
     method: 'get'
   })
 }
+
 // 浜у搧缂栫爜鏌ユ壘宸ヨ壓璺嚎涓嬫媺妗�
 export function PartSelectRpute(data) {
   return request({
@@ -213,6 +231,7 @@
     params: data
   })
 }
+
 // 鏍规嵁宸ヨ壓璺嚎缂栫爜鏌ユ壘鍏宠仈宸ュ簭闆嗗悎
 export function RouteSelectStep(data) {
   return request({
@@ -221,6 +240,7 @@
     params: data
   })
 }
+
 // 鏍规嵁宸ュ簭绾跨紪鐮佹煡鎵惧叧鑱旇澶囬泦鍚�
 export function StepSelectEqp(data) {
   return request({
@@ -229,6 +249,7 @@
     params: data
   })
 }
+
 // 鏍规嵁宸ュ簭绾跨紪鐮佹煡鎵惧叧鑱旇澶囧垪琛ㄩ泦鍚�
 export function StepSelectEqpList(data) {
   return request({
@@ -237,6 +258,7 @@
     params: data
   })
 }
+
 // 鑺傛媿宸ヤ环鏌ヨ
 export function BeatRateSearch(data) {
   return request({
@@ -245,6 +267,7 @@
     params: data
   })
 }
+
 // 鑺傛媿宸ヤ环鎻愪氦
 export function SaveBeatRate(data) {
   return request({
@@ -253,6 +276,7 @@
     data
   })
 }
+
 // 鑺傛媿宸ヤ环鍒犻櫎
 export function DeleteBeatRate(data) {
   return request({
@@ -269,6 +293,7 @@
     method: 'get'
   })
 }
+
 // 宸ヨ壓璺嚎宸ヨ壓璁剧疆涓嬫媺
 export function StepSelect() {
   return request({
@@ -276,3 +301,45 @@
     method: 'get'
   })
 }
+
+// 鐗╂枡娓呭崟涓诲垪琛ㄦ煡璇�
+export function BoIventorySelect(data) {
+  return request({
+    url: 'ProductModel/BoIventorySelect',
+    method: 'get',
+    params: data
+  })
+}
+
+// 鐗╂枡娓呭崟缂栬緫鏄剧ず鍙婇瑙�
+export function BoIventorySelectView(data) {
+  return request({
+    url: 'ProductModel/BoIventorySelectView',
+    method: 'get',
+    params: data
+  })
+}
+// 鐗╂枡娓呭崟鏂板/缂栬緫鎻愪氦
+export function AddUpdateBoIventory(data) {
+  return request({
+    url: 'ProductModel/AddUpdateBoIventory',
+    method: 'post',
+    data
+  })
+}
+// 鐗╂枡娓呭崟鏂板鏃惰幏鍙栨渶澶х増鏈彿
+export function MaterielDetailedVsion(data) {
+  return request({
+    url: 'ProductModel/MaterielDetailedVsion',
+    method: 'get',
+    params: data
+  })
+}
+// 鐗╂枡娓呭崟鍒犻櫎
+export function DeleteBoIventory(data) {
+  return request({
+    url: 'ProductModel/DeleteBoIventory',
+    method: 'post',
+    params: data
+  })
+}

--
Gitblit v1.9.3