From faf1d3cc35a3a5f83558946c8056537a4d77fa1f Mon Sep 17 00:00:00 2001
From: liuleilei <234@qq.com>
Date: 星期一, 11 九月 2023 09:34:02 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev

---
 minipro_standard/util/api/materialStorage.js |  115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 115 insertions(+), 0 deletions(-)

diff --git a/minipro_standard/util/api/materialStorage.js b/minipro_standard/util/api/materialStorage.js
new file mode 100644
index 0000000..206c323
--- /dev/null
+++ b/minipro_standard/util/api/materialStorage.js
@@ -0,0 +1,115 @@
+const request = uni.$u.http
+
+// 杞簱鍗曞垪琛�
+export function getTransferList (data) {
+  return request.post('/ext/wTransferExt/pageList', data)
+}
+// export function getTransferList(data: any): Promise<any> {
+//   return httpRequest({
+//     url: '/ext/wTransferExt/pageList',
+//     method: 'post',
+//     data
+//   })
+// }
+
+// 杞簱鍗曡鎯�
+export function wTransferExtDetail (id) {
+  return request.get(`/ext/wTransferExt/${id}`)
+}
+// export function wTransferExtDetail(id: any): Promise<any> {
+//     return httpRequest({
+//         url:  `/ext/wTransferExt/${id}`,
+//         method: 'get'
+//     })
+// }
+
+// 鍒嗛〉鏌ヨ搴撳瓨
+export function getwStockExtList (data) {
+  return request.post('/ext/wStockExt/pageForH5', data)
+}
+// export function getwStockExtList(data: any): Promise<any> {
+//   return httpRequest({
+//     url: '/ext/wStockExt/pageForH5',
+//     method: 'post',
+//     data
+//   })
+// }
+
+// 鍑哄叆搴撳崟鍒楄〃
+export function getBoundList (data) {
+  return request.post('/ext/wOutboundExt/listPage', data)
+}
+// export function getBoundList(data: any): Promise<any> {
+//   return httpRequest({
+//     url: '/ext/wOutboundExt/listPage',
+//     method: 'post',
+//     data
+//   })
+// }
+
+// 鎻愪氦杞簱鍗曞嚭鍏ュ簱
+export function inOutSubmit(params) {
+	return request.get('/ext/wTransferExt/wTransferForInOutUpload', { params })
+}
+// export function inOutSubmit(params: any): Promise<any> {
+//   return httpRequest({
+//     url: 'ext/wTransferExt/wTransferForInOutUpload',
+//     method: 'get',
+//     params
+//   })
+// }
+
+// 鍑哄叆搴撳垪琛ㄧ粺璁� - H5
+export function pageCount (data) {
+  return request.post('/ext/wOutboundExt/pageCount', data)
+}
+// export function pageCount(data: any): Promise<any> {
+//   return httpRequest({
+//     url: 'ext/wOutboundExt/pageCount',
+//     method: 'post',
+//     data
+//   })
+// }
+
+// 杞簱鍒楄〃缁熻 - H5
+export function ZKPageCount (data) {
+  return request.post('/ext/wTransferExt/pageCount', data)
+}
+// export function ZKPageCount(data: any): Promise<any> {
+//   return httpRequest({
+//     url: 'ext/wTransferExt/pageCount',
+//     method: 'post',
+//     data
+//   })
+// }
+
+/**
+ *
+ * @param params id 鍑哄叆搴搃d
+ * @returns
+ */
+export function getBoundDetail(params) {
+	return request.get('/ext/wOutboundExt/findById', { params })
+}
+// export function getBoundDetail(params: any): Promise<any> {
+//   return httpRequest({
+//     url: '/ext/wOutboundExt/findById',
+//     method: 'get',
+//     params
+//   })
+// }
+/**
+ * 鍙栨秷鍑哄叆搴撳崟鎹�
+ * @param params id 鍑哄叆搴搃d
+ * @returns
+ */
+export function cancelBound(params) {
+	return request.get('/ext/wOutboundExt/cancel', { params })
+}
+// export function cancelBound(params: any): Promise<any> {
+//   return httpRequest({
+//     url: '/ext/wOutboundExt/cancel',
+//     method: 'get',
+//     params
+//   })
+// }

--
Gitblit v1.9.3