From eb1c5d8d7636ed072d42874b409c55297d8d6b1e Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Fri, 26 Apr 2024 10:25:38 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=A2=86=E6=96=99=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-screen/src/api/dialog.js | 4 ++++ .../src/components/home/getMaterialsDialog.vue | 1 - .../components/home/materialAnalysisDialog.vue | 15 +++++++-------- .../src/components/home/returnMaterialsDialog.vue | 1 - sgzb-screen/src/components/home/rightOne.vue | 10 ++++------ .../src/components/home/scrapAnalysisDialog.vue | 1 - 6 files changed, 15 insertions(+), 17 deletions(-) diff --git a/sgzb-screen/src/api/dialog.js b/sgzb-screen/src/api/dialog.js index 05de6c69..edabfa03 100644 --- a/sgzb-screen/src/api/dialog.js +++ b/sgzb-screen/src/api/dialog.js @@ -8,6 +8,7 @@ const URL_PROJECT_LIST = '/screen/material/agreementInfo/getProjectList' const URL_SCRAP_ANALYSIS = '/screen/base/largeScreen/home/getScrapAnalysisByMonth/details' const URL_TOTAL_OWNERSHIP = '/screen/base/largeScreen/home/getTotalOwnership/details' const URL_ACCEPTANCE_STORAGE = '/screen/base/largeScreen/home/getAcceptanceStorage/details' +const URL_PICKING_ANALYSIS = '/screen/base/largeScreen/home/getPickingAnalysisByMonth/details' // 设备类型 export const getTypeList = params => GET(URL_TYPE_LIST, params) @@ -32,3 +33,6 @@ export const getTotalOwnership = data => POST(URL_TOTAL_OWNERSHIP, data) // 入库分析 export const getAcceptanceStorage = data => POST(URL_ACCEPTANCE_STORAGE, data) + +// 领料分析 +export const getPickingAnalysis = data => POST(URL_PICKING_ANALYSIS, data) \ No newline at end of file diff --git a/sgzb-screen/src/components/home/getMaterialsDialog.vue b/sgzb-screen/src/components/home/getMaterialsDialog.vue index 44e21ce7..c2607d2e 100644 --- a/sgzb-screen/src/components/home/getMaterialsDialog.vue +++ b/sgzb-screen/src/components/home/getMaterialsDialog.vue @@ -90,7 +90,6 @@ export default { data() { return { open: false, - material: false, // 领料 formData: { materialReqNo: '', materialReqUnitValue: '', diff --git a/sgzb-screen/src/components/home/materialAnalysisDialog.vue b/sgzb-screen/src/components/home/materialAnalysisDialog.vue index 37c5cdd2..4d7b66ba 100644 --- a/sgzb-screen/src/components/home/materialAnalysisDialog.vue +++ b/sgzb-screen/src/components/home/materialAnalysisDialog.vue @@ -71,7 +71,7 @@ diff --git a/sgzb-screen/src/components/home/scrapAnalysisDialog.vue b/sgzb-screen/src/components/home/scrapAnalysisDialog.vue index 61d695e9..927c6807 100644 --- a/sgzb-screen/src/components/home/scrapAnalysisDialog.vue +++ b/sgzb-screen/src/components/home/scrapAnalysisDialog.vue @@ -101,7 +101,6 @@ export default { data() { return { open: false, - material: false, // 领料 formData: { scrapCode: '', scrapSource: '', From ba5282063c97a344e32e731b1783df6d959648c4 Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Fri, 26 Apr 2024 10:56:01 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=80=80=E6=96=99=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-screen/src/api/dialog.js | 6 +- .../home/materialAnalysisDialog.vue | 1 - .../home/returnMaterialAnalysisDialog.vue | 199 ++++++++++++++++++ sgzb-screen/src/components/home/rightTwo.vue | 7 + 4 files changed, 211 insertions(+), 2 deletions(-) create mode 100644 sgzb-screen/src/components/home/returnMaterialAnalysisDialog.vue diff --git a/sgzb-screen/src/api/dialog.js b/sgzb-screen/src/api/dialog.js index edabfa03..8dde3f83 100644 --- a/sgzb-screen/src/api/dialog.js +++ b/sgzb-screen/src/api/dialog.js @@ -9,6 +9,7 @@ const URL_SCRAP_ANALYSIS = '/screen/base/largeScreen/home/getScrapAnalysisByMont const URL_TOTAL_OWNERSHIP = '/screen/base/largeScreen/home/getTotalOwnership/details' const URL_ACCEPTANCE_STORAGE = '/screen/base/largeScreen/home/getAcceptanceStorage/details' const URL_PICKING_ANALYSIS = '/screen/base/largeScreen/home/getPickingAnalysisByMonth/details' +const URL_MATERIAL_RETURN_BY_MONTH = '/screen/base/largeScreen/home/getMaterialReturnByMonth/details' // 设备类型 export const getTypeList = params => GET(URL_TYPE_LIST, params) @@ -35,4 +36,7 @@ export const getTotalOwnership = data => POST(URL_TOTAL_OWNERSHIP, data) export const getAcceptanceStorage = data => POST(URL_ACCEPTANCE_STORAGE, data) // 领料分析 -export const getPickingAnalysis = data => POST(URL_PICKING_ANALYSIS, data) \ No newline at end of file +export const getPickingAnalysis = data => POST(URL_PICKING_ANALYSIS, data) + +// 退料分析 +export const getMaterialReturnByMonth = data => POST(URL_MATERIAL_RETURN_BY_MONTH, data) \ No newline at end of file diff --git a/sgzb-screen/src/components/home/materialAnalysisDialog.vue b/sgzb-screen/src/components/home/materialAnalysisDialog.vue index 4d7b66ba..31701621 100644 --- a/sgzb-screen/src/components/home/materialAnalysisDialog.vue +++ b/sgzb-screen/src/components/home/materialAnalysisDialog.vue @@ -87,7 +87,6 @@ export default { materialReqProjectValue: '', materialReqUnitList: [], materialReqProjectList: [], - materialReqTypeList: [], }, tableData: [], tableColumn: [ diff --git a/sgzb-screen/src/components/home/returnMaterialAnalysisDialog.vue b/sgzb-screen/src/components/home/returnMaterialAnalysisDialog.vue new file mode 100644 index 00000000..24930ae2 --- /dev/null +++ b/sgzb-screen/src/components/home/returnMaterialAnalysisDialog.vue @@ -0,0 +1,199 @@ + + + + + \ No newline at end of file diff --git a/sgzb-screen/src/components/home/rightTwo.vue b/sgzb-screen/src/components/home/rightTwo.vue index 42e9d83f..31a2336e 100644 --- a/sgzb-screen/src/components/home/rightTwo.vue +++ b/sgzb-screen/src/components/home/rightTwo.vue @@ -16,6 +16,8 @@ + +