|
@@ -631,12 +631,25 @@ export default {
|
|
|
*/
|
|
|
if (this.newConditionBox.length) {
|
|
|
this.conditList = res.data.records;
|
|
|
+ if (this.conditionBox[index].length) {
|
|
|
+ for (let n = 0; n < this.newConditionBox.length; n++) {
|
|
|
+ for (let m = 0; m < this.newConditionBox[n].length; m++) {
|
|
|
+ if (m ==index) {
|
|
|
+ this.$set(this.newConditionBox[n],m,[...this.conditionBox[index],...this.newConditionBox[n][m]])
|
|
|
+ console.log(this.newConditionBox,'newenewnwn');
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
for (let j = 0; j < this.newConditionBox.length; j++) {
|
|
|
for (let o = 0; o < this.newConditionBox[j].length; o++) {
|
|
|
if (o == index) {
|
|
|
- console.log(this.newConditionBox[j][o], "dier");
|
|
|
for (let i = 0; i < res.data.records.length; i++) {
|
|
|
for (let k = 0; k < this.newConditionBox[j][o].length; k++) {
|
|
|
+
|
|
|
if (
|
|
|
this.newConditionBox[j][o][k].id == res.data.records[i].id
|
|
|
) {
|