微信小程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

168 wiersze
7.4 KiB

  1. <!--pages/apply/index.wxml-->
  2. <view class="ns" style="height:{{isIPX?'88px':'64px'}};">
  3. <image src="../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">收入登记</text>
  5. </view>
  6. <!-- 付款单位开始 -->
  7. <view class="top" style="margin-top:{{isIPX?'100px':'75px'}};">
  8. <image src="../../image/apply/dress_icon.png" mode="widthFix"></image>
  9. <view class="top-tit">收入单位</view>
  10. <view class="top-title">{{bookName}}</view>
  11. </view>
  12. <view class="title">
  13. <text>基础信息</text>
  14. </view>
  15. <view class="main-box table-box">
  16. <van-field readonly label="收入时间" value="{{formData.accountDate }}"
  17. placeholder="请选择收入时间" border="{{ false }}" input-align="right" is-link arrow-direction ="down"
  18. bindtap="onsrDate" required="{{true}}"
  19. />
  20. <van-calendar
  21. <view class="flex-block">
  22. <text class="rules">收入时间</text>
  23. <view class="wrap" bindtap="onsrDate" >
  24. {{formData.accountDate}}
  25. </view>
  26. <van-calendar
  27. show="{{ srShow }}"
  28. min-date="{{ minDate }}"
  29. max-date="{{ maxDate }}"
  30. bind:close="onClose"
  31. bind:confirm="onConfirm"
  32. />
  33. </view>
  34. <view class="flex-block">
  35. <text class="rules">收入金额</text>
  36. <input class="wrap" data-prop="formData.jieAmount" type="number" value="{{formData.jieAmount}}" bindinput="inputChange" placeholder="请输入收入金额"/>
  37. </view>
  38. <view class="flex-block"><text class="rules">存入账户</text>
  39. <!-- <input class="wrap" type="number" bindinput="inputChange" data-prop="formData.accountName" value="{{formData.accountName}}" placeholder="请输入存入账户"/> -->
  40. <view bindtap="oncrzhShow" class="wrap">
  41. <text wx:if="{{formData.accountName==''}}" class="color-gray">请选择存入账户</text>
  42. <text wx:else>{{formData.accountName}}</text>
  43. </view>
  44. <!-- custom-style="height: 20%;"-->
  45. <van-popup
  46. show="{{ crzhShow }}"
  47. position="bottom"
  48. bind:close="onCancelcrzh"
  49. >
  50. <van-picker columns="{{ accountListOptions }}" value-key="accountName" bind:cancel="onCancelcrzh"
  51. show-toolbar="{{true}}"
  52. bind:confirm="onConfirmcrzh"/>
  53. </van-popup>
  54. </view>
  55. <view class="flex-block"><text class="rules">收入类型</text>
  56. <picker bindchange="bindPickerChange" class="wrap picker_wrap"
  57. value="{{incomeTypeText}}"
  58. range="{{incomeTypeOptions}}"
  59. range-key="dictLabel">
  60. <view class="picker">
  61. {{incomeTypeText}}
  62. </view>
  63. </picker>
  64. </view>
  65. <view class="flex-block"><text class="rules">单据编码</text> <input class="wrap" type="number" bindinput="inputChange" data-prop="formData.billNum" value="{{formData.billNum}}" placeholder="请输入单据编码"/></view>
  66. <view class="flex-block"><text class="rules">备注说明</text> <input class="wrap" type="number" bindinput="inputChange" data-prop="formData.accountSummary" placeholder="请输入备注说明" value="{{formData.accountSummary}}"/></view>
  67. </view>
  68. <view class="title">
  69. <text>关联合同</text>
  70. </view>
  71. <view class="main-box table-box">
  72. <view class="flex-block">
  73. <text class="rules {{formData.incomeType == '2' ?'':'no'}}">付款人{{}}</text>
  74. <view class="wrap" bindtap="selectContraction">
  75. <text wx:if="{{payerText==''}}" class="color-gray">请选择付款人</text>
  76. <text wx:else>{{payerText}}</text>
  77. </view>
  78. <van-popup show="{{showHt}}" round position="bottom" bind:close="closeBox" >
  79. <van-picker
  80. columns="{{contractionOptions}}"
  81. show-toolbar
  82. value-key="name"
  83. bind:cancel="closeBox"
  84. bind:confirm="onConfirmContraction"
  85. />
  86. </van-popup>
  87. </view>
  88. <view class="flex-block"><text class="rules {{formData.incomeType == '2' ?'':'no'}}">合同编码</text>
  89. <view class="wrap" bindtap="selectContraction">
  90. <text wx:if="{{formData.contractionId==''}}" class="color-gray">请选择合同编码</text>
  91. <text wx:else>{{formData.contractionId}}</text>
  92. </view>
  93. </view>
  94. </view>
  95. <view class="title">
  96. <text>附件</text>
  97. </view>
  98. <view class="main-box table-box">
  99. <view style="margin:10px 0 5px;" class="flex-block">
  100. <text class="fjLable">收据</text>
  101. <view class='content'>
  102. <view class='img-box'>
  103. <view class='img-list'>
  104. <block wx:for="{{sjPics}}" wx:for-index="index" wx:key="index">
  105. <view class='img-item'>
  106. <van-icon class="close-ico" data-id="{{index}}" name="/image/apply/img_delete.png" size="20px" data-status="sjPics" bindtap="deleteimg" />
  107. <image src='{{item.file}}' class="imagea" bindlongpress="bindlongpressimg" data-status="sjPics" bindtap="imgPreviewImage" data-id='{{index}}'></image>
  108. </view>
  109. </block>
  110. <view class='chooseimg' bindtap='uploadSjPics'>
  111. <view class="weui-uploader__input-box"></view>
  112. </view>
  113. </view>
  114. </view>
  115. </view>
  116. </view>
  117. <view style="margin:10px 0 5px;" class="flex-block">
  118. <text class="fjLable">发票</text>
  119. <view class='content'>
  120. <view class='img-box'>
  121. <view class='img-list'>
  122. <block wx:for="{{fpPics}}" wx:for-index="index" wx:key="index">
  123. <view class='img-item'>
  124. <van-icon class="close-ico" data-id="{{index}}" name="/image/apply/img_delete.png" size="20px" data-status="fpPics" bindtap="deleteimg" />
  125. <image src='{{item.file}}' data-status="fpPics" bindtap="imgPreviewImage" class="imagea" bindlongpress="bindlongpressimg" data-id='{{index}}'></image>
  126. </view>
  127. </block>
  128. <view class='chooseimg' bindtap='uploadFpPics'>
  129. <view class="weui-uploader__input-box"></view>
  130. </view>
  131. </view>
  132. </view>
  133. </view>
  134. </view>
  135. <view style="margin:10px 0 5px;" class="flex-block">
  136. <text class="fjLable">其他</text>
  137. <view class='content'>
  138. <view class='img-box'>
  139. <view class='img-list'>
  140. <block wx:for="{{qtPics}}" wx:for-index="index" wx:key="index">
  141. <view class='img-item'>
  142. <van-icon class="close-ico" data-id="{{index}}" name="/image/apply/img_delete.png" size="20px" data-status="qtPics" bindtap="deleteimg" />
  143. <image src='{{item.file}}' data-status="qtPics" bindtap="imgPreviewImage" class="imagea" bindlongpress="bindlongpressimg" data-id='{{index}}'></image>
  144. </view>
  145. </block>
  146. <view class='chooseimg' bindtap='uploadQtPics'>
  147. <view class="weui-uploader__input-box"></view>
  148. </view>
  149. </view>
  150. </view>
  151. </view>
  152. </view>
  153. </view>
  154. <view class="main-box table-box" style="margin-top: 30rpx;">
  155. <view class="btn flex-block">
  156. <button type="primary" data-code="1" bindtap="swichAccounting" plain="true">暂存</button>
  157. <button type="primary" data-code="2" bindtap="swichAccounting">提交</button>
  158. </view>
  159. </view>