Merge remote-tracking branch 'origin/master'

yangwl
wws 1 year ago
commit e30fd05254

@ -5,6 +5,7 @@
:modal= false :modal= false
width="1100px" width="1100px"
center center
:before-close="cancelEquipmentForm"
> >
<el-row :gutter="20"> <el-row :gutter="20">
<!--分类数据--> <!--分类数据-->
@ -78,7 +79,7 @@
</el-row> </el-row>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitEquipmentForm"> </el-button> <el-button type="primary" @click="submitEquipmentForm"> </el-button>
<el-button @click="showFlag=false"> </el-button> <el-button @click="cancelEquipmentForm"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
</template> </template>
@ -202,6 +203,7 @@ export default {
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.queryParams.equipmentTypeCode = null;
this.resetForm("queryForm"); this.resetForm("queryForm");
this.handleQuery(); this.handleQuery();
}, },
@ -263,9 +265,18 @@ export default {
} }
this.selectedRows = this.queryParams.itemCodeGet; this.selectedRows = this.queryParams.itemCodeGet;
this.$emit('onSelected', this.selectedRows); this.$emit('onSelected', this.selectedRows);
this.queryParams.equipmentTypeCode = null;
this.getList();
console.log('111111',this.queryParams.equipmentTypeCode);
this.showFlag = false; this.showFlag = false;
this.queryParams.itemCodeGet = ""; this.queryParams.itemCodeGet = "";
}, },
cancelEquipmentForm(){
this.queryParams.equipmentTypeCode = null;
this.getList();
console.log('111111',this.queryParams.equipmentTypeCode);
this.showFlag = false;
}
} }
}; };
</script> </script>

@ -5,6 +5,7 @@
:modal= false :modal= false
width="1100px" width="1100px"
center center
:before-close="cancelEquipmentForm"
> >
<el-row :gutter="20"> <el-row :gutter="20">
<!--分类数据--> <!--分类数据-->
@ -78,7 +79,7 @@
</el-row> </el-row>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitEquipmentForm"> </el-button> <el-button type="primary" @click="submitEquipmentForm"> </el-button>
<el-button @click="showFlag=false"> </el-button> <el-button @click="cancelEquipmentForm"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
</template> </template>
@ -202,6 +203,7 @@ export default {
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.queryParams.equipmentTypeCode = null;
this.resetForm("queryForm"); this.resetForm("queryForm");
this.handleQuery(); this.handleQuery();
}, },
@ -263,9 +265,18 @@ export default {
} }
this.selectedRows = this.queryParams.itemCodeGet; this.selectedRows = this.queryParams.itemCodeGet;
this.$emit('onSelected', this.selectedRows); this.$emit('onSelected', this.selectedRows);
this.queryParams.equipmentTypeCode = null;
this.getList();
console.log('111111',this.queryParams.equipmentTypeCode);
this.showFlag = false; this.showFlag = false;
this.queryParams.itemCodeGet = ""; this.queryParams.itemCodeGet = "";
}, },
cancelEquipmentForm(){
this.queryParams.equipmentTypeCode = null;
this.getList();
console.log('111111',this.queryParams.equipmentTypeCode);
this.showFlag = false;
}
} }
}; };
</script> </script>

Loading…
Cancel
Save