From 0b996ac7581e451808a1779baa2d5060cfb5cf52 Mon Sep 17 00:00:00 2001 From: hwj Date: Fri, 26 Jun 2026 18:52:46 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=BA=93=E5=AD=98=E8=B0=83?= =?UTF-8?q?=E6=8B=A8=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/materialMove.js | 49 ++ src/pages.json | 28 + .../pages/materialMove/create.vue | 287 +++++++++ .../pages/materialMove/index.vue | 495 +++++++++++++++ .../pages/materialMove/productConfirm.vue | 586 ++++++++++++++++++ .../pages/materialMove/productSelect.vue | 177 ++++++ src/utils/permissionMenu.js | 5 + 7 files changed, 1627 insertions(+) create mode 100644 src/api/mes/materialMove.js create mode 100644 src/pages_function/pages/materialMove/create.vue create mode 100644 src/pages_function/pages/materialMove/index.vue create mode 100644 src/pages_function/pages/materialMove/productConfirm.vue create mode 100644 src/pages_function/pages/materialMove/productSelect.vue diff --git a/src/api/mes/materialMove.js b/src/api/mes/materialMove.js new file mode 100644 index 0000000..86cf263 --- /dev/null +++ b/src/api/mes/materialMove.js @@ -0,0 +1,49 @@ +import request from '@/utils/request' + +export function createMaterialMove(data) { + return request({ + url: '/admin-api/erp/stock-move/create', + method: 'post', + data + }) +} + +export function getMaterialMovePage(params = {}) { + return request({ + url: '/admin-api/erp/stock-move/page', + method: 'get', + params + }) +} + +export function submitMaterialMove(data) { + return request({ + url: '/admin-api/erp/stock-move/submit', + method: 'put', + data + }) +} + +export function auditMaterialMove(data) { + return request({ + url: '/admin-api/erp/stock-move/audit', + method: 'put', + data + }) +} + +export function getMoveProductPage(params = {}) { + return request({ + url: '/admin-api/erp/product/page', + method: 'get', + params + }) +} + +export function getProductStockList(productId) { + return request({ + url: '/admin-api/erp/stock-move/product-stock-list', + method: 'get', + params: { productId } + }) +} diff --git a/src/pages.json b/src/pages.json index a12622d..03fe503 100644 --- a/src/pages.json +++ b/src/pages.json @@ -703,6 +703,34 @@ "navigationStyle": "custom" } }, + { + "path": "materialMove/index", + "style": { + "navigationBarTitleText": "\u5e93\u5b58\u8c03\u62e8", + "navigationStyle": "custom" + } + }, + { + "path": "materialMove/create", + "style": { + "navigationBarTitleText": "\u65b0\u589e\u5e93\u5b58\u8c03\u62e8", + "navigationStyle": "custom" + } + }, + { + "path": "materialMove/productConfirm", + "style": { + "navigationBarTitleText": "\u786e\u8ba4\u8c03\u62e8\u7269\u6599", + "navigationStyle": "custom" + } + }, + { + "path": "materialMove/productSelect", + "style": { + "navigationBarTitleText": "\u9009\u62e9\u7269\u6599", + "navigationStyle": "custom" + } + }, { "path": "sparepartCheck/index", "style": { diff --git a/src/pages_function/pages/materialMove/create.vue b/src/pages_function/pages/materialMove/create.vue new file mode 100644 index 0000000..deb36ad --- /dev/null +++ b/src/pages_function/pages/materialMove/create.vue @@ -0,0 +1,287 @@ +