微信小程序
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

437 рядки
28 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="center" style="margin-top:{{isIPX?'100px':'75px'}};">
  8. <!-- ------------------------------基础信息 start------------------------------ -->
  9. <text class="title">基础信息</text>
  10. <view class="main-box table-box">
  11. <!-- 申请时间 start -->
  12. <van-field required label="申请时间:" readonly is-link value="{{ form.applyDate }}" placeholder="请选择申请时间" border="{{ false }}" bind:change="onChangeTime" bindtap="openBox" data-name="showApplyDate" input-align="right" />
  13. <van-calendar show="{{ showApplyDate }}" bind:close="closeBox" bind:confirm="onConfirmTime" show-confirm="{{ false }}" data-name="showApplyDate" />
  14. <!-- 申请时间 end -->
  15. <!-- 资金支出类别 start -->
  16. <van-popup show="{{showCapitalExpenditureType}}" round position="bottom" data-name="showCapitalExpenditureType" bind:close="closeBox">
  17. <van-picker
  18. columns="{{capitalExpenditureTypeOptions}}"
  19. show-toolbar
  20. value-key="dictLabel"
  21. bind:cancel="closeBox"
  22. bind:confirm="onConfirmPick"
  23. data-name="showCapitalExpenditureType"
  24. data-value="form.capitalExpenditureType"
  25. />
  26. </van-popup>
  27. <van-field required label="资金支出类别" readonly value="{{ form.capitalExpenditureTypeText }}" placeholder="请选择" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showCapitalExpenditureType"/>
  28. <!-- 资金支出类别 end -->
  29. <!-- 转账类型 start -->
  30. <van-popup show="{{showTransferTypeOption}}" round position="bottom" data-name="showTransferTypeOption" bind:close="closeBox">
  31. <van-picker
  32. columns="{{transferTypeOption}}"
  33. show-toolbar
  34. value-key="dictLabel"
  35. bind:cancel="closeBox"
  36. bind:confirm="onConfirmPick"
  37. data-name="showTransferTypeOption"
  38. data-value="form.transferType"
  39. />
  40. </van-popup>
  41. <van-field required label="转账类型" readonly value="{{ form.transferTypeText }}" placeholder="请选择" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showTransferTypeOption"/>
  42. <!-- 转账类型 end -->
  43. <!-- 审批流程 start -->
  44. <van-popup show="{{showApprovalTemplateName}}" round position="bottom" bind:close="closeBox">
  45. <van-picker
  46. columns="{{approvalTemplateNameOptions}}"
  47. show-toolbar
  48. value-key="name"
  49. bind:cancel="closeBox"
  50. bind:confirm="onConfirmPickApproval"
  51. data-name="showApprovalTemplateName"
  52. data-value="approvalTemplateName"
  53. />
  54. </van-popup>
  55. <van-field required readonly value="{{form.approvalTemplateName}}" placeholder="请选择" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showApprovalTemplateName">
  56. <view slot="label">
  57. 审批流程
  58. </view>
  59. </van-field>
  60. <!-- 审批流程 end -->
  61. <!-- <text style="text-align: center;color: #2C8E68;padding: 0 0 10px 0;" bind:tap="showS">{{showSteps?'点击关闭审批模板':'点击查看审批模板'}}</text> -->
  62. <!-- 支出总金额 start -->
  63. <van-field required readonly label="支出总金额" type="digit" value="{{form.expenditureAmount}}" placeholder="根据下方收款金额自动核算" border="{{ false }}" input-align="right" bind:input="onChangeMoney"/>
  64. <!-- 支出总金额 end -->
  65. <van-collapse value="{{ activeStepsNames }}" border="{{false}}" bind:change="onChangeSteps" bind:close="onCloseSteps">
  66. <van-collapse-item name="1" border="{{false}}" is-link="{{false}}">
  67. <view slot="title"><text style="text-align: center;color: #2C8E68;padding: 0;" bind:tap="showS">{{showSteps?'点击关闭审批模板':'点击查看审批模板'}}</text></view>
  68. <view class="main-box steps-box" style="width: 99%;margin-bottom: 15px;">
  69. <view class="steps-tit">审批模板</view>
  70. <van-row wx:for="{{steps}}" wx:key="index">
  71. <van-col span="3">
  72. <view class="index">{{index+1}}</view>
  73. <block wx:if="{{index==0}}">
  74. <view class="indexBorder">
  75. <view class="ssT" wx:if="{{index>0}}"></view>
  76. <view class="yq"></view>
  77. <view class="ss" wx:if="{{steps.length != index+1}}"></view>
  78. </view>
  79. </block>
  80. <block wx:else>
  81. <view class="indexBorder indexCenter">
  82. <view class="ssT" wx:if="{{index>0}}"></view>
  83. <view class="yq"></view>
  84. <view class="ss" wx:if="{{steps.length != index+1}}"></view>
  85. </view>
  86. </block>
  87. </van-col>
  88. <van-col span="21">
  89. <van-cell title="{{item.name}}" center="{{true}}" border="{{false}}">
  90. <view class="agree" wx:if="{{item.type=='1'}}">{{ item.name }}</view>
  91. <view class="in" wx:if="{{item.type=='2'}}">{{ item.name }}</view>
  92. <view class="disagree" wx:if="{{item.type=='3'}}">{{ item.name }}</view>
  93. </van-cell>
  94. <van-cell center border="{{false}}">
  95. <view slot="title">
  96. <view style="color: #999999;">
  97. {{ item.nickName }}
  98. <span wx-if="{{item.feeLimit != 0 && item.nickName != null}}">({{item.feeLimit}}元)</span>
  99. </view>
  100. </view>
  101. <view style="color: #999999;font-size: 12px;">{{ item.approvalLevel == 1 ? '组级审批' : item.approvalLevel == 2 ? '村级审批' : item.approvalLevel == 3 ? '镇级审批' : item.approvalLevel == 4 ? '区县审批' : '' }}</view>
  102. </van-cell>
  103. </van-col>
  104. </van-row>
  105. </view>
  106. </van-collapse-item>
  107. </van-collapse>
  108. </view>
  109. <!-- ------------------------------关联项目 start------------------------------ -->
  110. <block wx:if="{{form.capitalExpenditureType == 2}}">
  111. <text class="title">关联项目</text>
  112. <view class="main-box table-box">
  113. <van-popup show="{{showProject}}" round position="bottom" bind:close="closeBox" data-name="showProject">
  114. <van-picker
  115. columns="{{projectOptions}}"
  116. show-toolbar
  117. value-key="projectName"
  118. bind:cancel="closeBox"
  119. bind:confirm="onConfirmProject"
  120. data-name="showProject"
  121. data-value="form.projectForm"
  122. />
  123. </van-popup>
  124. <van-field required label="项目名称" readonly value="{{ form.projectForm.projectName }}" placeholder="请输入项目名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link bindtap="openBox" data-name="showProject"/>
  125. <van-field required label="承建单位" readonly value="{{ form.projectForm.projectContractor }}" placeholder="请输入承建单位" border="{{ false }}" bind:change="onChange" input-align="right"/>
  126. <van-field required label="合同价款(元)" readonly value="{{ form.projectForm.projectAmount }}" placeholder="请输入合同价款(元)" border="{{ false }}" bind:change="onChange" input-align="right"/>
  127. <van-popup show="{{showProjectFundType}}" round position="bottom" bind:close="closeBox" data-name="showProjectFundType">
  128. <van-picker
  129. columns="{{projectFundTypeOptions}}"
  130. show-toolbar
  131. value-key="dictLabel"
  132. bind:cancel="closeBox"
  133. bind:confirm="onConfirmPick"
  134. data-name="showProjectFundType"
  135. data-value="form.projectForm.projectFundType"
  136. />
  137. </van-popup>
  138. <van-field required label="工程款类型" readonly value="{{ form.projectForm.projectFundTypeText }}" placeholder="请选择工程款类型" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showProjectFundType"/>
  139. <van-field required label="工程发票号" value="{{ form.projectForm.projectBillNum }}" placeholder="请输入工程发票号" border="{{ false }}" data-value="form.projectForm.projectBillNum" bind:change="onChange" input-align="right"/>
  140. </view>
  141. </block>
  142. <!-- ------------------------------关联项目 end------------------------------ -->
  143. <!-- ------------------------------关联合同 start------------------------------ -->
  144. <block wx:if="{{form.capitalExpenditureType == 4}}">
  145. <text class="title">关联合同</text>
  146. <view class="main-box table-box">
  147. <van-popup show="{{form.showContraction}}" round position="bottom" bind:close="closeBox" data-name="form.showContraction">
  148. <van-picker
  149. columns="{{contractionOptions}}"
  150. show-toolbar
  151. value-key="name"
  152. bind:cancel="closeBox"
  153. bind:confirm="onConfirmContraction"
  154. data-name="form.showContraction"
  155. data-value="form.contractionForm"
  156. />
  157. </van-popup>
  158. <van-field required label="合同名称" readonly value="{{ form.contractionForm.name }}" placeholder="请选择合同名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link bindtap="openBox" data-name="form.showContraction"/>
  159. <van-field required label="合同编码" readonly value="{{ form.contractionForm.code }}" placeholder="请输入合同编码" border="{{ false }}" bind:change="onChange" input-align="right"/>
  160. <van-field required label="合同价款(元)" readonly value="{{ form.contractionForm.totalAmount }}" placeholder="请输入合同价款(元)" border="{{ false }}" bind:change="onChange" input-align="right"/>
  161. </view>
  162. </block>
  163. <!-- ------------------------------关联合同 end------------------------------ -->
  164. <!-- ------------------------------基础信息 end------------------------------ -->
  165. <text class="title">付款方信息</text>
  166. <view class="main-box table-box">
  167. <!-- <van-popup show="{{form.showTransferType}}" round position="bottom" bind:close="closeBox" data-name="form.showTransferType">
  168. <van-picker
  169. columns="{{transferTypeOptions}}"
  170. show-toolbar
  171. value-key="dictLabel"
  172. bind:cancel="closeBox"
  173. bind:confirm="onConfirmaTransfer"
  174. data-name="form.showTransferType"
  175. data-value="form.transfers[{{index}}]"
  176. />
  177. </van-popup>
  178. <van-field required label="付款方式" readonly value="{{ form.transferTypeText }}" placeholder="请输入付款方式" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="form.showTransferType"/> -->
  179. <van-popup show="{{showAccount}}" round position="bottom" bind:close="closeBox" data-name="showAccount">
  180. <van-picker
  181. columns="{{accountOptions}}"
  182. show-toolbar
  183. value-key="accountName"
  184. bind:cancel="closeBox"
  185. bind:confirm="onConfirmAccount"
  186. data-name="showAccount"
  187. data-value="form"
  188. />
  189. </van-popup>
  190. <van-field required readonly value="{{ form.payer }}" placeholder="请选择付款方名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showAccount">
  191. <view slot="label" style="color: var(--field-label-color,#646566);">
  192. 付款方<van-tag plain type="danger" color="#5CAE77" round style="margin-left:10px;">选择</van-tag>
  193. </view>
  194. </van-field>
  195. <!-- <van-field readonly wx:if="{{form.transferType == 11}}" label="可用余额(元)" value="{{ form.payerAccount }}" placeholder="可用余额" border="{{ false }}" data-value="form.payerAccount" bind:change="onChange" input-align="right"/>
  196. <block wx:elif="{{form.transferType == 12}}">
  197. <van-popup show="{{form.showMoneyOrder}}" round position="bottom" bind:close="closeBox" data-name="showMoneyOrder">
  198. <van-picker
  199. columns="{{moneyOrderOptions}}"
  200. show-toolbar
  201. value-key="billPayUnit"
  202. bind:cancel="closeBox"
  203. bind:confirm="onConfirmMoneyOrder"
  204. data-name="form.showMoneyOrder"
  205. data-value="form.transfers[{{index}}]"
  206. data-index="{{index}}"
  207. />
  208. </van-popup>
  209. <van-field readonly label="出票方" value="{{form.moneyOrderForm.billPayUnit }}" placeholder="请选择出票方" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="form.showMoneyOrder"/>
  210. <van-field readonly label="汇票号码" value="{{ form.moneyOrderForm.orderNum }}" placeholder="汇票号码" border="{{ false }}" bind:change="onChange" input-align="right"/>
  211. <van-field readonly label="出票金额(元)" value="{{ form.moneyOrderForm.orderAmount }}" placeholder="出票金额(元)" border="{{ false }}" bind:change="onChange" input-align="right"/>
  212. <van-field readonly label="汇票类型" value="{{ form.moneyOrderForm.orderType }}" placeholder="汇票类型" border="{{ false }}" bind:change="onChange" input-align="right"/>
  213. <van-field readonly label="开票日" value="{{ form.moneyOrderForm.startTime }}" placeholder="开票日" border="{{ false }}" bind:change="onChange" input-align="right"/>
  214. <van-field readonly label="到期日" value="{{ form.moneyOrderForm.endTime }}" placeholder="到期日" border="{{ false }}" bind:change="onChange" input-align="right"/>
  215. </block> -->
  216. <!-- <block wx:else> -->
  217. <van-field required readonly label="付款方账户" value="{{ form.payerAccount }}" placeholder="请输入付款方账号" border="{{ false }}" bind:change="onChange" input-align="right"/>
  218. <!-- <van-field required readonly label="所属银行" value="{{ form.bankTypeText }}" placeholder="请输入所属银行" border="{{ false }}" bind:change="onChange" input-align="right"/>
  219. <van-field readonly label="可用余额(元)" value="{{ form.balance }}" placeholder="可用余额" border="{{ false }}" input-align="right"/> -->
  220. <!-- </block> -->
  221. </view>
  222. <!-- 转账附言 start -->
  223. <view class="main-box table-box" style="margin-top: 10px;">
  224. <van-field value="{{form.remark}}" required label="转账附言" type="textarea" maxlength="{{form.bankType == '5'?'10':form.bankType == '6' || form.bankType == '7'?'20':'30'}}" show-word-limit="true" autosize="{{autosize}}" placeholder="附言请尽量简洁减少标点符号的使用,详情可在”说明情况“中描述" border="{{ false }}" input-align="right" bind:input="onChangeZZFY" data-value="form.remark"/>
  225. </view>
  226. <!-- 转账附言 end -->
  227. <!-- 说明情况 start -->
  228. <view class="main-box table-box" style="margin-top: 10px;">
  229. <van-field value="{{form.explainSituation}}" label="说明情况" type="textarea" autosize="{{autosize}}" placeholder="请输入说明情况" border="{{ false }}" input-align="right" bind:input="onChange" data-value="form.explainSituation"/>
  230. </view>
  231. <!-- 说明情况 end -->
  232. <view class="payee_box">
  233. <text class="title">收款方信息</text>
  234. <view data-index="{{index}}" data-payer="{{form.payer}}" data-isPeers="{{ form.isPeers }}" data-bankType="{{ form.bankType }}" data-expenditureAmount="{{form.expenditureAmount}}" data-accountType="{{ form.bankAccountType }}" data-totalAmount="{{form.approvalItemTemplate.totalAmount}}" bindtap="uploadFile">
  235. <image src="/image/apply/icon_exel.png" style="width: 15px;height: 15px;"></image>
  236. <text>批量上传</text>
  237. </view>
  238. <view class="add" bind:tap="addPayee">+</view>
  239. </view>
  240. <view class="main-box table-box" style="margin-bottom: 10px;" wx:if="{{form.bankType == 2 || form.bankType == 3 || form.bankType == 4}}">
  241. <van-field required input-align="right" label="行内转账" center border="{{false}}">
  242. <view slot="input" style="margin-left: auto;">
  243. <van-radio-group
  244. value="{{ form.isPeers }}"
  245. bind:change="onChangeHnzz"
  246. data-value="form.isPeers"
  247. direction="horizontal"
  248. style="margin-left: auto;"
  249. >
  250. <van-radio name="Y" checked-color="#2C8E68">是</van-radio>
  251. <van-radio name="N" checked-color="#2C8E68">否</van-radio>
  252. </van-radio-group>
  253. </view>
  254. </van-field>
  255. </view>
  256. <view class="center-box">
  257. <view class="main-box table-box" wx:for="{{form.payeeList}}" wx:if="{{form.payeeList.length <= 10}}" wx:for-index="childrenIndex" wx:key="payeeId">
  258. <van-field required readonly value="{{ form.payeeList[childrenIndex].payee }}" placeholder="请选择收款方" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="goPayeeList" data-payer="{{form.payer}}" data-index="{{childrenIndex}}" data-isPeers="{{ form.isPeers }}" data-bankType="{{ form.bankType }}" data-accountType="{{ form.bankAccountType }}" data-transferType="{{ form.transferType }}">
  259. <view slot="label" style="color: var(--field-label-color,#646566);">
  260. 收款方<van-tag plain type="danger" color="#5CAE77" round style="margin-left:10px;">选择</van-tag>
  261. </view>
  262. </van-field>
  263. <van-field required readonly label="收款账户" value="{{ form.payeeList[childrenIndex].payeeAccount }}" placeholder="请输入收款账户" border="{{ false }}" bind:change="onChange" input-align="right"/>
  264. <van-field required readonly label="开户银行" value="{{ form.payeeList[childrenIndex].bankDeposit }}" placeholder="请输入开户银行" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/>
  265. <van-field required label="收入金额" type="digit" type="digit" value="{{ form.payeeList[childrenIndex].incomeAmount }}" placeholder="请输入收入金额" border="{{ false }}" input-align="right" bind:input="onChangePayeeMoney" data-value="form.payeeList[{{childrenIndex}}].incomeAmount"/>
  266. <van-field required readonly label="所属银行" value="{{ form.payeeList[childrenIndex].bankTypeText }}" placeholder="请输入所属银行" border="{{ false }}" input-align="right"/>
  267. </view>
  268. <view class="main-box table-box payeeList" wx:if="{{form.payeeList.length > 10}}">
  269. <van-collapse accordion value="{{ form.activeName }}" data-index="{{index}}" bind:change="onChangePayee" bind:close="onClosePayee">
  270. <van-collapse-item name="{{childrenIndex}}" wx:for="{{form.payeeList}}" wx:if="{{childrenIndex<10}}" wx:for-index="childrenIndex" wx:key="payeeId">
  271. <view slot="title">
  272. {{ form.payeeList[childrenIndex].payee }}<van-tag wx:if="{{ form.activeName == childrenIndex && form.activeName != '' }}" plain type="danger" color="#5CAE77" round style="margin-left:10px;">收款方</van-tag>
  273. </view>
  274. <view slot="value" wx:if="{{ form.activeName != childrenIndex }}">
  275. ¥{{ form.payeeList[childrenIndex].incomeAmount }}
  276. </view>
  277. <van-field required readonly label="收款账户" value="{{ form.payeeList[childrenIndex].payeeAccount }}" border="{{ false }}" input-align="right"/>
  278. <van-field required readonly label="开户银行" value="{{ form.payeeList[childrenIndex].bankDeposit }}" border="{{ false }}" input-align="right"/>
  279. <van-field required readonly label="收入金额" value="{{ form.payeeList[childrenIndex].incomeAmount }}" border="{{ false }}" type="digit" input-align="right"/>
  280. <van-field required readonly label="所属银行" value="{{ form.payeeList[childrenIndex].bankTypeText }}" border="{{ false }}" input-align="right"/>
  281. <!-- <van-field required readonly label="转账状态" value="{{ form.payeeList[childrenIndex].transferStatusText }}" border="{{ false }}" input-align="right"/>
  282. <van-field required readonly label="交易结果描述" value="{{ form.payeeList[childrenIndex].causeFailure }}" border="{{ false }}" input-align="right"/> -->
  283. </van-collapse-item>
  284. </van-collapse>
  285. <text wx:if="{{form.payeeList.length>10}}" style="text-align: center;color: #2C8E68;padding-top: 10px;" data-option="{{form.payeeList}}" bindtap="goPayee">查看更多</text>
  286. <!--
  287. <van-field required readonly label="{{ form.payeeList[childrenIndex].payee }}" value="¥{{ form.payeeList[childrenIndex].incomeAmount }}" wx:for="{{form.payeeList}}" wx:for-index="childrenIndex" wx:key="payeeId" is-link placeholder="请输入收款方" border="{{ false }}" bind:change="onChange" input-align="right" input-class="aaa" /> -->
  288. </view>
  289. </view>
  290. <!-- wx:if="{{showFile}}" -->
  291. <view class="file_box" wx:if="{{showFile}}">
  292. <view class="title">上传附件</view>
  293. <view class="add van-cell-text">总数<van-tag round color="#5CAE77" plain style="margin-left: 10px;"> {{form.fileNum?form.fileNum:0}}张 </van-tag></view>
  294. </view>
  295. <view class="main-box" wx:if="{{showFile}}">
  296. <view class="fj-box">
  297. <view class="fj-li">
  298. <view class="fj-tt">
  299. <text>收据</text><van-tag type="danger" style="margin-left: 10px;">可拍照</van-tag>
  300. </view>
  301. <view class="img_box">
  302. <view class="img_list" wx:for="{{form.SJimage}}" wx:for-index="childrenIndex" wx:key="id">
  303. <image class="img_li" src="{{item.tempFilePath}}" data-option="{{form.SJimage}}" data-index="{{childrenIndex}}" bindtap="openPreview"></image>
  304. <van-icon name="/image/apply/img_delete.png" size="14px" data-index="{{childrenIndex}}" data-parentsIndex="{{index}}" data-name="form.SJimage" data-options="{{form.SJimage}}" data-id="{{item.id}}" bindtap="deleteimg" />
  305. </view>
  306. <view class="img_list">
  307. <image class="img_li img_add" src="/image/apply/fj_upload.png" data-index="{{index}}" bindtap="SJtakephoto"></image>
  308. </view>
  309. </view>
  310. </view>
  311. <view class="fj-li">
  312. <view class="fj-tt">
  313. <text>发票</text><van-tag type="danger" style="margin-left: 10px;">可拍照</van-tag>
  314. </view>
  315. <view class="img_box">
  316. <view class="img_list" wx:for="{{form.FPimage}}" wx:for-index="childrenIndex" wx:key="id">
  317. <image class="img_li" src="{{item.tempFilePath}}" data-option="{{form.FPimage}}" data-index="{{childrenIndex}}" bindtap="openPreview"></image>
  318. <van-icon name="/image/apply/img_delete.png" size="14px" data-index="{{childrenIndex}}" data-parentsIndex="{{index}}" data-name="form.FPimage" data-options="{{form.FPimage}}" data-id="{{item.id}}" bindtap="deleteimg" />
  319. </view>
  320. <view class="img_list">
  321. <image class="img_li img_add" src="/image/apply/fj_upload.png" data-index="{{index}}" bindtap="FPtakephoto"></image>
  322. </view>
  323. </view>
  324. </view>
  325. <view class="fj-li">
  326. <view class="fj-tt">
  327. <text>其他</text><van-tag type="danger" style="margin-left: 10px;">可拍照</van-tag>
  328. </view>
  329. <view class="img_box">
  330. <view class="img_list" wx:for="{{form.QTimage}}" wx:for-index="childrenIndex" wx:key="id">
  331. <image class="img_li" src="{{item.tempFilePath}}" data-option="{{form.QTimage}}" data-index="{{childrenIndex}}" bindtap="openPreview" ></image>
  332. <van-icon name="/image/apply/img_delete.png" size="14px" data-index="{{childrenIndex}}" data-parentsIndex="{{index}}" data-name="form.QTimage" data-options="{{form.QTimage}}" data-id="{{item.id}}" bindtap="deleteimg" />
  333. </view>
  334. <view class="img_list">
  335. <image class="img_li img_add" src="/image/apply/fj_upload.png" data-index="{{index}}" bindtap="QTtakephoto"></image>
  336. </view>
  337. </view>
  338. </view>
  339. </view>
  340. </view>
  341. <!-- <view class="main-box steps-box">
  342. <view class="steps-tit">审批流程</view>
  343. <van-row wx:for="{{steps}}" wx:key="index">
  344. <van-col span="3">
  345. <view class="index">{{index+1}}</view>
  346. <block wx:if="{{index==0}}">
  347. <view class="indexBorder">
  348. <view class="ssT" wx:if="{{index>0}}"></view>
  349. <view class="yq"></view>
  350. <view class="ss" wx:if="{{steps.length != index+1}}"></view>
  351. </view>
  352. </block>
  353. <block wx:else>
  354. <view class="indexBorder indexCenter">
  355. <view class="ssT" wx:if="{{index>0}}"></view>
  356. <view class="yq"></view>
  357. <view class="ss" wx:if="{{steps.length != index+1}}"></view>
  358. </view>
  359. </block>
  360. </van-col>
  361. <van-col span="21">
  362. <van-cell title="{{item.activityName}}" center="{{true}}" border="{{false}}">
  363. <view class="agree" wx:if="{{item.type=='1'}}">{{ item.assigneeName }}</view>
  364. <view class="in" wx:if="{{item.type=='2'}}">{{ item.assigneeName }}</view>
  365. <view class="disagree" wx:if="{{item.type=='3'}}">{{ item.assigneeName }}</view>
  366. </van-cell>
  367. <van-cell center border="{{false}}">
  368. <view slot="title">
  369. <view style="color: #999999;">{{ item.durationInMillis }}</view>
  370. </view>
  371. <view style="color: #999999;font-size: 12px;">{{ item.endTime }}</view>
  372. </van-cell>
  373. </van-col>
  374. </van-row>
  375. </view> -->
  376. </view>
  377. <block wx:if="{{!isUpdate}}">
  378. <view class="bottom">
  379. <!-- <view class="btn1" data-type="3" bindtap="goSubmit">提交复核</view> -->
  380. <!-- <view class="btn1" bindtap="back">上一步</view> -->
  381. <view class="btn2" data-type="0" bindtap="goSubmitNew" hover-class="btnView" wx:if="{{!showFile}}">保存</view>
  382. <view class="btn1" bindtap="back" wx:if="{{showFile}}">返回</view>
  383. <view class="btn2" data-type="0" bindtap="goCustomSubmit" hover-class="btnView" wx:if="{{showFile}}">提交</view>
  384. </view>
  385. </block>
  386. <block wx:if="{{isUpdate}}">
  387. <view class="bottom">
  388. <view class="btn1" data-type="2" bindtap="goKeepNew">保存</view>
  389. <view class="btn2" data-type="0" bindtap="goCustomSubmit2" hover-class="btnView">提交</view>
  390. </view>
  391. </block>
  392. <view class="ipXbtn"></view>
  393. <van-dialog
  394. use-slot
  395. title="支付模板"
  396. show="{{ showDialog }}"
  397. bind:close="onClose"
  398. theme='round-button'
  399. confirmButtonText="保存"
  400. data-type="1"
  401. bind:confirm="goSubmit"
  402. closeOnClickOverlay="{{ true }}"
  403. >
  404. <input class="input_tit" placeholder="请输入模板名称" style="width: 90%;margin: 0 auto;margin-top: 15px;margin-bottom: 10px;text-align: center;" value="{{form.approvalItemTemplate.templateName}}" bindinput="bindNameInput"/>
  405. </van-dialog>