Commit 629e997b by xue_wengang

删除嫌疑人保存问题

parent 41990cf0
...@@ -5623,10 +5623,12 @@ export default { ...@@ -5623,10 +5623,12 @@ export default {
) { ) {
self.formLabelAlign[childrenFieldItem.id] = self.formLabelAlign[childrenFieldItem.id] =
[]; [];
self.xyrXXAll.splice(childrenObjectIndex, 1);
} else { } else {
self.formLabelAlign[ self.formLabelAlign[
childrenFieldItem.id childrenFieldItem.id
].splice(childrenObjectIndex, 1); ].splice(childrenObjectIndex, 1);
self.xyrXXAll.splice(childrenObjectIndex, 1);
} }
loading.close(); loading.close();
self.$forceUpdate(); self.$forceUpdate();
...@@ -5684,10 +5686,12 @@ export default { ...@@ -5684,10 +5686,12 @@ export default {
) { ) {
self.formLabelAlign[childrenFieldItem.id] = self.formLabelAlign[childrenFieldItem.id] =
[]; [];
self.bhrXXAll.splice(childrenObjectIndex, 1);
} else { } else {
self.formLabelAlign[ self.formLabelAlign[
childrenFieldItem.id childrenFieldItem.id
].splice(childrenObjectIndex, 1); ].splice(childrenObjectIndex, 1);
self.bhrXXAll.splice(childrenObjectIndex, 1);
} }
loading.close(); loading.close();
self.$forceUpdate(); self.$forceUpdate();
...@@ -6117,6 +6121,7 @@ export default { ...@@ -6117,6 +6121,7 @@ export default {
]; ];
} }
} }
debugger
if (JSON.stringify(updateKey1) == "{}") { if (JSON.stringify(updateKey1) == "{}") {
self.count++; self.count++;
} else { } else {
...@@ -6142,6 +6147,7 @@ export default { ...@@ -6142,6 +6147,7 @@ export default {
]; ];
} }
} }
debugger
if (JSON.stringify(updateKey2) == "{}") { if (JSON.stringify(updateKey2) == "{}") {
self.count++; self.count++;
} else { } else {
...@@ -6168,6 +6174,7 @@ export default { ...@@ -6168,6 +6174,7 @@ export default {
]; ];
} }
} }
debugger
if (JSON.stringify(updateKey3) == "{}") { if (JSON.stringify(updateKey3) == "{}") {
self.count++; self.count++;
} else { } else {
...@@ -7871,10 +7878,11 @@ export default { ...@@ -7871,10 +7878,11 @@ export default {
let self = this, let self = this,
total = 0; total = 0;
if (self.modify_asjbh) { if (self.modify_asjbh) {
total = 2 + self.formLabelAlign["fzxyr"].length * 2 + self.formLabelAlign["bhrxx"].length * 2; total = 2 + self.xyrXXAll.length * 2 + self.bhrXXAll.length * 2;
} else { } else {
total = 1 + self.formLabelAlign["bhrxx"].length + self.formLabelAlign["bhrxx"].length; total = 1 + self.xyrXXAll.length + self.bhrXXAll.length;
} }
debugger
if (val == total) { if (val == total) {
self self
.$confirm("保存成功!", "提示", { .$confirm("保存成功!", "提示", {
......
...@@ -2047,10 +2047,12 @@ export default { ...@@ -2047,10 +2047,12 @@ export default {
self.formLabelAlign[ self.formLabelAlign[
self.propFormField[3].data[0].childrenAsAdd[0].id self.propFormField[3].data[0].childrenAsAdd[0].id
] = []; ] = [];
self.xyrXXAll.splice(childrenObjectIndex, 1);
} else { } else {
self.formLabelAlign[ self.formLabelAlign[
childrenFieldItem.id childrenFieldItem.id
].splice(childrenObjectIndex, 1); ].splice(childrenObjectIndex, 1);
self.xyrXXAll.splice(childrenObjectIndex, 1);
} }
loading.close(); loading.close();
self.$message({ self.$message({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment