From 29bd6ac6a240da374034e600c25dc61a939b2a88 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 25 Dec 2023 10:46:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BF=9B=E5=85=A5=E6=9F=90=E4=BA=9B?= =?UTF-8?q?=E5=87=BA=E5=85=A5=E5=BA=93=E8=AE=B0=E5=BD=95=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E7=94=A8=E5=81=9A=E9=99=90=E5=88=B6=E4=BB=A5=E5=8F=8A=E9=83=A8?= =?UTF-8?q?=E5=88=86=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inm/good_mio.vue | 5 +- src/views/inm/halfgood_mio.vue | 5 +- src/views/inm/helpso_mio.vue | 284 ++++++++++++++++--------------- src/views/inm/mainso_mio.vue | 301 +++++++++++++++++---------------- 4 files changed, 303 insertions(+), 292 deletions(-) diff --git a/src/views/inm/good_mio.vue b/src/views/inm/good_mio.vue index 3c4d018a..98784cb2 100644 --- a/src/views/inm/good_mio.vue +++ b/src/views/inm/good_mio.vue @@ -90,7 +90,8 @@ export default { save: false, }, query: { - type__in: 'sale_out,do_in' + type__in: 'sale_out,do_in', + item_mio__material__type: 10 }, form: { @@ -118,7 +119,7 @@ export default { table_detail(row) { this.$router.push({ name: "mioitem", - query: { mio: row.id ,type:row.type,cate:'good'} + query: { mio: row.id, type: row.type, cate: 'good' } }); }, //删除 diff --git a/src/views/inm/halfgood_mio.vue b/src/views/inm/halfgood_mio.vue index 8c5d01e9..4f71b780 100644 --- a/src/views/inm/halfgood_mio.vue +++ b/src/views/inm/halfgood_mio.vue @@ -90,7 +90,8 @@ export default { save: false, }, query: { - type: 'do_in' + type__in: 'do_in,do_out', + item_mio__material__type: 20 }, form: { @@ -118,7 +119,7 @@ export default { table_detail(row) { this.$router.push({ name: "mioitem", - query: { mio: row.id ,type:row.type,cate:'halfgood'} + query: { mio: row.id, type: row.type, cate: 'halfgood' } }); }, diff --git a/src/views/inm/helpso_mio.vue b/src/views/inm/helpso_mio.vue index 1a29c74f..43a2d443 100644 --- a/src/views/inm/helpso_mio.vue +++ b/src/views/inm/helpso_mio.vue @@ -1,144 +1,152 @@ - \ No newline at end of file + handleQuery() { + this.$refs.table.queryData(this.query) + }, + resetQuery() { + this.query = {}; + }, + handleSaveSuccess() { + this.$refs.table.refresh() + } + }, +}; + \ No newline at end of file diff --git a/src/views/inm/mainso_mio.vue b/src/views/inm/mainso_mio.vue index 7a3eb424..263c184e 100644 --- a/src/views/inm/mainso_mio.vue +++ b/src/views/inm/mainso_mio.vue @@ -1,156 +1,157 @@ - \ No newline at end of file + handleQuery() { + this.$refs.table.queryData(this.query) + }, + resetQuery() { + this.query = {}; + }, + handleSaveSuccess() { + this.$refs.table.refresh() + } + }, +}; + \ No newline at end of file