From a4d6d3efbc35c90ac4accec4742acfc72467e2c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E6=98=93?= Date: Fri, 26 Jul 2024 17:33:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=9B=E5=85=89=E4=BB=93=E5=BA=93=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wmsManagement/wmPolishInventory.js | 36 +++ .../WmPolishInventory/PolishFQC.vue | 8 + .../WmPolishInventory/ThePartNumberSelect.vue | 2 + .../wmsManagement/WmPolishInventory/index.vue | 301 ++++++++++++------ 4 files changed, 246 insertions(+), 101 deletions(-) create mode 100644 src/views/wmsManagement/WmPolishInventory/PolishFQC.vue diff --git a/src/api/wmsManagement/wmPolishInventory.js b/src/api/wmsManagement/wmPolishInventory.js index da0319e..322d5df 100644 --- a/src/api/wmsManagement/wmPolishInventory.js +++ b/src/api/wmsManagement/wmPolishInventory.js @@ -76,4 +76,40 @@ export function doWmPolishWarehousing(data) { method: 'post', data: data, }) +} + +/** +* 抛光库手动出库 +* @param data +*/ +export function doWmPolishRetrieval(data) { + return request({ + url: '/mes/wm/WmPolishInventory/doWmPolishRetrieval', + method: 'post', + data: data, + }) +} + +/** +* 抛光库盘点 +* @param data +*/ +export function doWmPolishStocktaking(data) { + return request({ + url: '/mes/wm/WmPolishInventory/doWmPolishStocktaking', + method: 'post', + data: data, + }) +} + +/** +* 抛光库操作记录 +* @param data +*/ +export function getWmPolishRecordList(query) { + return request({ + url: '/mes/wm/WmPolishRecord/list', + method: 'get', + params: query, + }) } \ No newline at end of file diff --git a/src/views/wmsManagement/WmPolishInventory/PolishFQC.vue b/src/views/wmsManagement/WmPolishInventory/PolishFQC.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/src/views/wmsManagement/WmPolishInventory/PolishFQC.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/src/views/wmsManagement/WmPolishInventory/ThePartNumberSelect.vue b/src/views/wmsManagement/WmPolishInventory/ThePartNumberSelect.vue index 836a36a..2757419 100644 --- a/src/views/wmsManagement/WmPolishInventory/ThePartNumberSelect.vue +++ b/src/views/wmsManagement/WmPolishInventory/ThePartNumberSelect.vue @@ -4,6 +4,7 @@ style="width: 400px" @change="selectChange" v-bind="$attrs" + v-on="$listeners" v-model="value" filterable remote @@ -20,6 +21,7 @@ import { getMaterialSelectOption } from '@/api/wmsManagement/wmPolishInventory.js' export default { name: 'ThePartNumberSelect', + inheritAttrs: false, data() { return { options: [], diff --git a/src/views/wmsManagement/WmPolishInventory/index.vue b/src/views/wmsManagement/WmPolishInventory/index.vue index 3512013..f8ab7a2 100644 --- a/src/views/wmsManagement/WmPolishInventory/index.vue +++ b/src/views/wmsManagement/WmPolishInventory/index.vue @@ -44,34 +44,25 @@ - 抛光零件入库 - - + @@ -89,7 +80,7 @@ @@ -154,10 +145,14 @@ title="编辑" @click="handleUpdate(scope.row)" > --> - 记录 - 盘点 - + - - - + @@ -201,32 +190,13 @@ - + - - - - - + - - - + 确 定 + + + + + + + + + + + + + + + + + 搜索 + + + + + + + + + + + + + + + +