微信小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

176 行
9.3 KiB

  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="申请时间" value="{{ form.approvalItemTemplate.transfers[index].applyDate }}" placeholder="请输入申请时间" border="{{ false }}" bind:change="onChange" input-align="right"/>
  22. <van-field label="合计支出" value="{{ form.approvalItemTemplate.transfers[index].expenditureAmount }}" placeholder="请输入合计支出" border="{{ false }}" bind:change="onChange" input-align="right"/>
  23. <van-field label="支出原因" value="{{ form.approvalItemTemplate.transfers[index].remark }}" placeholder="请输入支出原因" border="{{ false }}" bind:change="onChange" input-align="right"/>
  24. <van-popup show="{{showCapitalExpenditureType}}" round position="bottom" bind:close="closeBox" data-name="showCapitalExpenditureType">
  25. <van-picker
  26. columns="{{columns}}"
  27. bind:cancel="showCapitalExpenditureType = false"
  28. bind:confirm="onConfirm"
  29. />
  30. </van-popup>
  31. <van-field label="资金支出类别" readonly value="{{ form.approvalItemTemplate.transfers[index].capitalExpenditureType }}" placeholder="请输入资金支出类别" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showCapitalExpenditureType"/>
  32. </view>
  33. <text class="title">关联项目</text>
  34. <view class="main-box table-box">
  35. <van-field label="项目名称" value="{{ value }}" placeholder="请输入项目名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link/>
  36. </view>
  37. <text class="title">付款方信息</text>
  38. <view class="main-box table-box">
  39. <!-- 付款方式无 -->
  40. <van-field label="付款方式" value="{{ form.approvalItemTemplate.transfers[index].transferType }}" placeholder="请输入付款方式" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/>
  41. <van-field value="{{ form.approvalItemTemplate.transfers[index].payer }}" placeholder="请输入付款方名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down">
  42. <view slot="label">
  43. 付款方名称<van-tag plain type="danger" color="red" round style="margin-left:10px;">必填</van-tag>
  44. </view>
  45. </van-field>
  46. <van-field label="付款方账号" value="{{ form.approvalItemTemplate.transfers[index].payerAccount }}" placeholder="请输入付款方账号" border="{{ false }}" bind:change="onChange" input-align="right"/>
  47. <van-field label="所属银行" value="{{ form.approvalItemTemplate.transfers[index].bankType }}" placeholder="请输入所属银行" border="{{ false }}" bind:change="onChange" input-align="right"/>
  48. <!-- 转账附言无 -->
  49. <van-field label="转账附言" value="{{ form.approvalItemTemplate.transfers[index].remark }}" placeholder="请输入转账附言" border="{{ false }}" bind:change="onChange" input-align="right"/>
  50. </view>
  51. <text class="title">收款方信息</text>
  52. <view class="center-box">
  53. <view class="main-box table-box">
  54. <van-cell title="收款账户类型" center border="{{false}}">
  55. <view>
  56. <van-radio-group
  57. value="{{ form.approvalItemTemplate.bankAccountType }}"
  58. bind:change="onChange"
  59. direction="horizontal"
  60. >
  61. <van-radio name="1" checked-color="#2C8E68">公户</van-radio>
  62. <van-radio name="2" checked-color="#2C8E68">私户</van-radio>
  63. </van-radio-group>
  64. </view>
  65. </van-cell>
  66. </view>
  67. <view class="main-box table-box">
  68. <van-field value="{{ form.approvalItemTemplate.transfers[index].payee }}" placeholder="请输入姓名" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down">
  69. <view slot="label">
  70. 姓名<van-tag plain type="danger" color="#5CAE77" round style="margin-left:10px;">收款方</van-tag>
  71. </view>
  72. </van-field>
  73. <van-field label="收款账户" value="{{ form.approvalItemTemplate.transfers[index].payeeAccount }}" placeholder="请输入收款账户" border="{{ false }}" bind:change="onChange" input-align="right"/>
  74. <van-field label="开户银行" value="{{ form.approvalItemTemplate.transfers[index].bankDeposit }}" placeholder="请输入开户银行" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/>
  75. <van-field label="收入金额" value="{{ form.approvalItemTemplate.transfers[index].incomeAmount }}" placeholder="请输入收入金额" border="{{ false }}" bind:change="onChange" input-align="right"/>
  76. <van-field label="所属银行" value="{{ form.approvalItemTemplate.transfers[index].bankType }}" placeholder="请输入所属银行" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/>
  77. </view>
  78. </view>
  79. <view class="main-box">
  80. <van-cell>
  81. <!-- <view slot="icon">
  82. <van-icon class-prefix="my-icon" name="extra" />
  83. </view> -->
  84. <view slot="title">
  85. <view class="van-cell-text">附件<van-tag type="danger" style="margin-left: 10px;">可拍照</van-tag></view>
  86. </view>
  87. <view>
  88. <view class="van-cell-text">总数<van-tag round color="#5CAE77" plain style="margin-left: 10px;"> 0张 </van-tag></view>
  89. </view>
  90. </van-cell>
  91. <view class="fj-box">
  92. <view class="fj-li">
  93. <text>
  94. </text>
  95. <image src="/image/apply/fj_upload.png" mode="widthFix"></image>
  96. </view>
  97. <view class="fj-li">
  98. <text>
  99. </text>
  100. <image src="/image/apply/fj_upload.png" mode="widthFix"></image>
  101. </view>
  102. <view class="fj-li">
  103. <text>
  104. </text>
  105. <image src="/image/apply/fj_upload.png" mode="widthFix"></image>
  106. </view>
  107. </view>
  108. </view>
  109. <!-- <view class="main-box steps-box">
  110. <view class="steps-tit">审批流程</view>
  111. <van-row wx:for="{{steps}}" wx:key="index">
  112. <van-col span="3">
  113. <view class="index">{{index+1}}</view>
  114. <block wx:if="{{index==0}}">
  115. <view class="indexBorder">
  116. <view class="ssT" wx:if="{{index>0}}"></view>
  117. <view class="yq"></view>
  118. <view class="ss" wx:if="{{steps.length != index+1}}"></view>
  119. </view>
  120. </block>
  121. <block wx:else>
  122. <view class="indexBorder indexCenter">
  123. <view class="ssT" wx:if="{{index>0}}"></view>
  124. <view class="yq"></view>
  125. <view class="ss" wx:if="{{steps.length != index+1}}"></view>
  126. </view>
  127. </block>
  128. </van-col>
  129. <van-col span="21">
  130. <van-cell title="{{item.activityName}}" center="{{true}}" border="{{false}}">
  131. <view class="agree" wx:if="{{item.type=='1'}}">{{ item.assigneeName }}</view>
  132. <view class="in" wx:if="{{item.type=='2'}}">{{ item.assigneeName }}</view>
  133. <view class="disagree" wx:if="{{item.type=='3'}}">{{ item.assigneeName }}</view>
  134. </van-cell>
  135. <van-cell center border="{{false}}">
  136. <view slot="title">
  137. <view style="color: #999999;">{{ item.durationInMillis }}</view>
  138. </view>
  139. <view style="color: #999999;font-size: 12px;">{{ item.endTime }}</view>
  140. </van-cell>
  141. </van-col>
  142. </van-row>
  143. </view> -->
  144. <view class="bottomBtn">
  145. <view bindtap="showPopup">
  146. <image src="/image/apply/icon_pres.png"></image>
  147. <text>保存模板</text>
  148. </view>
  149. <view>
  150. <image src="/image/apply/icon_add.png"></image>
  151. <text>新增事项</text>
  152. </view>
  153. </view>
  154. <view class="bottom">
  155. <view class="btn1" bindtap="openBox">保存</view>
  156. <view class="btn2" bindtap="goApproval">下一步</view>
  157. </view>
  158. </view>
  159. </block>
  160. <!-- <view class="bottom">
  161. <button type="warn" plain class="btnDis">驳回</button>
  162. <button type="primary" class="btnAgree">同意</button>
  163. </view> -->