diff --git a/src/views/mtm/routepack_form.vue b/src/views/mtm/routepack_form.vue index 35a9b309..1a0e6584 100644 --- a/src/views/mtm/routepack_form.vue +++ b/src/views/mtm/routepack_form.vue @@ -231,10 +231,10 @@ export default { }, getMaterials() { let that = this; - this.$API.mtm.material.list - .req({ page: 0, type__in: "10,20", is_hidden: false }) + that.$API.mtm.material.list + .req({ page: 0, type__in: "10,20"}) .then((res) => { - this.materials = res; + that.materials = res; }); }, handleStep(val) {