9ffb1997 by xiaomiao

--no commit message

1 parent 724b331e
......@@ -121,7 +121,6 @@ export default {
let that = this;
this.$nextTick(() => {
if (val.length == 0 || !val) {
console.log("看见1");
that.tableDataList = _.cloneDeep([
{
yt: "",
......@@ -136,7 +135,6 @@ export default {
this.tdyt=null
}
} else {
console.log("看见2");
that.tableDataList = _.cloneDeep(val);
if( that.tableDataList.length>0){
this.tdyt=that.tableDataList[0].yt
......@@ -170,14 +168,12 @@ export default {
},
// 修改事件
addrow() {
console.log("this.$parent.bsmqlxx", this.$parent.$parent.bsmqlxx);
this.tableDataList = this.tableDataList.map((item) => {
return{
...item,
yt:this.tdyt
}
})
console.log("this.tableDataList",this.tableDataList);
this.$emit("upDateTdytxxList", this.tableDataList);
},
// 新增
......@@ -189,7 +185,6 @@ export default {
// 删除
deleClick(index, row) {
console.log("删除");
this.$confirm("确定要删除吗, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......