fix: 查询修正

This commit is contained in:
shijing 2026-01-22 16:25:54 +08:00
parent 931c45da11
commit c19540d9f5
2 changed files with 2 additions and 9 deletions

View File

@ -676,7 +676,7 @@ export default {
}, },
materialChange() { materialChange() {
let that = this; let that = this;
that.form.new_batch = ""; that.form.new_batch = that.route_code=='shangpaipingmo'?that.form.new_batch:"";
let totalCount = 0,data = []; let totalCount = 0,data = [];
if(that.selectItems.length>0){ if(that.selectItems.length>0){
data = that.materialOptions.filter((item) => { data = that.materialOptions.filter((item) => {

View File

@ -546,14 +546,7 @@ export default {
// //
handleQuery() { handleQuery() {
console.log('this.query',this.query) console.log('this.query',this.query)
let obj = Object.assign(this.query); this.$refs.table.queryData(this.query);
for(let key in obj){
if(obj[key]==null||obj==''){
delete obj[key];
}
}
console.log('obj',obj);
this.$refs.table.queryData(obj);
}, },
showWpr(row){ showWpr(row){