From a4594ad8ff7895c7a5e823c8d86d0e6bb95718b4 Mon Sep 17 00:00:00 2001 From: x_z Date: Fri, 14 Apr 2023 16:50:01 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E5=BA=93=E5=AD=98=E9=A2=84?= =?UTF-8?q?=E8=AD=A6=E4=BF=A1=E6=81=AF=EF=BC=8C=E9=A2=84=E9=AA=8C=E6=94=B6?= =?UTF-8?q?=E5=85=A5=E5=BA=93=E6=9F=A5=E8=AF=A2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inventory/InvSupPreInSerach.vue | 84 ++--------------------- src/views/remind/invRemindMsg.vue | 33 ++++----- src/views/remind/supInvRemindMsg.vue | 31 ++++----- 3 files changed, 30 insertions(+), 118 deletions(-) diff --git a/src/views/inventory/InvSupPreInSerach.vue b/src/views/inventory/InvSupPreInSerach.vue index c1b6bc0..303f1c5 100644 --- a/src/views/inventory/InvSupPreInSerach.vue +++ b/src/views/inventory/InvSupPreInSerach.vue @@ -100,7 +100,7 @@ - @@ -354,6 +354,7 @@ export default { batchNo: null, ylqxzcrbarmc: null, zczbhhzbapzbh: null, + manufactory: null, page: 1, limit: 10 }, @@ -372,25 +373,6 @@ export default { }, components: {}, methods: { - onReset() { - this.$router.push({ - path: "", - }); - this.getList(); - }, - onSubmit() { - this.loading = true; - - if (this.auditDateRange !== null) { - this.codeQuery.startAduditTime = this.auditDateRange[0]; - this.codeQuery.endAduditTime = this.auditDateRange[1]; - } else { - this.codeQuery.startAduditTime = null; - this.codeQuery.endAduditTime = null; - } - this.codeQuery.page = 1; - this.getList(); - }, hideSearch() { this.showSearch = !this.showSearch; }, @@ -428,64 +410,6 @@ export default { this.codeDetailList = []; this.codeTotal = 0; }, - //获取订单列表 - getList() { - this.loading = true; - this.currentRow = {billNo: ""}; - this.clearDetailList(); - this.filterQuery.fromCorp = store.getters.customerId - filterPrein(this.filterQuery) - .then((response) => { - this.loading = false; - if (response.code === 20000) { - this.list = response.data.list || []; - this.total = response.data.total || 0; - } else { - this.$message.error(response.message); - } - }) - .catch((error) => { - this.$message.error(error.message) - this.loading = false; - this.list = []; - this.total = 0; - }); - }, - deleteOrders(data) { - this.loading = true; - let delQuery = { - billNo: data, - } - deleterPrein(delQuery) - .then((response) => { - - if (response.code == 20000) { - this.getList(); - this.$message({ - type: "success", - message: "删除成功!", - }); - } else if (response.code == 520) { - this.$message.error("新增扫码单据列表已不存在该扫码单据!"); - this.getList(); - } - - }) - .catch(() => { - }); - }, - deleteDialog(row) { - this.$confirm("此操作将永久删除该订单, 是否继续?", "提示", { - confirmButtonText: "确定", - cancelButtonText: "取消", - type: "warning", - }) - .then(() => { - this.deleteOrders(row.billNo); - }) - .catch(() => { - }); - }, onCodeReset() { this.codeQuery = { orderIdFk: null, @@ -498,7 +422,7 @@ export default { keyup_submit(event) { this.filterQuery.page = 1; - this.getList(); + this.getCodeDetailList(); event.target.select(); }, @@ -572,7 +496,7 @@ export default { created() { this.codeQuery.invCode=this.$store.getters.locInvCode; this.getInvList(); - this.getList(); + this.getCodeDetailList(); let supId = this.$store.getters.customerId; if (supId == "110") { this.showSup = true; diff --git a/src/views/remind/invRemindMsg.vue b/src/views/remind/invRemindMsg.vue index 0d598d4..1dafb62 100644 --- a/src/views/remind/invRemindMsg.vue +++ b/src/views/remind/invRemindMsg.vue @@ -39,29 +39,15 @@ - + - - - - + @@ -302,6 +288,7 @@ export default { return { showSearch: true, filterQuery: { + productName: null, relId: null, batchNo: null, ggxh: null, @@ -355,7 +342,15 @@ export default { path: "", }); this.filterQuery = { - paramStatus: 1, + productName: null, + relId: null, + batchNo: null, + ggxh: null, + status: 1, + ignoreStatus: 0, + invCode: this.$store.getters.locInvCode, + invSpaceCode: null, + type: null, page: 1, limit: 20, }; diff --git a/src/views/remind/supInvRemindMsg.vue b/src/views/remind/supInvRemindMsg.vue index ad0e40d..568846d 100644 --- a/src/views/remind/supInvRemindMsg.vue +++ b/src/views/remind/supInvRemindMsg.vue @@ -5,29 +5,13 @@ - + - - - - + @@ -262,6 +246,7 @@ export default { return { showSearch: true, filterQuery: { + productName: null, relId: null, batchNo: null, ggxh: null, @@ -313,7 +298,15 @@ export default { path: "", }); this.filterQuery = { - paramStatus: 1, + productName: null, + relId: null, + batchNo: null, + ggxh: null, + status: 1, + ignoreStatus: 0, + invCode: this.$store.getters.locInvCode, + invSpaceCode: null, + type: null, page: 1, limit: 20, };