select-bill.wxml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
  2. <loading wx:if="{{loading}}"></loading>
  3. <van-sticky scroll-top="0">
  4. <!-- 查询条件 -->
  5. <dk-dropdown-menu model:value="{{searchForm}}" flgSearchText="{{false}}" menuList="{{searchContent}}" pullMenuList="{{pullMenuList}}" bind:search="searchData" >
  6. </dk-dropdown-menu>
  7. </van-sticky>
  8. <!-- 总的应收收款 -->
  9. <view>
  10. <view class="detail-top" data-item="{{item}}">
  11. <image class="scan-image" fit="fill" src="{{imageUrl+'/detail_sale_order.png'}}"></image>
  12. <view class="detail-top-sup" style="display: flex;">
  13. <view style="width: 13%;">
  14. <image class="scan-image-icon" fit="fill" src="{{imageUrl+'/order_billing_detail_01.png'}}"></image>
  15. </view>
  16. <view style="display: flex;" wx:if="{{objInfo!=null}}">
  17. {{objInfo.supName?objInfo.supName
  18. :objInfo.cusName + " " + objInfo.cusPhone}}
  19. </view>
  20. </view>
  21. <view style="display: flex; justify-content: space-around;color: #002340;font-weight: bold;">
  22. <view style=" padding-top: 15rpx; ">
  23. {{objectType == 'cusId'?'应收余额':'应付余额'}}
  24. </view>
  25. <view style=" padding-top: 15rpx;font-size: 36rpx; ">
  26. {{objectType == 'cusId'?wxmlUtil.toThousandCents(objInfo.receivableResidue):wxmlUtil.toThousandCents(objInfo.payableResidue)}}
  27. </view>
  28. </view>
  29. <view style="display: flex; justify-content: space-around;color: #002340;font-weight: bold;">
  30. <view style=" padding-top: 15rpx; ">
  31. {{objectType == 'cusId'?'预收余额':'预付余额'}}
  32. </view>
  33. <view style=" padding-top: 15rpx;font-size: 36rpx; ">
  34. {{objectType == 'cusId'?wxmlUtil.toThousandCents(objInfo.receiptResidue):wxmlUtil.toThousandCents(objInfo.paymentResidue)}}
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. <!-- 列表数据 -->
  40. <view wx:for="{{tableData}}" data-item="{{item}}" wx:key="index" class="main-class">
  41. <view class="main-foot" style="border-radius: 15rpx;">
  42. <view class="table-content" data-item="{{item}}">
  43. <view style="padding:16rpx;">
  44. <view style="display:flex;justify-content: left;align-items: center;">
  45. <view style="width: 10%;">
  46. <van-checkbox checked-color="#E4002B" value="{{ item.checked }}" data-index="{{index}}" data-index_="{{index_}}" bind:change="onListItemChange"></van-checkbox>
  47. </view>
  48. <view style="width: 90%;font-size: 28rpx;color:#1B365D;padding: 20rpx;">
  49. <view style="margin-top: 20rpx;">单据单号: {{item.biznisNo}}</view>
  50. <view style="margin-top: 20rpx;">单据类型: {{item.biznisTypeName}}</view>
  51. <view style="margin-top: 20rpx;">单据金额: {{wxmlUtil.toThousandCents(item.amtShould)}}</view>
  52. <view style="margin-top: 20rpx;">未/已核销: {{wxmlUtil.toThousandCents(item.amtResidue)}}/{{wxmlUtil.toThousandCents(item.amtHandle)}}</view>
  53. <view style="margin-top: 20rpx;"> 账务日期: {{item.accDate}}</view>
  54. </view>
  55. </view>
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. <!-- 暂无数据 -->
  61. <van-empty wx:if="{{tableData.length<=0}}" description="{{$t['nodata']}}" />
  62. <view style="height: 200rpx;"></view>
  63. <dk-save-button model:value="{{btnFormData}}" btnAutoWidthFlag="{{true}}" btnRightFlag="{{true}}" buttonList="{{buttonList}}" contentList="{{contentList}}" bind:open="returnData"></dk-save-button>