
<div>
      <List [renderHeader]=(renderHeader) [renderFooter]=(renderFooter)>
      

   
<InputItem
 [placeholder]=" '合同编号'"
   [(ngModel)]="search.num" 
   [clear]="true"  >
</InputItem>     
         


      


      



   
<InputItem
 [placeholder]=" '合同名称'"
   [(ngModel)]="search.name" 
   [clear]="true"  >
</InputItem>     
         


      


      



    


      


    
 <ListItem
        Picker
        [extra]="statusOrg"
        [arrow]="'horizontal'"
        [data]="contractStaDic"
        [(ngModel)] = "statusOrg"
       (ngModelChange)="inputChange($event,'contractSta','status')"
      >
        单据状态
      </ListItem>
         



    


    
 <ListItem   [extra]="search.signDate" [arrow]="'horizontal'" (onClick)="showDate('signDate')">
          {{'签订日期'}}
</ListItem>
         


      



    


      


      


        <ListItem>
          <a Button [type]="'primary'"   [size]="'small'" [inline]="true" (onClick)="doSearch(search)">
            提交
          </a>
          <a Button style="margin-left: 2.5px;" [size]="'small'" [inline]="true" (onClick)="onReset()">
            重置
          </a>
        </ListItem>
      </List>
</div>

  <ListItem   *ngFor="let row of table.rows" multipleLine  >
        <div  [ngClass]="{'list-content':!row.showAll}">
           <p>税额:{{row.taxMoney}}</p><p>合同金额(不含税):{{row.noTaxSum}}</p><p>合同编号:{{row.num}}</p><p>发票类型:{{row.invoiceType}}</p><p>补充协议累计金额(含税):{{row.addAgreeTaxSum}}</p><p>税率:{{row.taxRate}}</p><p>合同金额(含税):{{row.taxSum}}</p><p>采购类别:{{row.byCategory}}</p><p>调整后合同金额(不含税):{{row.adjustNoTaxSum}}</p><p>附件上传:{{row.accessory}}</p><p>调整后合同金额(含税):{{row.adjustTaxSum}}</p><p>采购方式:{{row.buyWay}}</p><p>备注信息:{{row.remarks}}</p><p>计税方式:{{row.taxWay}}</p><p>支付方式:{{row.pay_way}}</p><p>合同名称:{{row.name}}</p><p>单据状态:{{row.status}}</p><p>补充协议累计金额(不含税):{{row.addAgreeNoTaxSum}}</p><p>签订日期:{{row.signDate}}</p><p>所属项目/单位:{{row.unit? row.unit.id:""}}</p>
        </div>
        <div Button [type]="'primary'" (click)="goDetail(row.id)" [inline]="true" class="list-detail" [size]="'small'">详情</div>
        <div (click)="row.showAll=!row.showAll" class="list-more am-list-arrow" [ngClass]="row.showAll?'am-list-arrow-vertical-up':'am-list-arrow-vertical'" ></div>
      </ListItem>
  
 <Calendar [(ngModel)]="this.state.date"
                [locale]="this.state.en ? 'enUS' : 'zhCN'"
                [enterDirection]="this.state.enterDirection"
                [visible]="this.state.show"
                [getDateExtra]="this.state.getDateExtra"
                [defaultDate]="this.state.now"
                [minDate]="this.state.minDate"
                [maxDate]="this.state.maxDate"
                [pickTime]="this.state.pickTime"
                [type]="this.state.type"
                [rowSize]="this.state.rowSize"
                [showShortcut]="this.state.showShortcut"
                [infinite]="this.state.infinite"
                [defaultValue]="this.state.defaultValue"
                [onSelect]="this.state.onSelect"
                (onCancel)="triggerCancel()"
                (onConfirm)="triggerConfirm($event)"
                (onSelectHasDisableDate)="triggerSelectHasDisableDate($event)"></Calendar>


