From ee67f1b21fa25963acb47c61f23109423bfa7cb6 Mon Sep 17 00:00:00 2001 From: linfso Date: Tue, 6 Aug 2024 17:03:30 +0800 Subject: [PATCH] md --- src/components/XdTable/index.vue | 14 +- .../emis/emisSettleInvoiceChRecord/index.vue | 562 +++++------------- .../emis/emisWaybill/sendWaybillList.vue | 3 +- 3 files changed, 166 insertions(+), 413 deletions(-) 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 @@