diff --git a/src/views/qm/productCheck.vue b/src/views/qm/productCheck.vue
index 1888a5ce..e1c4a13b 100644
--- a/src/views/qm/productCheck.vue
+++ b/src/views/qm/productCheck.vue
@@ -31,6 +31,11 @@
{{
workObj.count_sampling
}}
+
+
+ {{item.batch}}、
+
+
编辑
diff --git a/src/views/qm/product_form.vue b/src/views/qm/product_form.vue
index b988d466..183dae18 100644
--- a/src/views/qm/product_form.vue
+++ b/src/views/qm/product_form.vue
@@ -81,7 +81,24 @@
>
-
+
+
+
+
+
+
+
@@ -100,7 +117,10 @@ export default {
data() {
return {
loading: false,
- form: {},
+ form: {
+ type:'prod',
+ type2:10
+ },
rules: {
test_date: [
{
@@ -120,11 +140,13 @@ export default {
visible: false,
isSaveing: false,
options: [],
+ userList:[],
selectionFilters: [],
setFiltersVisible: false,
};
},
mounted() {
+ this.getUsers();
this.getMaterialBatch();
},
methods: {
@@ -141,6 +163,15 @@ export default {
this.form.count_ok = this.form.count - this.form.count_notok
}
},
+ getUsers(){
+ let that = this;
+ let userList = [];
+ that.$API.system.user.list
+ .req({ page: 0, posts__code__contains: "check" })
+ .then((res) => {
+ that.userList = res;
+ });
+ },
//获取物料批次
getMaterialBatch() {
let that = this;
@@ -158,6 +189,7 @@ export default {
that.form.count = item.count;
that.form.batch = item.batch;
that.form.material = item.material;
+ that.form.mb = item.id;
}
});
},