diff --git a/src/views/inm/mio_form.vue b/src/views/inm/mio_form.vue index fa95efae..fe545cdc 100644 --- a/src/views/inm/mio_form.vue +++ b/src/views/inm/mio_form.vue @@ -12,9 +12,9 @@ :rules="rules" label-width="120px" > - + { + if(that.form.batch == item.batch){ + that.form.count = item.count; + that.form.wm = item.id; + } + }) + + }, selectMaterialChange(item) { var that = this; var type = this.form.type; @@ -446,6 +459,7 @@ export default { }, selectBatchClear() { this.form.mb = ""; + this.form.wm = ""; this.form.batch = ""; this.form.count = ""; this.form.warehouse = ""; diff --git a/src/views/pm/utask_form.vue b/src/views/pm/utask_form.vue index d254db54..5514dc8d 100644 --- a/src/views/pm/utask_form.vue +++ b/src/views/pm/utask_form.vue @@ -24,13 +24,13 @@ - + - + diff --git a/src/views/wpm_bx/QRCodeScanner.vue b/src/views/wpm_bx/QRCodeScanner.vue new file mode 100644 index 00000000..a9d6df4b --- /dev/null +++ b/src/views/wpm_bx/QRCodeScanner.vue @@ -0,0 +1,89 @@ + + + + + + diff --git a/src/views/wpm_bx/mlog_form.vue b/src/views/wpm_bx/mlog_form.vue index 39e9ed84..7b1a35d7 100644 --- a/src/views/wpm_bx/mlog_form.vue +++ b/src/views/wpm_bx/mlog_form.vue @@ -17,7 +17,7 @@ style="padding: 0 10px" > - + + const defaultForm = { - mtype: "", + mtype: 10, supplier:'', route: "", equipment: "", @@ -265,6 +265,10 @@ export default { type: String, default: "", }, + mgroupMtype: { + type: String, + default: "", + } }, computed: { title() { diff --git a/src/views/wpm_bx/mlogs.vue b/src/views/wpm_bx/mlogs.vue index f00f630d..478c2cb5 100644 --- a/src/views/wpm_bx/mlogs.vue +++ b/src/views/wpm_bx/mlogs.vue @@ -160,6 +160,7 @@ :mgroup="mgroupId" :dept="deptId" :mgroupName = "mgroupName" + :mgroupMtype="mgroupMtype" @success="handleSaveSuccess" @closed="dialog.save = false" > @@ -211,6 +212,7 @@ export default { deptId: null, processId: "", processCate: "", + mgroupMtype: "", }; }, watch: { @@ -239,10 +241,11 @@ export default { } that.deptId = res.belong_dept; that.processId = res.process; + that.mgroupMtype = res.mtype; that.processCate = res.process_cate; that.params.mgroup = res.id; that.apiObj = that.$API.wpm.mlog.list; - that.$refs.table.refresh(); + // that.$refs.table.refresh(); }); }, getRemaTime(row){ diff --git a/src/views/wpm_gx/f_mlogs_form.vue b/src/views/wpm_gx/f_mlogs_form.vue index 09f0c304..933d4051 100644 --- a/src/views/wpm_gx/f_mlogs_form.vue +++ b/src/views/wpm_gx/f_mlogs_form.vue @@ -102,6 +102,61 @@ + + + + + + + + + + + + + + + + + + { + res.results.forEach((item) => { + let obj = {}; + Object.assign(obj, item); + obj.value = ''; + that.testitems.push(obj); + }) + }); + }, disabledDateFn(time) { return time.getTime() > new Date().getTime(); }, diff --git a/src/views/wpm_gx/fmlog_detail.vue b/src/views/wpm_gx/fmlog_detail.vue index 5ce16001..0171490a 100644 --- a/src/views/wpm_gx/fmlog_detail.vue +++ b/src/views/wpm_gx/fmlog_detail.vue @@ -174,6 +174,7 @@ :fmlog="params.fmlog" :mgroup="mgroup" :mtask="mtask" + :process="processId" @success="handleSaveSuccess" @closed="dialog.save = false" > @@ -201,6 +202,10 @@ export default { type: String, default: "", }, + processId:{ + type: String, + default: "", + }, }, components: { saveDialog, diff --git a/src/views/wpm_gx/fmlogs.vue b/src/views/wpm_gx/fmlogs.vue index dfaed964..33359808 100644 --- a/src/views/wpm_gx/fmlogs.vue +++ b/src/views/wpm_gx/fmlogs.vue @@ -148,6 +148,7 @@ v-if="dialog.detail" ref="detailDialog" :fmlogId="fmlogId" + :processId="processId" @closed="detailClose" > diff --git a/src/views/wpm_gx/index.vue b/src/views/wpm_gx/index.vue index 73821719..8bd639e4 100644 --- a/src/views/wpm_gx/index.vue +++ b/src/views/wpm_gx/index.vue @@ -14,6 +14,7 @@ v-if="values == '日志'&&componentsShow" :mgroupName="mgroupName" :mgroupId="mgroupId" + :mgroupMtype = "mgroupMtype" :mgroupcode="mgroup_code" :processId="processId" :deptId = "mgroupDept" @@ -84,6 +85,7 @@ export default { selectedIndex:0, mgroup_code:'', mgroupDept:'', + mgroupMtype:'', processtype:'', processId:'', componentsShow:false, @@ -122,6 +124,7 @@ export default { that.mgroupName = res[0].name; that.mgroupId = res[0].id; that.processId = res[0].process; + that.mgroupMtype = res[0].mtype; that.processtype = res[0].process_type; that.mgroupDept = res[0].belong_dept; that.componentsShow = true; diff --git a/src/views/wpm_gx/inmOut.vue b/src/views/wpm_gx/inmOut.vue index 28099ae5..dc88371e 100644 --- a/src/views/wpm_gx/inmOut.vue +++ b/src/views/wpm_gx/inmOut.vue @@ -107,7 +107,7 @@ width="100" > diff --git a/src/views/wpm_gx/mlog_form.vue b/src/views/wpm_gx/mlog_form.vue index 3bba92a5..87bbee85 100644 --- a/src/views/wpm_gx/mlog_form.vue +++ b/src/views/wpm_gx/mlog_form.vue @@ -17,7 +17,7 @@ style="padding: 0 10px" > - + + - + + + + + + + + + + + + + + + + + + + - 0&&row.reminder_interval_list[0]){ if(temp