From c19540d9f56155000b9af20582494d21c75706ca Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 22 Jan 2026 16:25:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9F=A5=E8=AF=A2=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/handover_form.vue | 2 +- src/views/wpm_bx/inmIn.vue | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue index d14f92cc..88a4ee83 100644 --- a/src/views/wpm_bx/handover_form.vue +++ b/src/views/wpm_bx/handover_form.vue @@ -676,7 +676,7 @@ export default { }, materialChange() { let that = this; - that.form.new_batch = ""; + that.form.new_batch = that.route_code=='shangpaipingmo'?that.form.new_batch:""; let totalCount = 0,data = []; if(that.selectItems.length>0){ data = that.materialOptions.filter((item) => { diff --git a/src/views/wpm_bx/inmIn.vue b/src/views/wpm_bx/inmIn.vue index 2538396e..faa0fa32 100644 --- a/src/views/wpm_bx/inmIn.vue +++ b/src/views/wpm_bx/inmIn.vue @@ -546,14 +546,7 @@ export default { //搜索 handleQuery() { console.log('this.query',this.query) - let obj = Object.assign(this.query); - for(let key in obj){ - if(obj[key]==null||obj==''){ - delete obj[key]; - } - } - console.log('obj',obj); - this.$refs.table.queryData(obj); + this.$refs.table.queryData(this.query); }, showWpr(row){