<view>
  <!-- 顶部筛选条件 -->
<van-dropdown-menu>
  <van-dropdown-item id="org-components" title="{{orgNames?orgNames:'全部门店' }}" data-type="org" bind:open="dropdowncommit">
  </van-dropdown-item>
  <!-- <van-dropdown-item id="month-components" title="{{monthName?monthName:'本月' }}" data-type="month" bind:open="dropdowncommit">
  </van-dropdown-item> -->
  <van-dropdown-item id="create-time-type" title="{{createTimeType.text}}">
    <dk-dropdown-date id="month-components"  dateType="accountdate" blankFlag="{{false}}" dateDefault='{{createTimeType}}' defaultValue='{{createTimeType.value}}' bind:dateCommit='dateCommit'></dk-dropdown-date>
  </van-dropdown-item>

</van-dropdown-menu>

  <view style="width: calc(100% - 68rpx);padding: 40rpx 34rpx;">
    <dk-table columns="{{tab1Columns}}" table-data="{{tab1TableData}}" top-data="{{tab1TopData}}" />
  </view>
</view>

<!-- 选门店 -->
<dk-muti-dropdown-item show="{{orgFlag}}" docName="客户资料" id='org' typeName='org' bind:muticommit='mutiSearchAll' bind:muticlose='muticloseAll'></dk-muti-dropdown-item>

<!-- 选时间 -->
<van-popup position="bottom" show="{{ monthFlag }}" bind:close="onCloseChooseDate" class="popup" style="width:100%" custom-style="border-radius:15rpx;">
  <view style="display:flex;justify-content: space-around;height:80rpx;">
    <view style="width:45%;text-align: left;color:#b6b6b6;line-height:80rpx;" catchtap="onCloseChooseDate">取消</view>
    <view style="width:45%;text-align: right;color:#00A7B5;line-height:80rpx;" catchtap="onConfirmChooseDate">确定</view>
  </view>
  <van-datetime-picker type="year-month" value="{{ monthOnChoose }}" bind:input="onInput" show-toolbar="{{false}}" formatter="{{formatter}}" />
</van-popup>