From a36851a4b747c88aea40916148e89a1511aaf084 Mon Sep 17 00:00:00 2001 From: yyb <995253665@qq.com> Date: 星期二, 22 七月 2025 10:08:46 +0800 Subject: [PATCH] 领料/取消领料 --- pages/storeManagement/CancelMaterialRequisition/index.vue | 4 ++-- pages/storeManagement/MaterialRequisition/index.vue | 4 ++-- pages/sys/home/index.vue | 30 +++++++++++++++--------------- common/http.api.js | 13 ++++++++++++- 4 files changed, 31 insertions(+), 20 deletions(-) diff --git a/common/http.api.js b/common/http.api.js index 164c0ab..38a0be5 100644 --- a/common/http.api.js +++ b/common/http.api.js @@ -551,7 +551,18 @@ createMain: (params = {}) => vm.$u.post('/mes/weighingVerification/createMain', params), // 鏍哥鍗曞彿 getWeighingOrder: (params = {}) => vm.$u.get('/mes/weighingVerification/pageVerificationMain', params), - } + }, + // 鍙栨秷棰嗘枡 + cancelMaterialRequisition: { + // 鍙栨秷棰嗘枡纭 + cancelMaterialRequisition: (params = {}) => vm.$u.get('/mes/weighingVerification/cancelMaterialRequisition', params), + }, + // 棰嗘枡 + materialRequisition: { + // 棰嗘枡纭 + materialRequisition: (params = {}) => vm.$u.get('/mes/weighingVerification/materialRequisition', params), + }, + }; } diff --git a/pages/storeManagement/CancelMaterialRequisition/index.vue b/pages/storeManagement/CancelMaterialRequisition/index.vue index 31cd906..7d852d2 100644 --- a/pages/storeManagement/CancelMaterialRequisition/index.vue +++ b/pages/storeManagement/CancelMaterialRequisition/index.vue @@ -157,8 +157,8 @@ }, confirm() { // // 澶勭悊纭閫昏緫 - // this.$u.api.shiftingParking - // .hasScanSn({ + // this.$u.api.cancelMaterialRequisition + // .cancelMaterialRequisition({ // ...this.detailedList, // }) // .then((res) => { diff --git a/pages/storeManagement/MaterialRequisition/index.vue b/pages/storeManagement/MaterialRequisition/index.vue index 653d809..3e6da75 100644 --- a/pages/storeManagement/MaterialRequisition/index.vue +++ b/pages/storeManagement/MaterialRequisition/index.vue @@ -157,8 +157,8 @@ }, confirm() { // // 澶勭悊纭閫昏緫 - // this.$u.api.shiftingParking - // .hasScanSn({ + // this.$u.api.materialRequisition + // .materialRequisition({ // ...this.detailedList, // }) // .then((res) => { diff --git a/pages/sys/home/index.vue b/pages/sys/home/index.vue index dafa437..92e1cfe 100644 --- a/pages/sys/home/index.vue +++ b/pages/sys/home/index.vue @@ -84,21 +84,21 @@ // }, ] }, - { - title: '浠撳簱绠$悊', - list: [ - { - name: '棰嗘枡', - url: '/pages/storeManagement/MaterialRequisition/index', - icon: 'eleven' - }, - { - name: '鍙栨秷棰嗘枡', - url: '/pages/storeManagement/CancelMaterialRequisition/index', - icon: 'twelve' - }, - ] - } + // { + // title: '浠撳簱绠$悊', + // list: [ + // { + // name: '棰嗘枡', + // url: '/pages/storeManagement/MaterialRequisition/index', + // icon: 'eleven' + // }, + // { + // name: '鍙栨秷棰嗘枡', + // url: '/pages/storeManagement/CancelMaterialRequisition/index', + // icon: 'twelve' + // }, + // ] + // } ] }; }, -- Gitblit v1.9.3