diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue index 4eefbebe..019c5980 100644 --- a/src/views/wpm_bx/handover_form.vue +++ b/src/views/wpm_bx/handover_form.vue @@ -24,7 +24,7 @@ @change="formWminChange(wm_in)" style="width: 300px;margin-left: 10px;" > - + {{ totalCount }} @@ -373,6 +373,7 @@ export default { }, wm_in:"", route_code: "", + project_code:'', materials:[], totalCount: 0, deptID:'', @@ -395,6 +396,8 @@ export default { }, mounted() { let that = this; + let config_base = that.$TOOL.data.get("BASE_INFO").base; + that.project_code = config_base.base_code; let arr = that.$route.path.split("/"); that.route_code = arr[2]; that.form.type = that.type; @@ -642,6 +645,10 @@ export default { this.form.handoverb.splice(index,1); this.countChange(); }, + codeTextChange(text){ + this.wm_in = text; + this.formWminChange(text); + }, //显示 open(mode = "add",data,mtype) { let that = this; diff --git a/src/views/wpm_bx/mlog_form2.vue b/src/views/wpm_bx/mlog_form2.vue index 9c08a301..ab08951e 100644 --- a/src/views/wpm_bx/mlog_form2.vue +++ b/src/views/wpm_bx/mlog_form2.vue @@ -18,7 +18,7 @@ style="padding: 0 10px" > - + *请扫同一批次的物料码 + + + @@ -262,6 +265,7 @@ export default { route_code:"", imageUrl:'', test_file:'', + project_code:'', visible: false, isSaveing: false, batchCountCando:0, @@ -278,6 +282,8 @@ export default { }, mounted() { let that = this; + let config_base = that.$TOOL.data.get("BASE_INFO").base; + that.project_code = config_base.base_code; this.route_code = this.$route.path.split("/")[2]; this.form.handle_date = this.$TOOL.dateFormat2(new Date()); // this.form.work_start_time = this.$TOOL.dateFormat(new Date()); @@ -341,6 +347,10 @@ export default { }) }); }, + codeTextChange(text){ + this.wm_in = text; + this.formWminChange(text); + }, //显示 open(mode = "add") { let that = this;