微信小程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
3 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  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. <text>总 金 额:{{form.approvalItemTemplate.totalAmount}}</text>
  15. </view>
  16. <block wx:for="{{form.transfers}}" wx:key="index">
  17. <view class="main-title">事项{{form.transfers[index].num}}<image src="/image/apply/delete.png" style="width: 25px;height: 25px;position: absolute;right: 4%;top: 7px;" data-index="{{index}}" bindtap="deleteTransfers"></image></view>
  18. <view class="center">
  19. <text class="title">基础信息</text>
  20. <view class="main-box table-box">
  21. <!-- <van-field label="申请流水号" value="{{ form.approvalItemTemplate.telephone }}" placeholder="请输入申请流水号" border="{{ false }}" bind:change="onChange" input-align="right"/> -->
  22. <van-field required label="申请时间" readonly is-link value="{{ form.transfers[index].applyDate }}" placeholder="请选择申请时间" border="{{ false }}" bind:change="onChange" input-align="right" bindtap="openBox" data-name="showApplyDate" />
  23. <van-calendar show="{{ showApplyDate }}" bind:close="closeBox" data-name="showApplyDate" bind:confirm="onConfirm" data-value="form.transfers[{{index}}].applyDate" show-confirm="{{ false }}" />
  24. <van-field readonly label="合计支出" value="{{ form.transfers[index].expenditureAmount }}" placeholder="(自动计算)" border="{{ false }}" data-formname="form.transfers[{{index}}].expenditureAmount" input-align="right"/>
  25. <van-field required label="支出原因" value="{{ form.transfers[index].remark }}" placeholder="请输入支出原因" border="{{ false }}" bind:change="onChange" input-align="right" data-formname="form.transfers[{{index}}].remark" data-value="form.transfers[{{index}}].remark"/>
  26. <van-popup show="{{showCapitalExpenditureType}}" round position="bottom" bind:close="closeBox" data-name="showCapitalExpenditureType">
  27. <van-picker
  28. columns="{{capitalExpenditureTypeOptions}}"
  29. show-toolbar
  30. value-key="dictLabel"
  31. bind:cancel="closeBox"
  32. bind:confirm="onConfirmPick"
  33. data-name="showCapitalExpenditureType"
  34. data-value="form.transfers[{{index}}].capitalExpenditureType"
  35. />
  36. </van-popup>
  37. <van-field required label="资金支出类别" readonly value="{{ form.transfers[index].capitalExpenditureTypeText }}" placeholder="请选择资金支出类别" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showCapitalExpenditureType"/>
  38. </view>
  39. <block wx:if="{{form.transfers[index].capitalExpenditureType == 2}}">
  40. <text class="title">关联项目</text>
  41. <view class="main-box table-box">
  42. <van-popup show="{{showProject}}" round position="bottom" bind:close="closeBox" data-name="showProject">
  43. <van-picker
  44. columns="{{projectOptions}}"
  45. show-toolbar
  46. value-key="projectName"
  47. bind:cancel="closeBox"
  48. bind:confirm="onConfirmProject"
  49. data-name="showProject"
  50. data-value="form.transfers[{{index}}].projectForm"
  51. />
  52. </van-popup>
  53. <van-field label="项目名称" readonly value="{{ form.transfers[index].projectForm.projectName }}" placeholder="请输入项目名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link bindtap="openBox" data-name="showProject"/>
  54. <van-field label="承建单位" readonly value="{{ form.transfers[index].projectForm.projectContractor }}" placeholder="请输入承建单位" border="{{ false }}" bind:change="onChange" input-align="right"/>
  55. <van-field label="合同价款(元)" readonly value="{{ form.transfers[index].projectForm.projectAmount }}" placeholder="请输入合同价款(元)" border="{{ false }}" bind:change="onChange" input-align="right"/>
  56. <van-popup show="{{showProjectFundType}}" round position="bottom" bind:close="closeBox" data-name="showProjectFundType">
  57. <van-picker
  58. columns="{{projectFundTypeOptions}}"
  59. show-toolbar
  60. value-key="dictLabel"
  61. bind:cancel="closeBox"
  62. bind:confirm="onConfirmPick"
  63. data-name="showProjectFundType"
  64. data-value="form.transfers[{{index}}].projectForm.projectFundType"
  65. />
  66. </van-popup>
  67. <van-field label="工程款类型" readonly value="{{ form.transfers[index].projectForm.projectFundTypeText }}" placeholder="请选择工程款类型" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showProjectFundType"/>
  68. <van-field label="工程发票号" value="{{ form.transfers[index].projectForm.projectBillNum }}" placeholder="请输入工程发票号" border="{{ false }}" data-value="form.transfers[{{index}}].projectForm.projectBillNum" bind:change="onChange" input-align="right"/>
  69. </view>
  70. </block>
  71. <block wx:if="{{form.transfers[index].capitalExpenditureType == 4}}">
  72. <text class="title">关联合同</text>
  73. <view class="main-box table-box">
  74. <van-popup show="{{showContraction}}" round position="bottom" bind:close="closeBox" data-name="showContraction">
  75. <van-picker
  76. columns="{{contractionOptions}}"
  77. show-toolbar
  78. value-key="name"
  79. bind:cancel="closeBox"
  80. bind:confirm="onConfirmContraction"
  81. data-name="showContraction"
  82. data-value="contractionForm.name"
  83. />
  84. </van-popup>
  85. <van-field label="合同名称" readonly value="{{ contractionForm.name }}" placeholder="请选择合同名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link bindtap="openBox" data-name="showContraction"/>
  86. <van-field label="合同编码" value="{{ contractionForm.code }}" placeholder="请输入合同编码" border="{{ false }}" bind:change="onChange" input-align="right"/>
  87. <van-field label="合同价款(元)" readonly value="{{ contractionForm.totalAmount }}" placeholder="请输入合同价款(元)" border="{{ false }}" bind:change="onChange" input-align="right"/>
  88. </view>
  89. </block>
  90. <text class="title">付款方信息</text>
  91. <view class="main-box table-box">
  92. <van-popup show="{{showTransferType}}" round position="bottom" bind:close="closeBox" data-name="showTransferType">
  93. <van-picker
  94. columns="{{transferTypeOptions}}"
  95. show-toolbar
  96. value-key="dictLabel"
  97. bind:cancel="closeBox"
  98. bind:confirm="onConfirmaTransfer"
  99. data-name="showTransferType"
  100. data-value="form.transfers[{{index}}]"
  101. />
  102. </van-popup>
  103. <van-field required label="付款方式" readonly value="{{ form.transfers[index].transferTypeText }}" placeholder="请输入付款方式" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showTransferType"/>
  104. <van-popup show="{{showAccount}}" round position="bottom" bind:close="closeBox" data-name="showAccount">
  105. <van-picker
  106. columns="{{accountOptions}}"
  107. show-toolbar
  108. value-key="accountName"
  109. bind:cancel="closeBox"
  110. bind:confirm="onConfirmAccount"
  111. data-name="showAccount"
  112. data-value="form.transfers[{{index}}]"
  113. />
  114. </van-popup>
  115. <van-field required wx:if="{{form.transfers[index].transferType != 12}}" readonly value="{{ form.transfers[index].payer }}" placeholder="请选择付款方名称" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showAccount">
  116. <view slot="label">
  117. 付款方<van-tag plain type="danger" color="red" round style="margin-left:10px;">必填</van-tag>
  118. </view>
  119. </van-field>
  120. <van-field readonly wx:if="{{form.transfers[index].transferType == 11}}" label="可用余额(元)" value="{{ balance }}" placeholder="可用余额" border="{{ false }}" bind:change="onChange" input-align="right"/>
  121. <block wx:elif="{{form.transfers[index].transferType == 12}}">
  122. <van-popup show="{{showAccount}}" round position="bottom" bind:close="closeBox" data-name="showMoneyorder">
  123. <van-picker
  124. columns="{{moneyorderOptions}}"
  125. show-toolbar
  126. value-key="accountName"
  127. bind:cancel="closeBox"
  128. bind:confirm="onConfirmMoneyorder"
  129. data-name="showMoneyorder"
  130. data-value="form.transfers[{{index}}]"
  131. />
  132. </van-popup>
  133. <van-field readonly label="出票方" value="{{ form.transfers[index].payerAccount }}" placeholder="请选择出票方" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="openBox" data-name="showMoneyorder"/>
  134. <van-field readonly label="汇票号码" value="{{ form.transfers[index].bankTypeText }}" placeholder="汇票号码" border="{{ false }}" bind:change="onChange" input-align="right"/>
  135. <van-field readonly label="出票金额(元)" value="{{ form.transfers[index].bankTypeText }}" placeholder="出票金额(元)" border="{{ false }}" bind:change="onChange" input-align="right"/>
  136. <van-field readonly label="汇票类型" value="{{ form.transfers[index].bankTypeText }}" placeholder="汇票类型" border="{{ false }}" bind:change="onChange" input-align="right"/>
  137. <van-field readonly label="开票日" value="{{ form.transfers[index].bankTypeText }}" placeholder="开票日" border="{{ false }}" bind:change="onChange" input-align="right"/>
  138. <van-field readonly label="到期日" value="{{ form.transfers[index].bankTypeText }}" placeholder="到期日" border="{{ false }}" bind:change="onChange" input-align="right"/>
  139. </block>
  140. <block wx:else>
  141. <van-field required readonly label="付款方账号" value="{{ form.transfers[index].payerAccount }}" placeholder="请输入付款方账号" border="{{ false }}" bind:change="onChange" input-align="right"/>
  142. <van-field required readonly label="所属银行" value="{{ form.transfers[index].bankTypeText }}" placeholder="请输入所属银行" border="{{ false }}" bind:change="onChange" input-align="right"/>
  143. </block>
  144. </view>
  145. <text class="title">收款方信息</text>
  146. <view class="center-box">
  147. <view class="main-box table-box" wx:if="{{form.transfers[index].bankType == 1 && form.transfers[index].transferType != 10 && form.transfers[index].transferType != 11 && form.transfers[index].transferType != 12}}">
  148. <van-cell title="收款账户类型" center border="{{false}}">
  149. <view style="float: right;">
  150. <van-radio-group
  151. value="{{ form.transfers[index].bankAccountType }}"
  152. bind:change="onChange"
  153. direction="horizontal"
  154. data-value="form.transfers[{{index}}].bankAccountType"
  155. >
  156. <van-radio name="1" checked-color="#2C8E68">公户</van-radio>
  157. <van-radio name="2" checked-color="#2C8E68">私户</van-radio>
  158. </van-radio-group>
  159. </view>
  160. </van-cell>
  161. </view>
  162. <view class="main-box table-box" wx:if="{{(form.transfers[index].bankType == 2 || form.transfers[index].bankType == 3 || form.transfers[index].bankType == 4) && (form.transfers[index].transferType != 10 && form.transfers[index].transferType != 11 && form.transfers[index].transferType != 12)}}">
  163. <van-cell title="是否同行" center border="{{false}}">
  164. <view style="float: right;">
  165. <van-radio-group
  166. value="{{ form.transfers[index].isPeers }}"
  167. bind:change="onChange"
  168. direction="horizontal"
  169. data-value="form.transfers[{{index}}].isPeers"
  170. >
  171. <van-radio name="Y" checked-color="#2C8E68">是</van-radio>
  172. <van-radio name="N" checked-color="#2C8E68">否</van-radio>
  173. </van-radio-group>
  174. </view>
  175. </van-cell>
  176. </view>
  177. <view class="main-box table-box" wx:for="{{form.transfers[index].payeeList}}" wx:for-index="childrenIndex" wx:key="payeeId">
  178. <van-field required readonly value="{{ form.transfers[index].payeeList[childrenIndex].payee }}" placeholder="请输入姓名" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down" bindtap="goPayeeList" data-payer="{{form.transfers[index].payer}}" data-index="{{index}}" data-isPeers="{{ form.transfers[index].isPeers }}" data-bankType="{{ form.transfers[index].bankType }}" data-accountType="{{ form.transfers[index].bankAccountType }}" data-transferType="{{ form.transfers[index].transferType }}">
  179. <view slot="label">
  180. 姓名<van-tag plain type="danger" color="#5CAE77" round style="margin-left:10px;">收款方</van-tag>
  181. </view>
  182. </van-field>
  183. <van-field required readonly label="收款账户" value="{{ form.transfers[index].payeeList[childrenIndex].payeeAccount }}" placeholder="请输入收款账户" border="{{ false }}" bind:change="onChange" input-align="right"/>
  184. <van-field required readonly label="开户银行" value="{{ form.transfers[index].payeeList[childrenIndex].bankDeposit }}" placeholder="请输入开户银行" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/>
  185. <van-field required label="收入金额" value="{{ form.transfers[index].payeeList[childrenIndex].incomeAmount }}" placeholder="请输入收入金额" border="{{ false }}" bind:change="onChangeMoney" input-align="right" data-formname="form.transfers[{{index}}].payeeList[{{childrenIndex}}]" data-index="{{index}}" data-childrenIndex="{{childrenIndex}}"/>
  186. <van-field required readonly label="所属银行" value="{{ form.transfers[index].payeeList[childrenIndex].bankTypeText }}" placeholder="请输入所属银行" border="{{ false }}" bind:change="onChange" input-align="right" is-link arrow-direction ="down"/>
  187. </view>
  188. </view>
  189. <view class="main-box">
  190. <van-cell>
  191. <!-- <view slot="icon">
  192. <van-icon class-prefix="my-icon" name="extra" />
  193. </view> -->
  194. <view slot="title">
  195. <view class="van-cell-text">附件<van-tag type="danger" style="margin-left: 10px;">可拍照</van-tag></view>
  196. </view>
  197. <view>
  198. <view class="van-cell-text">总数<van-tag round color="#5CAE77" plain style="margin-left: 10px;"> {{form.transfers[index].fileNum?form.transfers[index].fileNum:0}}张 </van-tag></view>
  199. </view>
  200. </van-cell>
  201. <view class="fj-box">
  202. <view class="fj-li">
  203. <view>
  204. <text>收\n据</text>
  205. </view>
  206. <view class="img_box">
  207. <image wx:for="{{form.transfers[index].SJimage}}" src="{{item.tempFilePath}}" wx:key="index" data-option="{{form.transfers[index].SJimage}}" data-index="{{index}}" bindtap="openPreview"></image>
  208. <image src="/image/apply/fj_upload.png" data-index="{{index}}" bindtap="SJtakephoto"></image>
  209. </view>
  210. </view>
  211. <view class="fj-li">
  212. <view>
  213. <text>发\n票</text>
  214. </view>
  215. <view class="img_box">
  216. <image wx:for="{{form.transfers[index].FPimage}}" src="{{item.tempFilePath}}" data-option="{{form.transfers[index].FPimage}}" data-index="{{index}}" bindtap="openPreview" wx:key="index"></image>
  217. <image src="/image/apply/fj_upload.png" data-index="{{index}}" bindtap="FPtakephoto"></image>
  218. </view>
  219. </view>
  220. <view class="fj-li">
  221. <view>
  222. <text>其\n他</text>
  223. </view>
  224. <view class="img_box">
  225. <image wx:for="{{form.transfers[index].QTimage}}" src="{{item.tempFilePath}}" data-option="{{form.transfers[index].QTimage}}" data-index="{{index}}" bindtap="openPreview" wx:key="index"></image>
  226. <image src="/image/apply/fj_upload.png" data-index="{{index}}" bindtap="QTtakephoto"></image>
  227. </view>
  228. </view>
  229. </view>
  230. </view>
  231. <!-- <view class="main-box steps-box">
  232. <view class="steps-tit">审批流程</view>
  233. <van-row wx:for="{{steps}}" wx:key="index">
  234. <van-col span="3">
  235. <view class="index">{{index+1}}</view>
  236. <block wx:if="{{index==0}}">
  237. <view class="indexBorder">
  238. <view class="ssT" wx:if="{{index>0}}"></view>
  239. <view class="yq"></view>
  240. <view class="ss" wx:if="{{steps.length != index+1}}"></view>
  241. </view>
  242. </block>
  243. <block wx:else>
  244. <view class="indexBorder indexCenter">
  245. <view class="ssT" wx:if="{{index>0}}"></view>
  246. <view class="yq"></view>
  247. <view class="ss" wx:if="{{steps.length != index+1}}"></view>
  248. </view>
  249. </block>
  250. </van-col>
  251. <van-col span="21">
  252. <van-cell title="{{item.activityName}}" center="{{true}}" border="{{false}}">
  253. <view class="agree" wx:if="{{item.type=='1'}}">{{ item.assigneeName }}</view>
  254. <view class="in" wx:if="{{item.type=='2'}}">{{ item.assigneeName }}</view>
  255. <view class="disagree" wx:if="{{item.type=='3'}}">{{ item.assigneeName }}</view>
  256. </van-cell>
  257. <van-cell center border="{{false}}">
  258. <view slot="title">
  259. <view style="color: #999999;">{{ item.durationInMillis }}</view>
  260. </view>
  261. <view style="color: #999999;font-size: 12px;">{{ item.endTime }}</view>
  262. </van-cell>
  263. </van-col>
  264. </van-row>
  265. </view> -->
  266. </view>
  267. </block>
  268. <block wx:if="{{!isUpdate}}">
  269. <view class="bottomBtn">
  270. <view bindtap="goSubmitMB">
  271. <image src="/image/apply/icon_pres.png"></image>
  272. <text>保存模板</text>
  273. </view>
  274. <view bindtap="addList">
  275. <image src="/image/apply/icon_add.png"></image>
  276. <text>新增事项</text>
  277. </view>
  278. </view>
  279. <view class="bottom">
  280. <view class="btn1" data-type="3" bindtap="goSubmit">提交复核</view>
  281. <view class="btn2" data-type="0" bindtap="goSubmit">下一步</view>
  282. </view>
  283. </block>
  284. <block wx:if="{{isUpdate}}">
  285. <view class="bottom">
  286. <view class="btn3" data-type="0" bindtap="goKeep">保存</view>
  287. </view>
  288. </block>
  289. <view class="ipXbtn"></view>
  290. <!-- <view class="bottom">
  291. <button type="warn" plain class="btnDis">驳回</button>
  292. <button type="primary" class="btnAgree">同意</button>
  293. </view> -->
  294. <van-dialog
  295. use-slot
  296. title="支付模板"
  297. show="{{ showDialog }}"
  298. bind:close="onClose"
  299. theme='round-button'
  300. confirmButtonText="保存"
  301. data-type="1"
  302. bind:confirm="goSubmit"
  303. closeOnClickOverlay="{{ true }}"
  304. >
  305. <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"/>
  306. </van-dialog>