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){