<wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
<view class="ct-wx-step">
  <view class='ct-wx-cell-list' wx:key="{{item}}" wx:for="{{stepList}}">
    <view style="display: flex;">
      <view class='ct-wx-cell-point  default'></view>
      <view style="height:10px;color:#E4E4E4;font-size: 12px; margin-left: 2vw;">
        {{ wxmlUtil.formatDate(item.makeTime)}}
      </view>
    </view>
    <view class='ct-wx-cell-line '>
      <view wx:if="{{item.type === '核销信息'}}">
        <view class="dk-card-outer-class">
          <view class="dk-card-class">
            <view class="item-class">
              <view class="item-title-class">{{item.type}}
                <view style="font-size: 13px;font-weight: 500;">{{item.no ? item.no : ''}}</view>
              </view>
              <view>
                <dk-tag type="primary" padding="0 20rpx" height="40rpx" color="#9FAEE5" textColor="#FFFFFF" radius="5rpx" roundFlag="{{true}}" value="{{!expand?'展开':'收起'}}" catchtap="expandCard" data-item="{{card}}" data-index="{{cardIndex}}"></dk-tag>
              </view>
            </view>
            <view></view>
            <view style="display:flex;padding: 5vw;" border="{{ false }}">
              <view style="color:#95A8CB;font-size:13px;place-self:center;margin-right: 5vw;">核销金额 </view>
              <view>
                <dk-cell left="0rpx" center="center" fontSize="15" contentFontSize="18" contentColor="#1B365D" spaceWidth="0" contentFontWeight="700" amount="{{true}}" content="{{item.sumShouldHandle?item.sumShouldHandle:0}}"></dk-cell>
              </view>
            </view>
            <view style="display:flex;padding: 5vw;" border="{{ false }}">
              <view style="color:#95A8CB;font-size:13px;place-self:center;margin-right: 5vw;">优惠金额 </view>
              <view>
                <dk-cell left="0rpx" center="center" fontSize="15" contentFontSize="18" contentColor="#1B365D" spaceWidth="0" contentFontWeight="700" amount="{{true}}" content="{{item.sumWaiveAmt?item.sumWaiveAmt:0}}"></dk-cell>
              </view>
            </view>
            <view style="display:flex;padding: 5vw;" border="{{ false }}">
              <view style="color:#95A8CB;font-size:13px;place-self:center;margin-right: 5vw;">预付抵扣 </view>
              <view>
                <dk-cell left="0rpx" center="center" fontSize="15" contentFontSize="18" contentColor="#1B365D" spaceWidth="0" contentFontWeight="700" amount="{{true}}" content="{{item.sumUsePaymentResidue?item.sumUsePaymentResidue:0}}"></dk-cell>
              </view>
            </view>
            <view style="display:flex;padding: 5vw;" border="{{ false }}">
              <view style="color:#95A8CB;font-size:13px;place-self:center;margin-right: 5vw;">收款金额 </view>
              <view>
                <dk-cell left="0rpx" center="center" fontSize="15" contentFontSize="18" contentColor="#1B365D" spaceWidth="0" contentFontWeight="700" amount="{{true}}" content="{{item.sumAmtRec?item.sumAmtRec:0}}"></dk-cell>
              </view>
            </view>
          </view>
        </view>
      </view>
      <view wx:else>
      
        <dk-goos-list-step list="{{item.itemResponseList}}" no="no" title="{{item.type}}" titleCol="skuName" titleTagCol="brandName" descCol="skuCode" priceCol="pricePur" quantityCol="itemQty"></dk-goos-list-step>
      </view>

    </view>
  </view>
</view>