{{ scope.row.material_name }}
-
批:{{ scope.row.batch }}
-
比:{{ scope.row.rate }}
+
+
+
+ {{ scope.row.material_name }}
+ 批:{{ scope.row.batch }}
+ 比:{{ scope.row.rate }}
@@ -111,7 +125,6 @@
width="100px"
>
-
查看
+
+ 撤回
+
{
- this.$refs.saveDialog.open("edit").setData(row);
- });
- },
- //查看
- table_show(row) {
- this.dialog.save = true;
- this.$nextTick(() => {
- this.$refs.saveDialog.open("show").setData(row);
- });
- },
+
//删除
table_del(row) {
this.$confirm(`确定删除吗?`, "提示", {
@@ -266,14 +277,16 @@ export default {
})
.catch(() => {});
},
+ //检验
table_check(row) {
this.mioitemId = row.id;
this.objitem = row;
this.dialog.check = true;
this.$nextTick(() => {
- this.$refs.checkDialog.open("add");
+ this.$refs.checkDialog.open("add").setData(row);
});
},
+ //查看
check_Show(row) {
this.mioitemId = row.id;
this.objitem = row;
@@ -282,6 +295,26 @@ export default {
this.$refs.checkDialog.open("show").setData(row);
});
},
+ //编辑
+ check_edit(row) {
+ this.mioitemId = row.id;
+ this.objitem = row;
+ this.dialog.check = true;
+ this.$nextTick(() => {
+ this.$refs.checkDialog.open("edit").setData(row);
+ });
+ },
+ //撤回
+ check_reSet(row) {
+ this.$confirm(`确定撤回吗?`, "提示", {
+ type: "warning",
+ }).then(() => {
+ this.$API.inm.mioitem.test_revert.req(row.id).then((res) => {
+ this.$message.success("撤回成功");
+ this.$refs.table.refresh();
+ });
+ });
+ },
//本地更新数据
handleSaveSuccess(data, mode) {
if (mode == "add") {
diff --git a/src/views/inm/mioitem_check.vue b/src/views/inm/mioitem_check.vue
index 05c0bfd6..532dfa9f 100644
--- a/src/views/inm/mioitem_check.vue
+++ b/src/views/inm/mioitem_check.vue
@@ -738,7 +738,7 @@
保存提交
取消
@@ -829,11 +829,13 @@ export default {
if (that.type == "do_in" && that.cate == "good") {
this.form.count_notok = 0;
this.form.count_n_hs = 0;
- this.form.count_n_zs = 0;
+ this.form.count_n_cs = 0;
this.form.count_n_zz = 0;
this.form.count_n_tw = 0;
this.form.count_n_d = 0;
this.form.count_n_zdd = 0;
+ this.form.count_n_zw = 0;
+ this.form.count_n_dl = 0;
//棒
this.form.count_n_qp = 0;
this.form.count_n_bl = 0;
@@ -844,10 +846,10 @@ export default {
//管
this.form.count_n_qx = 0;
this.form.count_n_js = 0;
- this.form.count_n_tydu = 0;
+ this.form.count_n_tydd = 0;
this.form.count_n_sw = 0;
this.form.count_n_bhpcd = 0;
- this.form.count_n_w = 0;
+ this.form.count_n_wq = 0;
}
},
methods: {
@@ -911,11 +913,13 @@ export default {
if (that.type == "do_in" && that.cate == "good") {
this.form.count_notok =
this.form.count_n_hs +
- this.form.count_n_zs +
+ this.form.count_n_cs +
this.form.count_n_zz +
this.form.count_n_tw +
this.form.count_n_d +
this.form.count_n_zdd +
+ this.form.count_n_zw +
+ this.form.count_n_dl +
//棒
this.form.count_n_qp +
this.form.count_n_bl +
@@ -926,10 +930,10 @@ export default {
//管
this.form.count_n_qx +
this.form.count_n_js +
- this.form.count_n_tydu +
+ this.form.count_n_tydd +
this.form.count_n_sw +
this.form.count_n_bhpcd +
- this.form.count_n_w;
+ this.form.count_n_wq;
}
},
//提交
@@ -958,11 +962,13 @@ export default {
if (that.type == "do_in" && that.cate == "good") {
this.form.count_notok =
this.form.count_n_hs +
- this.form.count_n_zs +
+ this.form.count_n_cs +
this.form.count_n_zz +
this.form.count_n_tw +
this.form.count_n_d +
this.form.count_n_zdd +
+ this.form.count_n_zw +
+ this.form.count_n_dl +
//棒
this.form.count_n_qp +
this.form.count_n_bl +
@@ -973,10 +979,10 @@ export default {
//管
this.form.count_n_qx +
this.form.count_n_js +
- this.form.count_n_tydu +
+ this.form.count_n_tydd +
this.form.count_n_sw +
this.form.count_n_bhpcd +
- this.form.count_n_w;
+ this.form.count_n_wq;
}
that.$refs.dialogForm.validate(async (valid) => {
if (valid) {