diff --git a/src/components/XdTable/index.vue b/src/components/XdTable/index.vue index f3bc1c82..b2113992 100644 --- a/src/components/XdTable/index.vue +++ b/src/components/XdTable/index.vue @@ -401,7 +401,6 @@ export default { } // 行 - for (var i = 0; i < selRowList.length; i++) { var sl = selRowList[i].offsetWidth + selRowList[i].offsetLeft; var st = selRowList[i].offsetHeight + selRowList[i].offsetTop; @@ -823,6 +822,11 @@ export default { }, delTbShowTpl(){ const ids = this.form.id; + if(!ids || ids==undefined){ + this.$modal.msgSuccess("未选择模版"); + return; + } + this.$modal.confirm('是否确认删除').then(function() { return delSysCustomizeTpl(ids); }).then(() => { @@ -1202,12 +1206,16 @@ export default { map.set(list[i].prop, true); } else { map.set(list[i].prop, false); // 如果没有该key值 - list2.push(list[i]); + // 必须要存在 列名称才处理 + if(list[i].label){ + list2.push(list[i]); + } } } list=list2; + console.log("===>list=1111=>",list); - this.storageList = list2 + this.storageList = list }, // 根据缓存的数组进行渲染表格 updateTable() { diff --git a/src/views/emis/emisSettleInvoiceChRecord/index.vue b/src/views/emis/emisSettleInvoiceChRecord/index.vue index 497c9da1..feafe221 100644 --- a/src/views/emis/emisSettleInvoiceChRecord/index.vue +++ b/src/views/emis/emisSettleInvoiceChRecord/index.vue @@ -1,48 +1,7 @@