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/ExWarehouse.js |  252 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 252 insertions(+), 0 deletions(-)

diff --git a/minipro_standard/util/api/ExWarehouse.js b/minipro_standard/util/api/ExWarehouse.js
new file mode 100644
index 0000000..1ac22e5
--- /dev/null
+++ b/minipro_standard/util/api/ExWarehouse.js
@@ -0,0 +1,252 @@
+const http = uni.$u.http
+
+// 鍑哄叆搴撹鎯�
+export function getList(params) {
+	return http.get('/ext/wOutboundExt/findById', { params })
+}
+// export function getList(params: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wOutboundExt/findById',
+//         method: 'get',
+//         params
+//     })
+// }
+
+// 鍑哄簱/鍏ュ簱鎵弿绡瓙鐮� - H5
+export function outScanAppliances(params) {
+	return http.get('/ext/wOutboundExt/outScanAppliances', { params })
+}
+// export function outScanAppliances(params: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wOutboundExt/outScanAppliances',
+//         method: 'get',
+//         params
+//     })
+// }
+
+// 鏍规嵁杞簱鍗曡幏鍙栧嚭搴撲俊鎭� - H5
+export function getOutByWTransferId(params) {
+	return http.get('/ext/wOutboundExt/getOutByWTransferId', { params })
+}
+// export function getOutByWTransferId(params: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wOutboundExt/getOutByWTransferId',
+//         method: 'get',
+//         params
+//     })
+// }
+
+// 鍑哄簱鍗曚繚瀛�
+export function saveOut(data) {
+	return http.post('/ext/wOutboundExt/saveOut', data)
+}
+// export function saveOut(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wOutboundExt/saveOut',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鍏ュ簱鍗曚繚瀛�
+export function saveIn(data) {
+	return http.post('/ext/wOutboundExt/saveIn', data)
+}
+// export function saveIn(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wOutboundExt/saveIn',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鏍规嵁杞簱鍗曡幏鍙栧叆搴撲俊鎭�
+export function getInByWTransferId(params) {
+	return http.get('/ext/wOutboundExt/getInByWTransferId', { params })
+}
+// export function getInByWTransferId(params: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wOutboundExt/getInByWTransferId',
+//         method: 'get',
+//         params
+//     })
+// }
+
+// 鏍规嵁ID鏌ヨ璐т綅淇℃伅
+export function getLocationInfo(id) {
+	return http.get(`/ext/warehouseLocationExt/${id}`)
+}
+// export function getLocationInfo(id: string | number): Promise<any> {
+//     return httpRequest({
+//         url: `ext/warehouseLocationExt/${id}`,
+//         method: 'get'
+//     })
+// }
+
+// 鏍规嵁ID鏌ヨ璐т綅淇℃伅
+export function finishedInBill(params) {
+	return http.get('/ext/wOutboundExt/finishedInBill', { params })
+} 
+// export function finishedInBill(params: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wOutboundExt/finishedInBill',
+//         method: 'get',
+//         params
+//     })
+// }
+
+// 鑾峰彇杞簱鍗曚俊鎭�
+export function wTransferForInOut(params) {
+	return http.get('/ext/wTransferExt/wTransferForInOut', { params })
+} 
+// export function wTransferForInOut(params: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wTransferExt/wTransferForInOut',
+//         method: 'get',
+//         params
+//     })
+// }
+
+// 鑾峰彇鍑哄叆搴撳崟淇℃伅
+export function wOutBoundForInOut(params) {
+	return http.get('/ext/wOutboundExt/wOutBoundForInOut', { params })
+} 
+// export function wOutBoundForInOut(params: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wOutboundExt/wOutBoundForInOut',
+//         method: 'get',
+//         params
+//     })
+// }
+
+// 鑾峰彇杞簱鍗曚俊鎭�
+export function saveOutCK (data) {
+  return request.post('/ext/wOutboundExt/saveOut', data)
+}
+// export function saveOutCK(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wOutboundExt/saveOut',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鎻愪氦杞簱鍗曞嚭鍏ュ簱
+export function wTransferForInOutUpload(params) {
+	return http.get('/ext/wTransferExt/wTransferForInOutUpload', { params })
+} 
+// export function wTransferForInOutUpload(params: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wTransferExt/wTransferForInOutUpload',
+//         method: 'get',
+//         params
+//     })
+// }
+
+// 璋冩暣鍏ュ簱
+export function wOutBoundForStockUp (data) {
+  return request.post('/ext/wOutboundExt/wOutBoundForStockUp', data)
+}
+// export function wOutBoundForStockUp(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wOutboundExt/createForStandard',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鍑哄叆搴撲笟鍔″鐞嗘彁浜�
+export function wOutBoundForUpload(params) {
+	return http.get('/ext/wOutboundExt/wOutBoundForUpload', { params })
+}
+// export function wOutBoundForUpload(params: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wOutboundExt/wOutBoundForUpload',
+//         method: 'get',
+//         params
+//     })
+// }
+
+// 鐗╂枡鍒嗛厤淇℃伅鍒嗛〉鏌ヨ
+export function materialDistributeExt (data) {
+  return http.post('/ext/materialDistributeExt/page', data)
+}
+// export function materialDistributeExt(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/materialDistributeExt/page',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鏍规嵁鐗╂枡涓婚敭鏌ヨ鐗╂枡鍒嗛厤鏁版嵁
+export function getMaterialItem(params) {
+	return http.get('/ext/materialDistributeExt/findByMaterialId', { params })
+} 
+// export function getMaterialItem(params: any): Promise<any> {
+//     return httpRequest({
+//         url: `ext/materialDistributeExt/findByMaterialId`,
+//         method: 'get',
+//         params
+//     })
+// }
+
+// 鏍规嵁鐗╂枡鍒嗛厤涓婚敭鏌ヨ
+export function getListByMaterialId(params) {
+	return http.get('/ext/proceduresExt/getListByMaterialId', { params })
+} 
+// export function getListByMaterialId(params: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/proceduresExt/getListByMaterialId',
+//         method: 'get',
+//         params
+//     })
+// }
+
+// 鏍规嵁杞簱鍗曟煡璇㈠簱瀛�
+export function choiceStockPageByTransfer (data) {
+  return http.post('/ext/wStockExt/choiceStockPageByTransfer', data)
+}
+// export function choiceStockPageByTransfer(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wStockExt/choiceStockPageByTransfer',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 杞簱鍑哄簱涓氬姟 - H5
+export function transferToOutNew (data) {
+  return http.post('/ext/wTransferExt/transferToOutNew', data)
+}
+// export function transferToOutNew(data: any): Promise<any> {
+//     return httpRequest({
+//         url: 'ext/wTransferExt/transferToOutNew',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 杞簱鍏ュ簱涓氬姟 - H5
+export function transferToInNew (data) {
+  return http.post('/ext/wTransferExt/transferToInNew', data)
+}
+// export function transferToInNew(data: any): Promise<any> {
+//     return httpRequest({
+//         url:  '/ext/wTransferExt/transferToInNew',
+//         method: 'post',
+//         data
+//     })
+// }
+
+// 鏍规嵁渚涢渶璁″垝鏌ヨ鍙敤搴撳瓨
+export function getStockByPlansForStandard (data) {
+  return http.post('/ext/workorderRecordExt/getStockByPlansForStandard', data)
+}
+// export function getStockByPlansForStandard(data: any): Promise<any> {
+//     return httpRequest({
+//         url:  '/ext/workorderRecordExt/getStockByPlansForStandard',
+//         method: 'post',
+//         data
+//     })
+// }
\ No newline at end of file

--
Gitblit v1.9.3