diff --git a/src/views/qm/products_form.vue b/src/views/qm/products_form.vue index 30cb17ea..8da06396 100644 --- a/src/views/qm/products_form.vue +++ b/src/views/qm/products_form.vue @@ -88,9 +88,27 @@ > + + + + + + + - + + + + + + + + + + + + + + + + { + that.userList = res; + }); + }, handleCheckChange(){ this.form.count_ok = this.form.count-this.form.count_notok; }, @@ -433,7 +501,10 @@ export default { this.count_notok_json.count_n_yd+ this.count_notok_json.count_n_txd+ this.count_notok_json.count_n_hd+ + this.count_notok_json.count_n_zhg+ + this.count_notok_json.count_n_yz+ this.count_notok_json.count_n_qp+ + this.count_notok_json.count_n_z+ this.count_notok_json.count_n_swen+ this.count_notok_json.count_n_zb+ this.count_notok_json.count_n_hs+ @@ -511,7 +582,6 @@ export default { setData(data) { Object.assign(this.form, data); this.formCount = this.form.count; - // this.form.test_group = this.form.split(","); }, //设置过滤项 setFilters(filters) { diff --git a/src/views/wpm_gx/check_form.vue b/src/views/wpm_gx/check_form.vue index bec81734..eb777ba6 100644 --- a/src/views/wpm_gx/check_form.vue +++ b/src/views/wpm_gx/check_form.vue @@ -95,6 +95,24 @@ /> + + + + + + + @@ -250,6 +268,7 @@ export default { modeTitle: '', loading: false, form: { + type:'process', type2:10, test_date: "", batch: "", @@ -294,6 +313,7 @@ export default { visible: false, isSaveing: false, options: [], + userList : [], selectionFilters: [], setFiltersVisible: false, }; @@ -303,6 +323,8 @@ export default { this.form.batch = this.itemObj.batch; this.form.wm = this.itemObj.id; this.form.count = this.itemObj.count; + this.deptID = this.$TOOL.data.get('gx_deptID'); + this.getUsers(); }, methods: { //显示 @@ -310,8 +332,25 @@ export default { this.mode = mode; this.modeTitle = mode+'抽检'; this.visible = true; + return this; }, + getUsers(){ + let that = this; + let userList = []; + that.$API.system.user.list + .req({ page: 0, posts__code__contains: "check" }) + .then((res) => { + userList = res; + that.$API.system.user.list.req({ depts: that.deptID, page: 0 }) + .then((res2) => { + res2.forEach((item) => { + userList.push(item); + }); + that.userList = userList ; + }); + }); + }, handleCheckChange(){ this.form.count_ok = this.form.count-this.form.count_notok; }, diff --git a/src/views/wpm_gx/inm.vue b/src/views/wpm_gx/inm.vue index 8d49bedd..7a128e1e 100644 --- a/src/views/wpm_gx/inm.vue +++ b/src/views/wpm_gx/inm.vue @@ -1,15 +1,15 @@