- {{
+ {{
mlogItem.routepack_name
}}
- {{
+ {{
mlogItem.material_in_name
}}
- {{
+ {{
mlogItem.material_out_name
}}
{{
@@ -40,6 +40,9 @@
{{
mlogItem.create_time
}}
+
+ 查看
+
-
-
@@ -251,17 +195,6 @@
hidePagination
>
-
-
详情
@@ -336,6 +268,7 @@
ref="saveDialog"
:mlog="mlogId"
:mgroup="mgroup"
+ :isfix = "mlogItem.is_fix"
:routeId ="routeId"
:tracking="tracking"
:materialIn="materialIn"
@@ -356,6 +289,8 @@
ref="checkDialogSingle"
:mlogb="mlogb"
:wm = "wm"
+ :mgroup="mgroup"
+ :mgroupName= "mlogItem.mgroup_name"
:isSubmit="isSubmit"
:batchNumber="batchNumber"
:handle_user="handle_user"
@@ -378,6 +313,12 @@
+
-
+
diff --git a/src/views/wpm_bx/mlog_form.vue b/src/views/wpm_bx/mlog_form.vue
index 012d8b1f..0b19a594 100644
--- a/src/views/wpm_bx/mlog_form.vue
+++ b/src/views/wpm_bx/mlog_form.vue
@@ -17,7 +17,7 @@
style="padding: 0 10px"
>
-
+
-
+
-
+
{
that.testitems.forEach((item) => {
- item.value = data.oinfo_json[item.id];
- });
+ item.value = data.oinfo_json[item.id];
+ });
},500)
}
}
diff --git a/src/views/wpm_bx/mlogb_form.vue b/src/views/wpm_bx/mlogb_form.vue
index 44fc2fef..a7003ba8 100644
--- a/src/views/wpm_bx/mlogb_form.vue
+++ b/src/views/wpm_bx/mlogb_form.vue
@@ -17,7 +17,7 @@
label-width="80px"
style="padding: 0 10px"
>
-
+
-
+
{
+ let obj = {};
+ obj.mtaskx =that.form.mtask;
+ obj.mgroupx =that.mgroup;
+ obj.route =that.routeId;
+ obj.page =0;
+ if(that.isfix){
+ obj.state =30;
+ }
+ this.$API.wpm.wmaterial.list.req(obj).then((res) => {
that.materialOptions = res;
});
},
diff --git a/src/views/wpm_bx/mlogbw_check.vue b/src/views/wpm_bx/mlogbw_check.vue
index 1e8d1ba4..a8d5233c 100644
--- a/src/views/wpm_bx/mlogbw_check.vue
+++ b/src/views/wpm_bx/mlogbw_check.vue
@@ -4,163 +4,331 @@
v-model="visible"
:size="'90%'"
destroy-on-close
+ :close-on-click-modal="false"
@closed="$emit('closed')"
>
+
+
+
检验人:{{setForm.test_user_name}}
+
检验设备:{{setForm.equipment_name}}
+
缺陷项:
+ {{ item1.defect_name }}
+ 、
+
+
+
检测项:
+ {{ item2.testitem_name }}
+ 、
+
+
+
+
+ 检验
+ 批量操作
+ 批量操作
-
-
- {{ scope.row.number }}
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ {{ scope.row.number }}
+
+
+
+
+
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.note }}
-
-
-
-
-
- 保存
- 取消
- 编辑
- 删除
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.note }}
+
+
+
+
+
+ 保存
+ 取消
+ 编辑
+ 删除
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+ {{item.number}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确定
+ 取消
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item2.value }}
+
+
+
+ 删除
+
+
+
+
+
+ 保存
+ 取消
+
+
+
+
diff --git a/src/views/wpm_bx/mlogbw_check_form.vue b/src/views/wpm_bx/mlogbw_check_form.vue
new file mode 100644
index 00000000..a6f553f0
--- /dev/null
+++ b/src/views/wpm_bx/mlogbw_check_form.vue
@@ -0,0 +1,193 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+ {{item.number}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存
+
+ 取消
+
+
+
+
+
+
+
+
diff --git a/src/views/wpm_bx/mlogs.vue b/src/views/wpm_bx/mlogs.vue
index 03d336a5..f00f630d 100644
--- a/src/views/wpm_bx/mlogs.vue
+++ b/src/views/wpm_bx/mlogs.vue
@@ -9,7 +9,15 @@
v-auth="'mlog.create'"
>新增
+ 返工
+
+
+ {{scope.row.material_out_name}}
+ 返工
+
{
+ this.$refs.saveDialog.open("add","rework");
+ });
+ },
//编辑日志
table_edit(row) {
this.dialog.save = true;
this.$nextTick(() => {
- this.$refs.saveDialog.open("edit").setData(row);
+ if(row.is_fix){
+ this.$refs.saveDialog.open("edit","rework").setData(row);
+ }else{
+ this.$refs.saveDialog.open("edit").setData(row);
+ }
+
});
},
//日志详情
diff --git a/src/views/wpm_bx/mock.json b/src/views/wpm_bx/mock.json
new file mode 100644
index 00000000..fb7911d5
--- /dev/null
+++ b/src/views/wpm_bx/mock.json
@@ -0,0 +1,7 @@
+[
+ {
+ "x":2.5,
+ "y":3.5,
+ "z":5.0
+ }
+]
\ No newline at end of file
diff --git a/src/views/wpm_bx/mtask.vue b/src/views/wpm_bx/mtask.vue
index a00b9406..8e2106c9 100644
--- a/src/views/wpm_bx/mtask.vue
+++ b/src/views/wpm_bx/mtask.vue
@@ -27,7 +27,7 @@
-
+
提交
-
@@ -103,6 +94,14 @@ export default {
type: String,
default: "",
},
+ mgroupId:{
+ type: String,
+ default: "",
+ },
+ deptId:{
+ type: String,
+ default: "",
+ }
},
components: {
deliverDrawer,
@@ -130,14 +129,6 @@ export default {
34: "danger",
40: "success",
},
- // state_: {
- // 10: "创建中",
- // 20: "已下达",
- // 30: "生产中",
- // 34: "已终止",
- // 40: "已提交",
- // },
- deptId: null,
mgroup_name:'',
deliverShow:false,
};
@@ -154,7 +145,11 @@ export default {
// },
},
mounted() {
- this.getMgroupInfo();
+ let that = this;
+ that.params.mgroup = that.mgroupId;
+ that.apiObj = this.$API.pm.mtask.list;
+ that.$refs.table.refresh();
+ // this.getMgroupInfo();
},
methods: {
getMgroupInfo(){
@@ -165,8 +160,6 @@ export default {
if(res.length>0){
that.mgroupId = res[0].id;
that.deptId = res[0].belong_dept;
- that.processId = res[0].process;
- that.processCate = res[0].process_cate;
that.params.mgroup = res[0].id;
that.apiObj = this.$API.pm.mtask.list;
that.$refs.table.refresh();