<van-dialog id="van-dialog" />
<loading wx:if="{{loading}}"></loading>
<!-- 添加模版 -->
<!-- <import src="/utils/template.wxml" />
<template is="myTemplate" /> -->
<dk-form-bill type="sale" id="dk-form-bill" routeObjName="{{routeObjName}}" cardList="{{cardList}}"  titleCol="skuCode" descCol="skuModel" priceCol="priceStandard" quantityCol="itemQty" sumAmountCol="sumAmount" discountStandardCol="saleDiscount" contentObj="{{contentObj}}" model:value="{{formData}}" popContent="{{popContent}}" bind:chooseData="chooseData" bind:setGoods="setGoods" bind:editItems="editItems" bind:openChoosedItemInfo="openChoosedItemInfo" deleteName="deleteItemList" bind:customersChoose="customersChoose" popType="sale" staff="staff" org="org" readonly="{{true}}" bind:changeNumberBlur="changeNumberBlur">
</dk-form-bill>

<!-- <dk-save-button model:value="{{btnFormData}}" btnAutoWidthFlag="{{true}}" btnRightFlag="{{true}}" buttonList="{{buttonSaveList}}" contentList="{{contentSaveList}}" bind:open="open"></dk-save-button> -->

<view class="dk-card-outer-class">
  <view class="dk-card-class">
    <view class="item-class">

      <view class="item-title-class">收款详情</view>
    </view>
    <view wx:for="{{recPayItem}}" wx:for-item="item" data-item="{{item}}" wx:for-index="cardIndex">
    <view style="margin-bottom: 10px;">
      <view class="table-content-row">
        <view style="display: flex;">
          <view class="table-content-row-font">
            <dk-text fontSize="14px" color="#95A8CB" fontWeight="nomal" value="账户名称" copyValue="{{item.macName}}"></dk-text>
          </view>
          <view class="table-content-class">
            {{item.macName}}
          </view>
        </view>
      </view>

      <view class="table-content-row">
        <view style="display: flex;">
          <view class="table-content-row-font">
            <dk-text fontSize="14px" color="#95A8CB" fontWeight="nomal" value="收款金额" copyValue="{{item.amtRec}}"></dk-text>
          </view>
          <view class="table-content-class" >
            <!-- {{item.amtRec}} -->
            <dk-cell height="40rpx" contentRight="{{false}}" left="0rpx" center="left" fontSize="14" contentColor="#FF7B1A" spaceWidth="0rpx" content="{{item.amtRec}}"></dk-cell>
          </view>
        </view>
      </view>

      <view class="table-content-row">
        <view style="display: flex;">
          <view class="table-content-row-font">
            <dk-text fontSize="14px" color="#95A8CB" fontWeight="nomal" value="备注" copyValue="{{item.remarks}}"></dk-text>
          </view>
          <view class="table-content-class">
            {{item.remarks ? item.remarks : ''}}
          </view>
        </view>
      </view>
    </view>
     
    </view>
  </view>



</view>

<!-- <view style="position: fixed;bottom: 230rpx;right: 30rpx;">
  <view bind:tap="toDetail" class="btn-add-class">
    <van-icon name="edit" color="#FFFFFF" size="60rpx" />
  </view>
</view> -->
<!-- 编辑  -->
<view style="position: fixed;bottom: 230rpx;right: 30rpx;z-index: 99;" bindtap="toDetail">
  <image src="{{imageUrl + 'edit.png'}} " class="edit-class"  />
</view>