微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. <!--pages/apply/paymentTemplate/add/add.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. <view class="pure_top" style="top:{{isIPX?'88px':'64px'}};"></view>
  7. <view class="main-box top-box" style="margin-top:{{isIPX?'100px':'75px'}};">
  8. <text class="box-title">审批事项</text>
  9. <input class="input_tit" placeholder="请输入审批事项" value="{{form.approvalItemTemplate.approvalItems}}" bindinput="bindKeyInput"/>
  10. <text>提交单位:{{form.approvalItemTemplate.submitCompany}}</text>
  11. <text>提交日期:{{form.approvalItemTemplate.submitDate}}</text>
  12. <text>提 交 人:{{form.approvalItemTemplate.submitter}}</text>
  13. <text>联系电话:{{form.approvalItemTemplate.telephone}}</text>
  14. </view>
  15. <block wx:for="{{form.approvalItemTemplate.transfers}}" wx:key="index">
  16. <view class="main-title">事项一</view>
  17. <view class="center">
  18. <text class="title">基础信息</text>
  19. <view class="main-box table-box">
  20. <!-- <van-field label="申请流水号" value="{{ form.approvalItemTemplate.telephone }}" placeholder="请输入申请流水号" border="{{ false }}" bind:change="onChange" input-align="right"/> -->
  21. <van-field label="申请时间" readonly is-link value="{{ form.approvalItemTemplate.transfers[index].applyDate }}" placeholder="请选择申请时间" border="{{ false }}" bind:change="onChange" input-align="right" bindtap="openBox" data-name="showApplyDate" />
  22. <van-calendar show="{{ showApplyDate }}" bind:close="closeBox" data-name="showApplyDate" bind:confirm="onConfirm" data-value="form.approvalItemTemplate.transfers[{{index}}].applyDate" show-confirm="{{ false }}" />
  23. <van-field label="合计支出" value="{{ form.approvalItemTemplate.transfers[index].expenditureAmount }}" placeholder="请输入合计支出" border="{{ false }}" bind:change="onChange" input-align="right"/>
  24. <van-field label="支出原因" value="{{ form.approvalItemTemplate.transfers[index].remark }}" placeholder="请输入支出原因" border="{{ false }}" bind:change="onChange" input-align="right"/>
  25. <van-popup show="{{showCapitalExpenditureType}}" round position="bottom" bind:close="closeBox" data-name="showCapitalExpenditureType">
  26. <van-picker
  27. columns="{{capitalExpenditureTypeOptions}}"
  28. show-toolbar
  29. value-key="dictLabel"
  30. bind:cancel="closeBox"
  31. bind:confirm="onConfirmPick"
  32. data-name="showCapitalExpenditureType"
  33. data-value="form.approvalItemTemplate.transfers[{{index}}].capitalExpenditureType"
  34. />
  35. </van-popup>
  36. <van-field label="资金支出类别" readonly value="{{ form.approvalItemTemplate.transfers[index].capitalExpenditureTypeText }}" placeholder="请选择资金支出类别" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showCapitalExpenditureType"/>
  37. </view>
  38. <block wx:if="{{form.approvalItemTemplate.transfers[index].capitalExpenditureType == 2}}">
  39. <text class="title">关联项目</text>
  40. <view class="main-box table-box">
  41. <van-popup show="{{showProject}}" round position="bottom" bind:close="closeBox" data-name="showProject">
  42. <van-picker
  43. columns="{{projectOptions}}"
  44. show-toolbar
  45. value-key="projectName"
  46. bind:cancel="closeBox"
  47. bind:confirm="onConfirmProject"
  48. data-name="showProject"
  49. data-value="projectForm.projectName"
  50. />
  51. </van-popup>
  52. <van-field label="项目名称" readonly value="{{ projectForm.projectName }}" placeholder="请输入项目名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link bindtap="openBox" data-name="showProject"/>
  53. <van-field label="承建单位" readonly value="{{ projectForm.projectContractor }}" placeholder="请输入承建单位" border="{{ false }}" bind:change="onChange" input-align="right"/>
  54. <van-field label="合同价款(元)" readonly value="{{ projectForm.projectAmount }}" placeholder="请输入合同价款(元)" border="{{ false }}" bind:change="onChange" input-align="right"/>
  55. <van-popup show="{{showProjectFundType}}" round position="bottom" bind:close="closeBox" data-name="showProjectFundType">
  56. <van-picker
  57. columns="{{projectFundTypeOptions}}"
  58. show-toolbar
  59. value-key="dictLabel"
  60. bind:cancel="closeBox"
  61. bind:confirm="onConfirmPick"
  62. data-name="showProjectFundType"
  63. data-value="projectForm.projectFundType"
  64. />
  65. </van-popup>
  66. <van-field label="工程款类型" readonly value="{{ projectForm.projectFundTypeText }}" placeholder="请选择工程款类型" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showProjectFundType"/>
  67. <van-field label="工程发票号" value="{{ projectForm.projectBillNum }}" placeholder="请输入工程发票号" border="{{ false }}" bind:change="onChange" input-align="right"/>
  68. </view>
  69. </block>
  70. <block wx:if="{{form.approvalItemTemplate.transfers[index].capitalExpenditureType == 4}}">
  71. <text class="title">关联合同</text>
  72. <view class="main-box table-box">
  73. <van-popup show="{{showContraction}}" round position="bottom" bind:close="closeBox" data-name="showContraction">
  74. <van-picker
  75. columns="{{contractionOptions}}"
  76. show-toolbar
  77. value-key="name"
  78. bind:cancel="closeBox"
  79. bind:confirm="onConfirmContraction"
  80. data-name="showContraction"
  81. data-value="contractionForm.name"
  82. />
  83. </van-popup>
  84. <van-field label="合同名称" readonly value="{{ contractionForm.name }}" placeholder="请选择合同名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link bindtap="openBox" data-name="showContraction"/>
  85. <van-field label="合同编码" value="{{ contractionForm.code }}" placeholder="请输入合同编码" border="{{ false }}" bind:change="onChange" input-align="right"/>
  86. <van-field label="合同价款(元)" readonly value="{{ contractionForm.totalAmount }}" placeholder="请输入合同价款(元)" border="{{ false }}" bind:change="onChange" input-align="right"/>
  87. </view>
  88. </block>
  89. <text class="title">付款方信息</text>
  90. <view class="main-box table-box">
  91. <van-popup show="{{showTransferType}}" round position="bottom" bind:close="closeBox" data-name="showTransferType">
  92. <van-picker
  93. columns="{{transferTypeOptions}}"
  94. show-toolbar
  95. value-key="dictLabel"
  96. bind:cancel="closeBox"
  97. bind:confirm="onConfirmaTransfer"
  98. data-name="showTransferType"
  99. data-value="form.approvalItemTemplate.transfers[{{index}}]"
  100. />
  101. </van-popup>
  102. <van-field label="付款方式" readonly value="{{ form.approvalItemTemplate.transfers[index].transferTypeText }}" placeholder="请输入付款方式" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showTransferType"/>
  103. <van-popup show="{{showAccount}}" round position="bottom" bind:close="closeBox" data-name="showAccount">
  104. <van-picker
  105. columns="{{accountOptions}}"
  106. show-toolbar
  107. value-key="accountName"
  108. bind:cancel="closeBox"
  109. bind:confirm="onConfirmAccount"
  110. data-name="showAccount"
  111. data-value="form.approvalItemTemplate.transfers[{{index}}]"
  112. />
  113. </van-popup>
  114. <van-field readonly value="{{ form.approvalItemTemplate.transfers[index].payer }}" placeholder="请选择付款方名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showAccount">
  115. <view slot="label">
  116. 付款方<van-tag plain type="danger" color="red" round style="margin-left:10px;">必填</van-tag>
  117. </view>
  118. </van-field>
  119. <van-field readonly wx:if="{{form.approvalItemTemplate.transfers[index].transferType == 11}}" label="可用余额(元)" value="{{ balance }}" placeholder="可用余额" border="{{ false }}" bind:change="onChange" input-align="right"/>
  120. <block wx:else>
  121. <van-field readonly label="付款方账号" value="{{ form.approvalItemTemplate.transfers[index].payerAccount }}" placeholder="请输入付款方账号" border="{{ false }}" bind:change="onChange" input-align="right"/>
  122. <van-field readonly label="所属银行" value="{{ form.approvalItemTemplate.transfers[index].bankTypeText }}" placeholder="请输入所属银行" border="{{ false }}" bind:change="onChange" input-align="right"/>
  123. </block>
  124. </view>
  125. <text class="title">收款方信息</text>
  126. <view class="center-box">
  127. <view class="main-box table-box">
  128. <van-cell title="收款账户类型" center border="{{false}}">
  129. <view>
  130. <van-radio-group
  131. value="{{ form.approvalItemTemplate.bankAccountType }}"
  132. bind:change="onChange"
  133. direction="horizontal"
  134. >
  135. <van-radio name="1" checked-color="#2C8E68">公户</van-radio>
  136. <van-radio name="2" checked-color="#2C8E68">私户</van-radio>
  137. </van-radio-group>
  138. </view>
  139. </van-cell>
  140. </view>
  141. <view class="main-box table-box">
  142. <van-field value="{{ form.approvalItemTemplate.transfers[index].payee }}" placeholder="请输入姓名" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down">
  143. <view slot="label">
  144. 姓名<van-tag plain type="danger" color="#5CAE77" round style="margin-left:10px;">收款方</van-tag>
  145. </view>
  146. </van-field>
  147. <van-field label="收款账户" value="{{ form.approvalItemTemplate.transfers[index].payeeAccount }}" placeholder="请输入收款账户" border="{{ false }}" bind:change="onChange" input-align="right"/>
  148. <van-field label="开户银行" value="{{ form.approvalItemTemplate.transfers[index].bankDeposit }}" placeholder="请输入开户银行" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/>
  149. <van-field label="收入金额" value="{{ form.approvalItemTemplate.transfers[index].incomeAmount }}" placeholder="请输入收入金额" border="{{ false }}" bind:change="onChange" input-align="right"/>
  150. <van-field label="所属银行" value="{{ form.approvalItemTemplate.transfers[index].bankType }}" placeholder="请输入所属银行" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/>
  151. </view>
  152. </view>
  153. <view class="main-box">
  154. <van-cell>
  155. <!-- <view slot="icon">
  156. <van-icon class-prefix="my-icon" name="extra" />
  157. </view> -->
  158. <view slot="title">
  159. <view class="van-cell-text">附件<van-tag type="danger" style="margin-left: 10px;">可拍照</van-tag></view>
  160. </view>
  161. <view>
  162. <view class="van-cell-text">总数<van-tag round color="#5CAE77" plain style="margin-left: 10px;"> 0张 </van-tag></view>
  163. </view>
  164. </van-cell>
  165. <view class="fj-box">
  166. <view class="fj-li">
  167. <text>
  168. </text>
  169. <image src="/image/apply/fj_upload.png" mode="widthFix"></image>
  170. </view>
  171. <view class="fj-li">
  172. <text>
  173. </text>
  174. <image src="/image/apply/fj_upload.png" mode="widthFix"></image>
  175. </view>
  176. <view class="fj-li">
  177. <text>
  178. </text>
  179. <image src="/image/apply/fj_upload.png" mode="widthFix"></image>
  180. </view>
  181. </view>
  182. </view>
  183. <!-- <view class="main-box steps-box">
  184. <view class="steps-tit">审批流程</view>
  185. <van-row wx:for="{{steps}}" wx:key="index">
  186. <van-col span="3">
  187. <view class="index">{{index+1}}</view>
  188. <block wx:if="{{index==0}}">
  189. <view class="indexBorder">
  190. <view class="ssT" wx:if="{{index>0}}"></view>
  191. <view class="yq"></view>
  192. <view class="ss" wx:if="{{steps.length != index+1}}"></view>
  193. </view>
  194. </block>
  195. <block wx:else>
  196. <view class="indexBorder indexCenter">
  197. <view class="ssT" wx:if="{{index>0}}"></view>
  198. <view class="yq"></view>
  199. <view class="ss" wx:if="{{steps.length != index+1}}"></view>
  200. </view>
  201. </block>
  202. </van-col>
  203. <van-col span="21">
  204. <van-cell title="{{item.activityName}}" center="{{true}}" border="{{false}}">
  205. <view class="agree" wx:if="{{item.type=='1'}}">{{ item.assigneeName }}</view>
  206. <view class="in" wx:if="{{item.type=='2'}}">{{ item.assigneeName }}</view>
  207. <view class="disagree" wx:if="{{item.type=='3'}}">{{ item.assigneeName }}</view>
  208. </van-cell>
  209. <van-cell center border="{{false}}">
  210. <view slot="title">
  211. <view style="color: #999999;">{{ item.durationInMillis }}</view>
  212. </view>
  213. <view style="color: #999999;font-size: 12px;">{{ item.endTime }}</view>
  214. </van-cell>
  215. </van-col>
  216. </van-row>
  217. </view> -->
  218. <view class="bottomBtn">
  219. <view bindtap="showPopup">
  220. <image src="/image/apply/icon_pres.png"></image>
  221. <text>保存模板</text>
  222. </view>
  223. <view>
  224. <image src="/image/apply/icon_add.png"></image>
  225. <text>新增事项</text>
  226. </view>
  227. </view>
  228. <view class="bottom">
  229. <view class="btn1" bindtap="openBox">保存</view>
  230. <view class="btn2" bindtap="goApproval">下一步</view>
  231. </view>
  232. </view>
  233. </block>
  234. <!-- <view class="bottom">
  235. <button type="warn" plain class="btnDis">驳回</button>
  236. <button type="primary" class="btnAgree">同意</button>
  237. </view> -->