<!--选择资产-->
<nz-modal [nzMaskClosable]="false" [nzWidth]="880" [(nzVisible)]="isVisiable" [nzTitle]="title"
          (nzOnCancel)="handleEditCancel()" (nzOnOk)="handEditleOk()">
    <div style="padding:10px 15px" class="ant-advanced-search-form form-select">
        <div nz-row [nzGutter]="24">
            <div nz-col [nzSpan]="8">
                <nz-tree #nzTree
                         name="nodes"
                         [(ngModel)]="nodes"
                         [nzAsyncData]="true"
                         [nzCheckStrictly]="true"
                         (nzCheckBoxChange)="selectCheckTree($event)"
                         (nzClick)="mouseAction('click',$event)"
                         (nzExpandChange)="mouseAction('expand',$event)">
                </nz-tree>
            </div>

            <div nz-col [nzSpan]="16">
                <nz-table #basicTable [nzData]="invertoryList"
                          (nzPageIndexChange)="refreshStatus()"
                          (nzPageSizeChange)="refreshStatus()">
                    <thead>
                    <tr>
                        <th>资产编号</th>
                        <th>资产分类</th>
                        <th>资产名称</th>
                        <th nzShowCheckbox [(nzChecked)]="allChecked" [nzIndeterminate]="indeterminate"
                            (nzCheckedChange)="checkAll($event)"></th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr *ngFor="let data of basicTable.data">
                        <td>{{data.inventoryNo}}</td>
                        <td>{{data.invertoryname}}</td>
                        <td>{{data.name}}</td>
                        <td nzShowCheckbox [(nzChecked)]="data.checked"
                            (nzCheckedChange)="selectItem(data,$event)"></td>
                    </tr>
                    </tbody>
                </nz-table>
            </div>
        </div>
    </div>
</nz-modal>
