From 85f352036fc3b788bd670821bb2b11dcce405f72 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Wed, 30 Aug 2023 17:13:09 +0800 Subject: [PATCH 1/2] =?UTF-8?q?wms=E9=83=A8=E5=88=86=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BB=A3=E7=A0=811.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/emnews.js | 44 +++ src/api/wms/emsn.js | 44 +++ src/api/wms/matenews.js | 44 +++ src/api/wms/matetowsn.js | 44 +++ src/views/wms/emnews/index.vue | 565 ++++++++++++++++++++++++++++++ src/views/wms/emsn/index.vue | 501 ++++++++++++++++++++++++++ src/views/wms/matenews/index.vue | 557 +++++++++++++++++++++++++++++ src/views/wms/matetowsn/index.vue | 492 ++++++++++++++++++++++++++ 8 files changed, 2291 insertions(+) create mode 100644 src/api/wms/emnews.js create mode 100644 src/api/wms/emsn.js create mode 100644 src/api/wms/matenews.js create mode 100644 src/api/wms/matetowsn.js create mode 100644 src/views/wms/emnews/index.vue create mode 100644 src/views/wms/emsn/index.vue create mode 100644 src/views/wms/matenews/index.vue create mode 100644 src/views/wms/matetowsn/index.vue diff --git a/src/api/wms/emnews.js b/src/api/wms/emnews.js new file mode 100644 index 00000000..d254b1fe --- /dev/null +++ b/src/api/wms/emnews.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询白胚库存主表列表 +export function listEmnews(query) { + return request({ + url: '/wms/emnews/list', + method: 'get', + params: query + }); +} + +// 查询白胚库存主表详细 +export function getEmnews(storageId) { + return request({ + url: '/wms/emnews/' + storageId, + method: 'get' + }); +} + +// 新增白胚库存主表 +export function addEmnews(data) { + return request({ + url: '/wms/emnews', + method: 'post', + data: data + }); +} + +// 修改白胚库存主表 +export function updateEmnews(data) { + return request({ + url: '/wms/emnews', + method: 'put', + data: data + }); +} + +// 删除白胚库存主表 +export function delEmnews(storageId) { + return request({ + url: '/wms/emnews/' + storageId, + method: 'delete' + }); +} diff --git a/src/api/wms/emsn.js b/src/api/wms/emsn.js new file mode 100644 index 00000000..4ad938a2 --- /dev/null +++ b/src/api/wms/emsn.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询白胚库存明细表列表 +export function listEmsn(query) { + return request({ + url: '/wms/emsn/list', + method: 'get', + params: query + }); +} + +// 查询白胚库存明细表详细 +export function getEmsn(emOrderInSnId) { + return request({ + url: '/wms/emsn/' + emOrderInSnId, + method: 'get' + }); +} + +// 新增白胚库存明细表 +export function addEmsn(data) { + return request({ + url: '/wms/emsn', + method: 'post', + data: data + }); +} + +// 修改白胚库存明细表 +export function updateEmsn(data) { + return request({ + url: '/wms/emsn', + method: 'put', + data: data + }); +} + +// 删除白胚库存明细表 +export function delEmsn(emOrderInSnId) { + return request({ + url: '/wms/emsn/' + emOrderInSnId, + method: 'delete' + }); +} diff --git a/src/api/wms/matenews.js b/src/api/wms/matenews.js new file mode 100644 index 00000000..da1312ca --- /dev/null +++ b/src/api/wms/matenews.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询包材库存主表列表 +export function listMatenews(query) { + return request({ + url: '/wms/matenews/list', + method: 'get', + params: query + }); +} + +// 查询包材库存主表详细 +export function getMatenews(storageId) { + return request({ + url: '/wms/matenews/' + storageId, + method: 'get' + }); +} + +// 新增包材库存主表 +export function addMatenews(data) { + return request({ + url: '/wms/matenews', + method: 'post', + data: data + }); +} + +// 修改包材库存主表 +export function updateMatenews(data) { + return request({ + url: '/wms/matenews', + method: 'put', + data: data + }); +} + +// 删除包材库存主表 +export function delMatenews(storageId) { + return request({ + url: '/wms/matenews/' + storageId, + method: 'delete' + }); +} diff --git a/src/api/wms/matetowsn.js b/src/api/wms/matetowsn.js new file mode 100644 index 00000000..398dbc20 --- /dev/null +++ b/src/api/wms/matetowsn.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询包材库存明细表列表 +export function listMatetowsn(query) { + return request({ + url: '/wms/matetowsn/list', + method: 'get', + params: query + }); +} + +// 查询包材库存明细表详细 +export function getMatetowsn(mateOrderInSnId) { + return request({ + url: '/wms/matetowsn/' + mateOrderInSnId, + method: 'get' + }); +} + +// 新增包材库存明细表 +export function addMatetowsn(data) { + return request({ + url: '/wms/matetowsn', + method: 'post', + data: data + }); +} + +// 修改包材库存明细表 +export function updateMatetowsn(data) { + return request({ + url: '/wms/matetowsn', + method: 'put', + data: data + }); +} + +// 删除包材库存明细表 +export function delMatetowsn(mateOrderInSnId) { + return request({ + url: '/wms/matetowsn/' + mateOrderInSnId, + method: 'delete' + }); +} diff --git a/src/views/wms/emnews/index.vue b/src/views/wms/emnews/index.vue new file mode 100644 index 00000000..c07eeed2 --- /dev/null +++ b/src/views/wms/emnews/index.vue @@ -0,0 +1,565 @@ + + + diff --git a/src/views/wms/emsn/index.vue b/src/views/wms/emsn/index.vue new file mode 100644 index 00000000..432445a0 --- /dev/null +++ b/src/views/wms/emsn/index.vue @@ -0,0 +1,501 @@ + + + diff --git a/src/views/wms/matenews/index.vue b/src/views/wms/matenews/index.vue new file mode 100644 index 00000000..c2c6ff1d --- /dev/null +++ b/src/views/wms/matenews/index.vue @@ -0,0 +1,557 @@ + + + diff --git a/src/views/wms/matetowsn/index.vue b/src/views/wms/matetowsn/index.vue new file mode 100644 index 00000000..1fe2ddfa --- /dev/null +++ b/src/views/wms/matetowsn/index.vue @@ -0,0 +1,492 @@ + + + From 17e3a595e248f3c3f995e8eb9663eefd1dc483c1 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Wed, 30 Aug 2023 17:21:13 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=80=89=E8=BE=85=E5=8A=A9=E8=AE=BE?= =?UTF-8?q?=E5=A4=87BOM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/technology/process/singleBom.vue | 46 ++-- src/views/technology/recipe/content.vue | 54 +++- src/views/technology/recipe/single.vue | 301 +++++++++++++++++++++ src/views/technology/recipe/singleBom.vue | 247 +++++++++++++++++ 4 files changed, 620 insertions(+), 28 deletions(-) create mode 100644 src/views/technology/recipe/single.vue create mode 100644 src/views/technology/recipe/singleBom.vue diff --git a/src/views/technology/process/singleBom.vue b/src/views/technology/process/singleBom.vue index 126ba54a..2aaf04a5 100644 --- a/src/views/technology/process/singleBom.vue +++ b/src/views/technology/process/singleBom.vue @@ -8,7 +8,7 @@ > - + @@ -84,27 +84,27 @@ export default { // components: { Treeselect }, data() { return { - treeData: [{ - id: '1', - label: 'BOM物料类别', - children: [{ - id: 'equ_type_lg', - label: '料罐' - }, { - id: 'equ_type_cxj', - label: '成型机' - }, { - id: 'equ_type_hf', - label: '烘房' - }, { - id: 'equ_type_spj', - label: '收坯机' - }, { - id: 'equ_type_bzx', - label: '包装线' - } - ] - }], + // treeData: [{ + // id: '1', + // label: 'BOM物料类别', + // children: [{ + // id: 'equ_type_lg', + // label: '料罐' + // }, { + // id: 'equ_type_cxj', + // label: '成型机' + // }, { + // id: 'equ_type_hf', + // label: '烘房' + // }, { + // id: 'equ_type_spj', + // label: '收坯机' + // }, { + // id: 'equ_type_bzx', + // label: '包装线' + // } + // ] + // }], showFlag:false, // 选中数组 selectedItemId: undefined, diff --git a/src/views/technology/recipe/content.vue b/src/views/technology/recipe/content.vue index 0b9800a2..58a4f7a6 100644 --- a/src/views/technology/recipe/content.vue +++ b/src/views/technology/recipe/content.vue @@ -104,12 +104,18 @@ - + + + + - + + + + @@ -157,16 +163,16 @@ 取 消 - diff --git a/src/views/technology/recipe/singleBom.vue b/src/views/technology/recipe/singleBom.vue new file mode 100644 index 00000000..358efb72 --- /dev/null +++ b/src/views/technology/recipe/singleBom.vue @@ -0,0 +1,247 @@ + + +