From 17e3a595e248f3c3f995e8eb9663eefd1dc483c1 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Wed, 30 Aug 2023 17:21:13 +0800 Subject: [PATCH 1/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 126ba54..2aaf04a 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 0b9800a..58a4f7a 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 0000000..358efb7 --- /dev/null +++ b/src/views/technology/recipe/singleBom.vue @@ -0,0 +1,247 @@ + + + From 72b56c743b38b46d62cf6675453b7c3d8c7b3bba Mon Sep 17 00:00:00 2001 From: wws <18630710203@163.com> Date: Wed, 30 Aug 2023 17:28:27 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=AE=A1=E5=88=92=E6=A8=A1=E5=9D=97(?= =?UTF-8?q?=E5=B7=A5=E5=8D=95=E6=89=93=E5=8D=B0=E5=8A=9F=E8=83=BD=E4=BC=98?= =?UTF-8?q?=E5=8C=96)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/plan/workorder/index.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/views/plan/workorder/index.vue b/src/views/plan/workorder/index.vue index 80c9d47..860c0f0 100644 --- a/src/views/plan/workorder/index.vue +++ b/src/views/plan/workorder/index.vue @@ -280,6 +280,17 @@ +
+ + + SAP-No:{{printData.SAPNo}} + Z-PM-F-030-A.1 + + + 制单人:{{printData.manufacture}} + 审核人:{{printData.auditor}} + + @@ -451,6 +462,9 @@ export default { printable: 'printFrom', ignore: ['no-print'], workCenter: "暂无数据", + SAPNo: null, + manufacture: null, + auditor: null, printDate: null, factory: null, productDate: null, @@ -610,6 +624,7 @@ export default { // 打开工单信息对话框 this.printDialogVisible = true; this.printData.printDate = moment(new Date()).format('YYYY.MM.DD'); + this.printData.manufacture = this.$store.state.user.name; this.newWorkerLoading = true // 设置加载状态为true,表示正在加载 this.refreshNewWorkerTable = false // 先将refreshProTable设置为false,隐藏表格 getWorkOrders(this.selectWork.workorderCode).then(response => { @@ -1108,5 +1123,8 @@ export default { } .my-print-table { +} +.my-print-foot { + margin-top: 20px; }