@ -91,6 +91,9 @@ export default {
},
methods: {
getUnitList() {
if(!this.unitquery.key){
this.getUnitListByCode(this.codeId)
}else{
this.loading = true;
getBasicUnitMaintains(this.unitquery)
.then((response) => {
@ -100,6 +103,7 @@ export default {
.catch(() => {
this.loading = false;
});
}
getUnitListByCode(row) {
let query = {