diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index 1c4fa3d8..00475a9f 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -882,7 +882,8 @@ export default { saveMuserSubmit(row){ let that = this; that.isSaveing = true; - that.$API.wpm.mloguser.create.req(that.addTemplate).then((res) => { + row.mlog = that.mlogId; + that.$API.wpm.mloguser.create.req(row).then((res) => { that.isSaveing = false; that.$message.success("操作成功"); that.getProcessList(); @@ -895,7 +896,7 @@ export default { that.$confirm("确定删除吗?").then(res=>{ that.$API.wpm.mloguser.delete.req(row.id).then((res) => { that.$message.success("删除成功"); - that.$refs.tableMuser.refresh(); + that.getProcessList(); }) }) }, diff --git a/src/views/wpm_bx/mlogbw_check.vue b/src/views/wpm_bx/mlogbw_check.vue index 89110c5d..b2947711 100644 --- a/src/views/wpm_bx/mlogbw_check.vue +++ b/src/views/wpm_bx/mlogbw_check.vue @@ -36,6 +36,7 @@ :addTemplate="addTemplate" placeholder="暂无数据" :hideAdd="hideAdd" + :pushType="pushType" :canMultiple = "canMultiple" @selectChange="selectChange" @selectAllChange="selectAllChange" @@ -46,10 +47,11 @@ {{ scope.row.number }} ——{{ scope.row.wpr_number_out }} @@ -507,6 +509,7 @@ export default { wprNumber:"", route_code:"", wprInputText:"", + pushType:"unshift", params: {mlogb:'',page:0}, insInput:false, canMultiple:false, @@ -582,7 +585,9 @@ export default { } if(that.mode == 'ins'){ if(that.route_code=='niuzhuan'){ + that.getEquipment4(); that.gettestitem(); + that.getOptions(); }else{ that.getOptions(); that.getList(); @@ -910,9 +915,9 @@ export default { }, formTableEdit(row) { let that = this; - if(that.route_code=='niuzhuan'&&that.optionsEq.length==0){ - that.getEquipment4(); - } + // if(that.route_code=='niuzhuan'&&that.optionsEq.length==0){ + // that.getEquipment4(); + // } that.mlogbwlist.forEach((item, index) => { if (item.id == row.id) { that.mlogbwlist[index].isEdit = true; @@ -1170,9 +1175,9 @@ export default { that.mlogbwlist[0].work_start_time = that.$TOOL.dateFormat(date, 'yyyy-MM-dd hh:mm:ss'); that.timeChange(that.mlogbwlist[0]); } - if(that.optionsEq.length==0){ - that.getEquipment4(); - } + // if(that.optionsEq.length==0){ + // that.getEquipment4(); + // } } if(that.setForm.cd_req_addr!==null&&!that.insInput){ //执行cd_req_addr,获取检测设备的数据 diff --git a/src/views/wpm_gx/inmrecord.vue b/src/views/wpm_gx/inmrecord.vue index 17039e88..5199b1b9 100644 --- a/src/views/wpm_gx/inmrecord.vue +++ b/src/views/wpm_gx/inmrecord.vue @@ -2,9 +2,9 @@
- 领料 + >领料 --> 入库 -