fix:日志新增输入物料表单清空
This commit is contained in:
parent
7f036f7343
commit
414ef4bbc7
|
|
@ -156,6 +156,10 @@ export default {
|
|||
methods: {
|
||||
open() {
|
||||
this.visible = true;
|
||||
this.form.mtask = "";
|
||||
this.wm_in = "";
|
||||
this.form.count_use = "";
|
||||
this.form.parent = "";
|
||||
},
|
||||
getMlogbIn(){
|
||||
let that = this;
|
||||
|
|
@ -197,6 +201,8 @@ export default {
|
|||
obj.page =0;
|
||||
if(that.isfix){
|
||||
obj.state =30;
|
||||
}else{
|
||||
obj.state =10;
|
||||
}
|
||||
this.$API.wpm.wmaterial.list.req(obj).then((res) => {
|
||||
that.materialOptions = res;
|
||||
|
|
|
|||
|
|
@ -145,6 +145,10 @@ export default {
|
|||
methods: {
|
||||
open() {
|
||||
this.visible = true;
|
||||
this.form.mtask = "";
|
||||
this.form.wm_in = "";
|
||||
this.form.count_use = "";
|
||||
this.form.parent = "";
|
||||
},
|
||||
getMtask() {
|
||||
let that = this;
|
||||
|
|
@ -157,12 +161,12 @@ export default {
|
|||
//获取车间物料
|
||||
getMaterial() {
|
||||
let that = this;
|
||||
this.$API.wpm.wmaterial.list
|
||||
.req({
|
||||
this.$API.wpm.wmaterial.list.req({
|
||||
mtaskx: that.form.mtask,
|
||||
mgroupx: that.mgroup,
|
||||
material: that.materialIn,
|
||||
page: 0,
|
||||
state:10
|
||||
})
|
||||
.then((res) => {
|
||||
that.materialOptions = res;
|
||||
|
|
|
|||
Loading…
Reference in New Issue