|
@ -31,7 +31,7 @@ |
|
|
</el-button> |
|
|
</el-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
|
|
|
<!-- |
|
|
<el-row :gutter="10" class="mb8"> |
|
|
<el-row :gutter="10" class="mb8"> |
|
|
<el-col :span="1.5"> |
|
|
<el-col :span="1.5"> |
|
|
<el-button |
|
|
<el-button |
|
@ -59,25 +59,25 @@ |
|
|
:showSearch.sync="showSearch" |
|
|
:showSearch.sync="showSearch" |
|
|
@queryTable="getList" |
|
|
@queryTable="getList" |
|
|
></right-toolbar> |
|
|
></right-toolbar> |
|
|
</el-row> |
|
|
</el-row> --> |
|
|
|
|
|
|
|
|
<el-table |
|
|
<!-- <el-table |
|
|
ref="refTable" |
|
|
ref="refTable" |
|
|
v-loading="loading" |
|
|
v-loading="loading" |
|
|
:data="contractsList" |
|
|
:data="contractsList" |
|
|
@selection-change="handleSelectionChangeContract" |
|
|
@selection-change="handleSelectionChangeContract" |
|
|
:row-key="getRowKeys" |
|
|
> --> |
|
|
:expand-row-keys="expands" |
|
|
<el-table ref="refTable" v-loading="loading" :data="contractsList"> |
|
|
> |
|
|
<!-- <el-table-column type="selection" width="55" align="center" fixed /> --> |
|
|
<el-table-column type="expand" prop="children"> |
|
|
<el-table-column type="expand" prop="children" fixed> |
|
|
<template slot-scope="props"> |
|
|
<template slot-scope="scope"> |
|
|
<el-table |
|
|
<!-- <el-table |
|
|
@selection-change="handleSelectionChange" |
|
|
@selection-change="handleSelectionChange" |
|
|
:data="props.row.children" |
|
|
:data="scope.row.children" |
|
|
stripe |
|
|
|
|
|
border |
|
|
border |
|
|
> |
|
|
> --> |
|
|
<el-table-column type="selection" width="55" align="center" fixed /> |
|
|
<el-table :data="scope.row.children" border> |
|
|
|
|
|
<!-- <el-table-column type="selection" width="55" align="center" fixed /> --> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
label="序号" |
|
|
label="序号" |
|
|
type="index" |
|
|
type="index" |
|
@ -150,8 +150,14 @@ |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<el-table-column type="selection" width="55" align="center" fixed /> |
|
|
<el-table-column |
|
|
<el-table-column label="序号" type="index" width="50" align="center" /> |
|
|
label="序号" |
|
|
|
|
|
type="index" |
|
|
|
|
|
width="50" |
|
|
|
|
|
align="center" |
|
|
|
|
|
fixed |
|
|
|
|
|
/> |
|
|
|
|
|
|
|
|
<el-table-column |
|
|
<el-table-column |
|
|
label="合同名称" |
|
|
label="合同名称" |
|
|
align="center" |
|
|
align="center" |
|
@ -415,9 +421,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
expands: [], |
|
|
expands: [], |
|
|
flag: "", |
|
|
flag: "", |
|
|
getRowKeys(row) { |
|
|
|
|
|
return row.id; |
|
|
|
|
|
}, |
|
|
|
|
|
//支付记录数据 |
|
|
//支付记录数据 |
|
|
infoList: [], |
|
|
infoList: [], |
|
|
// 遮罩层 |
|
|
// 遮罩层 |
|
@ -487,6 +491,9 @@ export default { |
|
|
// }, |
|
|
// }, |
|
|
// }, |
|
|
// }, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
getRowKeys(row) { |
|
|
|
|
|
return row.id; |
|
|
|
|
|
}, |
|
|
getList() { |
|
|
getList() { |
|
|
if (this.proNo && this.proCode) { |
|
|
if (this.proNo && this.proCode) { |
|
|
this.queryParams.data.proNo = this.proNo; |
|
|
this.queryParams.data.proNo = this.proNo; |
|
@ -671,6 +678,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
expandChange(row, expandedRows) { |
|
|
expandChange(row, expandedRows) { |
|
|
let that = this; |
|
|
let that = this; |
|
|
|
|
|
console.log(4444, row, expandedRows); |
|
|
if (expandedRows.length > 1) { |
|
|
if (expandedRows.length > 1) { |
|
|
that.expands = []; |
|
|
that.expands = []; |
|
|
if (row) { |
|
|
if (row) { |
|
|