优化
This commit is contained in:
@@ -87,6 +87,9 @@
|
||||
:data="billList"
|
||||
:row-class-name="tableBillRowClassName"
|
||||
@row-dblclick="billClick"
|
||||
ref="billTableRef"
|
||||
highlight-current-row
|
||||
@row-click="(row) => tableInfoRowClick(row, billTableRef)"
|
||||
>
|
||||
<el-table-column
|
||||
label="单据号"
|
||||
@@ -221,6 +224,9 @@
|
||||
border
|
||||
:data="outboundList"
|
||||
@selection-change="selectionChange"
|
||||
ref="infoTableRef"
|
||||
highlight-current-row
|
||||
@row-click="(row) => tableInfoRowClick(row, infoTableRef)"
|
||||
>
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column
|
||||
@@ -1256,6 +1262,13 @@ const delData = (row) => {
|
||||
});
|
||||
}
|
||||
|
||||
// 单击列表的颜色
|
||||
const billTableRef = ref(null);
|
||||
const infoTableRef = ref(null);
|
||||
// const tableInfoRowClick = (row, ref) => {
|
||||
// ref.setCurrentRow(row)
|
||||
// }
|
||||
|
||||
// 双击主单据查询明细
|
||||
const billDoubleClickObj = ref({});
|
||||
const detailLoading = ref(false);
|
||||
|
||||
Reference in New Issue
Block a user