diff --git a/src/views/mtm/route_form.vue b/src/views/mtm/route_form.vue index 45386771..bf92744f 100644 --- a/src/views/mtm/route_form.vue +++ b/src/views/mtm/route_form.vue @@ -49,68 +49,42 @@ - - - {{ - item.full_name - }} - - - + + + + - - - - + + + + - { - that.materialsIn = res; - }); - }, - getMaterialOut() { - let that = this; - that.$API.mtm.material.list - .req({ page: 0, type__in: "10,20" }) - .then((res) => { - that.materialsOut = res; - }); - }, getProcess() { let that = this; that.$API.mtm.process.list.req({ page: 0 }).then((res) => { @@ -477,6 +440,8 @@ export default { setData(data) { let that = this; Object.assign(that.form, data); + console.log('that.form',that.form); + console.log('that.form.material_in_name',that.form.material_in_name); that.routeId = data.id; that.addTemplate.route = data.id; that.params_json=that.form.params_json;