diff --git a/src/views/mtm/route_show.vue b/src/views/mtm/route_show.vue
index 72682a56..6a816a5b 100644
--- a/src/views/mtm/route_show.vue
+++ b/src/views/mtm/route_show.vue
@@ -75,7 +75,7 @@ export default {
emits: ["success", "closed"],
components: { ticketd },
props: {
- modelId: { type: String, default: null },
+ t_id: { type: String, default: null },
},
data() {
return {
@@ -107,8 +107,8 @@ export default {
mounted() {
this.project_code = this.$TOOL.data.get("BASE_INFO").base.base_code;
this.tableData = [];
- if (this.modelId) {
- this.getRoutePackDetail(this.modelId);
+ if (this.t_id) {
+ this.getRoutePackDetail(this.t_id);
}
},
methods: {
diff --git a/src/views/wpm_gx/handover.vue b/src/views/wpm_gx/handover.vue
index 63def9bc..d09272b7 100644
--- a/src/views/wpm_gx/handover.vue
+++ b/src/views/wpm_gx/handover.vue
@@ -251,8 +251,14 @@
-
+
-
+ >
+
@@ -379,6 +385,12 @@ export default {
},
route_code: "",
// setNameVisible: false,
+ titleMap: {
+ add: "新增交接记录",
+ edit: "编辑交接记录",
+ show: "查看交接记录",
+ },
+ mode: "add"
};
},
mounted() {
@@ -410,6 +422,7 @@ export default {
//添加
table_add(type) {
this.dialog.save = true;
+ this.mode = "add";
this.type = type;
this.$nextTick(() => {
this.$refs.saveDialog.open("add",'',10);
@@ -419,6 +432,7 @@ export default {
let that = this;
that.type = 10;
that.codeText = codeText;
+ that.mode = "add";
that.dialog.save = true;
that.$nextTick(() => {
that.$refs.saveDialog.open("add",codeText,10);
@@ -429,6 +443,7 @@ export default {
this.type = 20;
that.codeText2 = codeText2;
this.dialog.save = true;
+ that.mode = "add";
this.$nextTick(() => {
this.$refs.saveDialog.open("add",codeText2,10);
});
@@ -437,6 +452,7 @@ export default {
table_edit(row) {
this.type=row.type;
this.dialog.save = true;
+ this.mode = "edit";
this.$nextTick(() => {
this.$refs.saveDialog.open("edit").setData(row);
});
@@ -444,6 +460,7 @@ export default {
table_show(row){
this.type=row.type;
this.dialog.save = true;
+ this.mode = "show";
this.$nextTick(() => {
this.$refs.saveDialog.open("show").setData(row);
});
@@ -561,7 +578,7 @@ export default {
//本地更新数据
//新增岗位后更新数据
handleSaveSuccess(data, mode) {
- this.dialog.save = true;
+ this.dialog.save = false;
this.$refs.table.refresh();
},
},
diff --git a/src/views/wpm_gx/handover_form.vue b/src/views/wpm_gx/handover_form.vue
index f238d0ac..330cd0d8 100644
--- a/src/views/wpm_gx/handover_form.vue
+++ b/src/views/wpm_gx/handover_form.vue
@@ -1,217 +1,218 @@
-
-
-
-
- 手动添加
-
-
-
-
-
-
- {{ totalCount }}
-
-
- {{ form.batch }}
-
-
-
-
+
+
+
+
-
-
-
- 不合格
- 返工
- {{ scope.row.batch }}({{ scope.row.material_name }})
- {{ scope.row.defect_name }}
-
-
-
-
+ 手动添加
+
-
-
-
-
-
-
-
-
-
-
- {{ listItem.count_cando }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
+
+ {{ totalCount }}
+
+
+ {{ form.batch }}
+
+
+
+
+
+
+
+
+ 不合格
+ 返工
+ {{ scope.row.batch }}({{ scope.row.material_name }})
+ {{ scope.row.defect_name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ listItem.count_cando }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
- 确定
- 取消
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {$emit('success')} " :submit_b_func="submit_b_func" ref="ticketd_b_start">
+
+ 确定
+ 取消
+
+
+
+
+
+
+