From 0861d579b50a2d9e582bcc958bc0e932a2f81544 Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Wed, 24 Apr 2024 11:21:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=96=99=E6=95=B0=E6=8D=AE-=E5=BC=B9?= =?UTF-8?q?=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-screen/src/api/dialog.js | 6 +- .../src/components/home/countFlopOne.vue | 2 - .../src/components/home/countFlopTwo.vue | 16 ++ .../components/home/getMaterialsDialog.vue | 1 + sgzb-screen/src/components/home/leftTwo.vue | 9 +- .../components/home/returnMaterialsDialog.vue | 232 ++++++++++++++++++ 6 files changed, 261 insertions(+), 5 deletions(-) create mode 100644 sgzb-screen/src/components/home/returnMaterialsDialog.vue diff --git a/sgzb-screen/src/api/dialog.js b/sgzb-screen/src/api/dialog.js index d2f91002..a1ab1572 100644 --- a/sgzb-screen/src/api/dialog.js +++ b/sgzb-screen/src/api/dialog.js @@ -2,15 +2,19 @@ import { POST, GET } from './index.js' const URL_TYPE_LIST = '/screen/material/returnOfMaterialsInfo/getTypeList' const URL_DETAILS = '/screen/base/largeScreen/home/getMaterialReqData/details' +const URL_RETURN_DETAILS = '/screen/base/largeScreen/home/getMaterialReturnData/details' const URL_UNIT_LIST = '/screen/material/agreementInfo/getUnitList' const URL_PROJECT_LIST = '/screen/material/agreementInfo/getProjectList' // 设备类型 export const getTypeList = params => GET(URL_TYPE_LIST, params) -// 详情 +// 领料数据 export const getDetails = data => POST(URL_DETAILS, data) +// 退料数据 +export const getReturnDetails = data => POST(URL_RETURN_DETAILS, data) + // 往来单位-下拉 export const getUnitList = params => GET(URL_UNIT_LIST, params) diff --git a/sgzb-screen/src/components/home/countFlopOne.vue b/sgzb-screen/src/components/home/countFlopOne.vue index 66854ecc..7d17a954 100644 --- a/sgzb-screen/src/components/home/countFlopOne.vue +++ b/sgzb-screen/src/components/home/countFlopOne.vue @@ -55,10 +55,8 @@ export default { }, methods: { handleClick(val) { - console.log('🚀 ~ handleClick ~ val:', val); const params = { open: true, - toolPutOut: true, maType: val } this.$refs.materialsDialog.setOpen(params); diff --git a/sgzb-screen/src/components/home/countFlopTwo.vue b/sgzb-screen/src/components/home/countFlopTwo.vue index af6fbd97..f0e82b4c 100644 --- a/sgzb-screen/src/components/home/countFlopTwo.vue +++ b/sgzb-screen/src/components/home/countFlopTwo.vue @@ -25,10 +25,17 @@
{{ suffix }}
+ + \ No newline at end of file