src/views/basic/gytransport/cgContractTransportBillList/Cg_ContractTransportBillList.vue
@@ -588,7 +588,8 @@ }, //选中行高亮样式 rowStyle({ row, rowIndex }) { if (this.ids.includes(row.hmainid)) { // 使用 HInterID 判断 if (this.ids.includes(row.HInterID)) { return { "background": "#ecf5ff" } } }, @@ -603,8 +604,7 @@ }, // 多选框选中数据 handleSelectionChange(selection) { // this.rowForm = {} this.ids = selection.map(item => item.hmainid) this.ids = selection.map(item => item.HInterID) this.single = selection.length != 1 this.multiple = !selection.length if (!this.single) {