From 01ecc2e30e948f45926442312a9f021c51a78527 Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Mon, 21 Feb 2022 13:50:53 +0800 Subject: [PATCH] xiugai --- hb_client/src/api/mtm.js | 31 + hb_client/src/views/mtm/materialDetail.vue | 713 ++++++++++++------- hb_client/src/views/mtm/step.vue | 11 +- hb_client/src/views/personnel/attendance.vue | 21 +- 4 files changed, 509 insertions(+), 267 deletions(-) diff --git a/hb_client/src/api/mtm.js b/hb_client/src/api/mtm.js index e1adb34..5f6ab9c 100644 --- a/hb_client/src/api/mtm.js +++ b/hb_client/src/api/mtm.js @@ -377,3 +377,34 @@ export function deletetechdoc(id, data) { }) } +//装箱 +//记录表格字段表 + +export function getpackitemList(query) { + return request({ + url: '/mtm/packitem/', + method: 'get', + params: query + }) +} +export function createpackitem(data) { + return request({ + url: '/mtm/packitem/', + method: 'post', + data + }) +} +export function updatepackitem(id, data) { + return request({ + url: `/mtm/packitem/${id}/`, + method: 'put', + data + }) +} +export function deletepackitem(id, data) { + return request({ + url: `/mtm/packitem/${id}/`, + method: 'delete', + data + }) +} \ No newline at end of file diff --git a/hb_client/src/views/mtm/materialDetail.vue b/hb_client/src/views/mtm/materialDetail.vue index 52233cc..65a4bb0 100644 --- a/hb_client/src/views/mtm/materialDetail.vue +++ b/hb_client/src/views/mtm/materialDetail.vue @@ -1,223 +1,352 @@ diff --git a/hb_client/src/views/mtm/step.vue b/hb_client/src/views/mtm/step.vue index 3cdebbe..7dcd245 100644 --- a/hb_client/src/views/mtm/step.vue +++ b/hb_client/src/views/mtm/step.vue @@ -94,7 +94,7 @@ - + { if (response.data) { this.recordformList = response.data; diff --git a/hb_client/src/views/personnel/attendance.vue b/hb_client/src/views/personnel/attendance.vue index d76e1dd..9a57c18 100644 --- a/hb_client/src/views/personnel/attendance.vue +++ b/hb_client/src/views/personnel/attendance.vue @@ -88,7 +88,10 @@ -
+ + + +
年、月 @@ -99,8 +102,6 @@ 查询
- - @@ -134,7 +136,7 @@ - +