From b0da7d87fd3d12fcdfc074f43b09b38e80a2fbd2 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Tue, 29 Mar 2022 16:29:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E6=8D=AE=EF=BC=8C=E6=9D=A1=E7=A0=81?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=8C=E5=90=88=E5=B9=B6=E5=8D=95=E6=8D=AE?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/param/systemPDFTemplate.js | 1 + src/views/basic/UdiInfoManage.vue | 8 ++- src/views/basic/UdiInfoSelectLocalUdi.vue | 10 ++-- src/views/basic/UdiInfoselectErpUdi.vue | 15 +++-- .../userManage/param/systemPDFModule.vue | 55 ++++++++++++++++++- src/views/warehouse/DialogSelectUnit.vue | 29 +++++++--- src/views/warehouse/errorCode.vue | 24 ++++---- 7 files changed, 107 insertions(+), 35 deletions(-) diff --git a/src/api/param/systemPDFTemplate.js b/src/api/param/systemPDFTemplate.js index c60fcb7..53848dd 100644 --- a/src/api/param/systemPDFTemplate.js +++ b/src/api/param/systemPDFTemplate.js @@ -38,6 +38,7 @@ export function updateDetailRel(query) { } + export function getSystemPDFModules(query) { return axios({ url: "/system/pdf/module/pdfModules", diff --git a/src/views/basic/UdiInfoManage.vue b/src/views/basic/UdiInfoManage.vue index c556f0f..2d3f190 100644 --- a/src/views/basic/UdiInfoManage.vue +++ b/src/views/basic/UdiInfoManage.vue @@ -57,7 +57,7 @@ - 查询 + 查询 关联选入 @@ -857,9 +857,13 @@ export default { }; this.getList(); }, - getList() { + submit(){ this.loading = true; this.filterQuery.page = 1; + this.getList(); + }, + getList() { + getUdiInfos(this.filterQuery) .then((response) => { this.loading = false; diff --git a/src/views/basic/UdiInfoSelectLocalUdi.vue b/src/views/basic/UdiInfoSelectLocalUdi.vue index 1625193..97e1f9f 100644 --- a/src/views/basic/UdiInfoSelectLocalUdi.vue +++ b/src/views/basic/UdiInfoSelectLocalUdi.vue @@ -45,6 +45,7 @@ @@ -66,7 +67,7 @@ @@ -537,7 +538,7 @@ export default { // this.$emit("closeUdi", false); // }); } else if (response.code == 499) { - this.$confirm(response.message,{type:"warning"}) + this.$confirm(response.message, {type: "warning"}) .then(_ => { this.combine(); // combineUdi(this.combineQuery) @@ -554,7 +555,8 @@ export default { // this.$emit("closeUdi", false); // }); }) - .catch(_ => {}); + .catch(_ => { + }); } }) .catch(() => { diff --git a/src/views/basic/UdiInfoselectErpUdi.vue b/src/views/basic/UdiInfoselectErpUdi.vue index e527a3d..d64c112 100644 --- a/src/views/basic/UdiInfoselectErpUdi.vue +++ b/src/views/basic/UdiInfoselectErpUdi.vue @@ -2,12 +2,6 @@
- - - - - -
@@ -47,6 +41,13 @@ @keyup.enter.native="keyup_submit($event)" > + + + @@ -100,6 +101,7 @@ + - + + + + + + + + + + + + + + { }); }, + + handleEdit(index, row) { + this.currentCheckIndex = index; + console.log(this.currentCheckIndex) + }, + handleSave(index, row) { + this.currentCheckIndex = -1; + updateDetailRel(row).then((res) => { + if (res.code == 20000) { + this.$message.success(res.data); + } + }) + }, + }, filters: { paramStatusFilterType(paramStatus) { diff --git a/src/views/warehouse/DialogSelectUnit.vue b/src/views/warehouse/DialogSelectUnit.vue index 80f05f6..64e605b 100644 --- a/src/views/warehouse/DialogSelectUnit.vue +++ b/src/views/warehouse/DialogSelectUnit.vue @@ -12,13 +12,13 @@ >查询 - 确定 - + + + + + + + @@ -51,6 +51,17 @@ > + + +
@@ -112,8 +123,8 @@ export default { handleDetail(row) { this.curUnitRow = row; }, - selectUnit() { - this.$emit("selectSupUnit", this.curUnitRow); + selectUnit(row) { + this.$emit("selectSupUnit", row); this.$emit("closeBindDialog", true); }, }, diff --git a/src/views/warehouse/errorCode.vue b/src/views/warehouse/errorCode.vue index bea5c41..ad16e5f 100644 --- a/src/views/warehouse/errorCode.vue +++ b/src/views/warehouse/errorCode.vue @@ -11,10 +11,10 @@ >查询 - - - - + 删除 + @@ -27,7 +27,7 @@ tooltip-effect="dark" @selection-change="handleSelectionChange" > - + @@ -52,13 +52,13 @@