From 4cb1c3ad6c88930e1d13915f14692a452ea417b4 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Mon, 16 Oct 2023 14:15:24 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E5=A4=87=E5=93=81=E5=A4=87=E4=BB=B6?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/device/sparePartsLedger.js | 44 ++ src/views/device/sparePartsLedger/index.vue | 538 ++++++++++++++++++++ 2 files changed, 582 insertions(+) create mode 100644 src/api/device/sparePartsLedger.js create mode 100644 src/views/device/sparePartsLedger/index.vue diff --git a/src/api/device/sparePartsLedger.js b/src/api/device/sparePartsLedger.js new file mode 100644 index 00000000..2fb0e6a1 --- /dev/null +++ b/src/api/device/sparePartsLedger.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询备品备件台账管理列表 +export function listSparePartsLedger(query) { + return request({ + url: '/device/sparePartsLedger/list', + method: 'get', + params: query + }); +} + +// 查询备品备件台账管理详细 +export function getSparePartsLedger(storageId) { + return request({ + url: '/device/sparePartsLedger/' + storageId, + method: 'get' + }); +} + +// 新增备品备件台账管理 +export function addSparePartsLedger(data) { + return request({ + url: '/device/sparePartsLedger', + method: 'post', + data: data + }); +} + +// 修改备品备件台账管理 +export function updateSparePartsLedger(data) { + return request({ + url: '/device/sparePartsLedger', + method: 'put', + data: data + }); +} + +// 删除备品备件台账管理 +export function delSparePartsLedger(storageId) { + return request({ + url: '/device/sparePartsLedger/' + storageId, + method: 'delete' + }); +} diff --git a/src/views/device/sparePartsLedger/index.vue b/src/views/device/sparePartsLedger/index.vue new file mode 100644 index 00000000..007046e6 --- /dev/null +++ b/src/views/device/sparePartsLedger/index.vue @@ -0,0 +1,538 @@ + + + From fa27045f502b2853464df524976e1e00cb2b2a17 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Mon, 16 Oct 2023 17:06:48 +0800 Subject: [PATCH 2/4] =?UTF-8?q?1=E3=80=81=E7=9C=8B=E6=9D=BF=E6=96=99?= =?UTF-8?q?=E7=BD=90=E8=BD=A6=E6=95=B0=E8=8E=B7=E5=8F=96=EF=BC=9B2?= =?UTF-8?q?=E3=80=81=E5=B0=8F=E6=97=B6=E4=BA=A7=E9=87=8F=E5=8A=A0=E7=8F=AD?= =?UTF-8?q?=E6=AC=A1=E3=80=81=E5=88=86=E9=92=9F=E6=95=B0=E5=81=9A=E6=B4=BB?= =?UTF-8?q?,=E5=AF=BC=E5=87=BA=E5=8A=9F=E8=83=BD=EF=BC=9B3=E3=80=81?= =?UTF-8?q?=E5=B7=A5=E5=BA=8F=E5=AE=8C=E6=88=90=E8=AE=B0=E5=BD=95=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E7=8F=AD=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/reportWork.js | 8 +++++++ src/views/mes/hourProduction/index.vue | 29 +++++++++++++++++++------- src/views/mes/processFinish/index.vue | 17 +++++++++++++-- 3 files changed, 45 insertions(+), 9 deletions(-) diff --git a/src/api/mes/reportWork.js b/src/api/mes/reportWork.js index 2f75e451..faa87dc8 100644 --- a/src/api/mes/reportWork.js +++ b/src/api/mes/reportWork.js @@ -98,3 +98,11 @@ export function getHourProductionList(query) { params: query }); } + +// 获取班次信息 +export function getProShifts() { + return request({ + url: '/mes/reportWork/getProShifts/', + method: 'get' + }) + } \ No newline at end of file diff --git a/src/views/mes/hourProduction/index.vue b/src/views/mes/hourProduction/index.vue index ce3c5c55..3935551b 100644 --- a/src/views/mes/hourProduction/index.vue +++ b/src/views/mes/hourProduction/index.vue @@ -4,13 +4,20 @@ + + + + + diff --git a/src/views/quality/material/index.vue b/src/views/quality/material/index.vue new file mode 100644 index 00000000..5dd18107 --- /dev/null +++ b/src/views/quality/material/index.vue @@ -0,0 +1,270 @@ + + + diff --git a/src/views/quality/material/userbind.vue b/src/views/quality/material/userbind.vue new file mode 100644 index 00000000..1a0ca337 --- /dev/null +++ b/src/views/quality/material/userbind.vue @@ -0,0 +1,269 @@ + + + + diff --git a/src/views/quality/project/index.vue b/src/views/quality/project/index.vue new file mode 100644 index 00000000..f6e804d3 --- /dev/null +++ b/src/views/quality/project/index.vue @@ -0,0 +1,377 @@ + + + From a44e90522c8ff8943511689d8fedb2c38f169295 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Tue, 17 Oct 2023 15:08:13 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E5=A4=87=E5=93=81=E5=A4=87=E4=BB=B6?= =?UTF-8?q?=E5=87=BA=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/device/sparepartsInOutStorage.js | 44 ++ .../device/sparepartsInOutStorage/index.vue | 446 ++++++++++++++++++ 2 files changed, 490 insertions(+) create mode 100644 src/api/device/sparepartsInOutStorage.js create mode 100644 src/views/device/sparepartsInOutStorage/index.vue diff --git a/src/api/device/sparepartsInOutStorage.js b/src/api/device/sparepartsInOutStorage.js new file mode 100644 index 00000000..063d11a7 --- /dev/null +++ b/src/api/device/sparepartsInOutStorage.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询备品备件出入库列表 +export function listSparepartsInOutStorage(query) { + return request({ + url: '/device/sparepartsInOutStorage/list', + method: 'get', + params: query + }); +} + +// 查询备品备件出入库详细 +export function getSparepartsInOutStorage(rawOrderInSnId) { + return request({ + url: '/device/sparepartsInOutStorage/' + rawOrderInSnId, + method: 'get' + }); +} + +// 新增备品备件出入库 +export function addSparepartsInOutStorage(data) { + return request({ + url: '/device/sparepartsInOutStorage', + method: 'post', + data: data + }); +} + +// 修改备品备件出入库 +export function updateSparepartsInOutStorage(data) { + return request({ + url: '/device/sparepartsInOutStorage', + method: 'put', + data: data + }); +} + +// 删除备品备件出入库 +export function delSparepartsInOutStorage(rawOrderInSnId) { + return request({ + url: '/device/sparepartsInOutStorage/' + rawOrderInSnId, + method: 'delete' + }); +} diff --git a/src/views/device/sparepartsInOutStorage/index.vue b/src/views/device/sparepartsInOutStorage/index.vue new file mode 100644 index 00000000..0e9e1aa2 --- /dev/null +++ b/src/views/device/sparepartsInOutStorage/index.vue @@ -0,0 +1,446 @@ + + +