给全部业务单据都加上嵌套子表格的功能
This commit is contained in:
@@ -123,6 +123,8 @@
|
||||
:scroll="scroll"
|
||||
:loading="loading"
|
||||
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
||||
:expandedRowKeys="expandedRowKeys"
|
||||
@expand="onExpand"
|
||||
@change="handleTableChange">
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<a @click="myHandleDetail(record, '请购单', prefixNo)">查看</a>
|
||||
@@ -142,6 +144,17 @@
|
||||
<a-tag v-if="status == '3'" color="blue">部分采购</a-tag>
|
||||
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
|
||||
</template>
|
||||
<a-table
|
||||
bordered
|
||||
size="small"
|
||||
slot="expandedRowRender"
|
||||
slot-scope="record"
|
||||
:loading="record.loading"
|
||||
:columns="detailColumns"
|
||||
:dataSource="record.childrens"
|
||||
:row-key="record => record.id"
|
||||
:pagination="false">
|
||||
</a-table>
|
||||
</a-table>
|
||||
</div>
|
||||
<!-- table区域-end -->
|
||||
|
||||
Reference in New Issue
Block a user