diff --git a/src/views/wpm_gx/inm_record.vue b/src/views/wpm_gx/inm_record.vue index 7aa10c22..546bf113 100644 --- a/src/views/wpm_gx/inm_record.vue +++ b/src/views/wpm_gx/inm_record.vue @@ -135,8 +135,9 @@ icon="el-icon-plus" @click="table_add" > - + - + - + @@ -337,7 +338,12 @@ export default { mio_user: "", }, stateDict: {10: "创建中",20: "已提交",}, - typeDict:{'do_in':'生产入库','do_out':'生产领料'}, + typeDict:{ + 'do_in':'生产入库', + 'do_out':'生产领料', + 'borrow_out': "领用出库", + 'return_in': "退还入库" + }, apiworkerObj: null, materials: [], apiObj: null, @@ -362,6 +368,7 @@ export default { }; }, mounted() { + this.active = 0; this.isSaveing = false; this.form.mgroup = this.mgroupId; this.form.type = this.cate; @@ -413,6 +420,7 @@ export default { //车间人员 getDeptUsers() { let that = this; + that.userList = []; let userInfo = that.$TOOL.data.get("USER_INFO"); that.$API.system.user.list.req({ depts: that.deptId, page: 0 }).then((res) => { that.userOptions = res; diff --git a/src/views/wpm_gx/inm_record_form.vue b/src/views/wpm_gx/inm_record_form.vue index 54cc9fe2..e8ba3213 100644 --- a/src/views/wpm_gx/inm_record_form.vue +++ b/src/views/wpm_gx/inm_record_form.vue @@ -12,182 +12,273 @@ :rules="rules" label-width="120px" > - - - + + - {{ item.full_name }} - - - - - - - - {{item.material_.name}}|{{ item.batch }} - {{ item.defect_name }} - {{ item.count }} - - - - - - - - - - - {{ item.batch }} - {{ item.count }} -- {{ item.warehouse_name }} - - - - - - -