diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index eb46e4ee..64e2dfa6 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -614,10 +614,12 @@ export default { }, scheckClose(){ this.dialog.check_single = false; + this.$refs.tableIn.refresh(); this.$refs.tableOut.refresh(); }, checkDialogClose(){ this.dialog.check = false; + this.$refs.tableIn.refresh(); this.$refs.tableOut.refresh(); }, handlePrint(){ diff --git a/src/views/wpm_bx/mlogb_form.vue b/src/views/wpm_bx/mlogb_form.vue index a29f4e49..de990c3c 100644 --- a/src/views/wpm_bx/mlogb_form.vue +++ b/src/views/wpm_bx/mlogb_form.vue @@ -34,7 +34,7 @@ - + @@ -205,6 +205,7 @@ export default { //扫描后处理方法 formWminChange(code){ let that = this,codeId='',arr=[]; + code = code.replace(/(^\s*)|(\s*$)/g, ""); if(code.indexOf("#")>-1){ let arrs = code.split("#"); codeId = arrs[1]; diff --git a/src/views/wpm_bx/mlogbw_check.vue b/src/views/wpm_bx/mlogbw_check.vue index a8d5233c..9178d2f4 100644 --- a/src/views/wpm_bx/mlogbw_check.vue +++ b/src/views/wpm_bx/mlogbw_check.vue @@ -39,8 +39,8 @@ > @@ -522,9 +522,10 @@ export default { }, getList(){ let that = this; + that.$API.wpm.mlogbw.list.req(that.params).then((res) => { + that.mlogbwlist = []; if(res.length>0){ - that.mlogbwlist = []; res.forEach((item) => { let obj = {}; obj = Object.assign({},item); @@ -654,9 +655,8 @@ export default { type: "warning", }).then(() => { that.$API.wpm.mlogbw.delete.req(id).then((res) => { + that.getList(); that.$message.success("删除成功"); - that.getList(); - return res; }).catch((err) => { return err; });