diff --git a/src/views/inm/mioitem_form.vue b/src/views/inm/mioitem_form.vue index 27e25d61..8b0ce3ba 100644 --- a/src/views/inm/mioitem_form.vue +++ b/src/views/inm/mioitem_form.vue @@ -121,7 +121,7 @@ - + - + @@ -271,6 +271,7 @@ export default { mioitems:[''], mioitemw:[], project_code:'', + mTracking:10, }; }, mounted() { @@ -370,9 +371,8 @@ export default { }; this.inputBatchDisable = true; } else { - query = { page: 0 }; + query = { page: 0 ,is_hidden:false}; } - this.$API.mtm.material.list.req(query).then((res) => { this.materialOptions = res; }); @@ -428,7 +428,7 @@ export default { var type = this.form.type; var material = item.id; that.form.material = material; - + that.mTracking = item.tracking; if (type == "do_in") { if (item.is_assemb) { this.initAssemb(item); @@ -478,23 +478,22 @@ export default { }, countChange(){ let that = this; - if(that.project_code=='bxerp'){ - if(that.form.type == "pur_in"){ - that.mioitems = [];that.mioitemw = []; - for(let i=0;i1&&( that.form.type == 'pur_in'|| that.form.type == 'other_in')){ + that.mioitems = [];that.mioitemw = []; + for(let i=0;i