Lvtianfang
杜函宇 2 years ago
parent b381917130
commit fbc1157e86

@ -165,7 +165,7 @@ export default {
}, },
// //
searchList() { searchList() {
this.changeType(this.types); this.getData(this.types);
}, },
getPagination(e) { getPagination(e) {
console.log(e); console.log(e);
@ -222,8 +222,7 @@ export default {
this.form1.current = msg1.data.current; this.form1.current = msg1.data.current;
this.loading = false; this.loading = false;
}, },
async changeType(e) { async getData(e) {
this.reset()
if (e == 1) { if (e == 1) {
this.A2 = "备案编码"; this.A2 = "备案编码";
this.A3 = "生产企业"; this.A3 = "生产企业";
@ -242,6 +241,10 @@ export default {
this.importSpecialCosmetics(); this.importSpecialCosmetics();
} }
}, },
async changeType(e) {
this.reset()
this.getData(e)
},
}, },
}; };
</script> </script>

Loading…
Cancel
Save