9ffb1997 by xiaomiao

--no commit message

1 parent 724b331e
...@@ -121,7 +121,6 @@ export default { ...@@ -121,7 +121,6 @@ export default {
121 let that = this; 121 let that = this;
122 this.$nextTick(() => { 122 this.$nextTick(() => {
123 if (val.length == 0 || !val) { 123 if (val.length == 0 || !val) {
124 console.log("看见1");
125 that.tableDataList = _.cloneDeep([ 124 that.tableDataList = _.cloneDeep([
126 { 125 {
127 yt: "", 126 yt: "",
...@@ -136,7 +135,6 @@ export default { ...@@ -136,7 +135,6 @@ export default {
136 this.tdyt=null 135 this.tdyt=null
137 } 136 }
138 } else { 137 } else {
139 console.log("看见2");
140 that.tableDataList = _.cloneDeep(val); 138 that.tableDataList = _.cloneDeep(val);
141 if( that.tableDataList.length>0){ 139 if( that.tableDataList.length>0){
142 this.tdyt=that.tableDataList[0].yt 140 this.tdyt=that.tableDataList[0].yt
...@@ -170,14 +168,12 @@ export default { ...@@ -170,14 +168,12 @@ export default {
170 }, 168 },
171 // 修改事件 169 // 修改事件
172 addrow() { 170 addrow() {
173 console.log("this.$parent.bsmqlxx", this.$parent.$parent.bsmqlxx);
174 this.tableDataList = this.tableDataList.map((item) => { 171 this.tableDataList = this.tableDataList.map((item) => {
175 return{ 172 return{
176 ...item, 173 ...item,
177 yt:this.tdyt 174 yt:this.tdyt
178 } 175 }
179 }) 176 })
180 console.log("this.tableDataList",this.tableDataList);
181 this.$emit("upDateTdytxxList", this.tableDataList); 177 this.$emit("upDateTdytxxList", this.tableDataList);
182 }, 178 },
183 // 新增 179 // 新增
...@@ -189,7 +185,6 @@ export default { ...@@ -189,7 +185,6 @@ export default {
189 185
190 // 删除 186 // 删除
191 deleClick(index, row) { 187 deleClick(index, row) {
192 console.log("删除");
193 this.$confirm("确定要删除吗, 是否继续?", "提示", { 188 this.$confirm("确定要删除吗, 是否继续?", "提示", {
194 confirmButtonText: "确定", 189 confirmButtonText: "确定",
195 cancelButtonText: "取消", 190 cancelButtonText: "取消",
......