微信小程序
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

flowAdd.wxml 3.3 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!--pages/billUse/flowAdd/flowAdd.wxml-->
  2. <view class="ns" id="top_ban" style="height:{{isIPX?'88px':'64px'}};">
  3. <image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};height: 19.0909px;" mode="widthFix" bindtap="back" referrer="no-referrer|origin|unsafe-url"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">生成流水</text>
  5. </view>
  6. <view class="main-box table-box" style="margin-top:{{isIPX?'100px':'75px'}};">
  7. <view class="flex-block">
  8. <text class="rules">日期</text>
  9. <view class="wrap" bindtap="onsrDate" >
  10. {{formData.accountDate}}
  11. </view>
  12. <van-calendar
  13. show="{{ srShow }}"
  14. min-date="{{ minDate }}"
  15. max-date="{{ maxDate }}"
  16. bind:close="onClose"
  17. bind:confirm="onConfirm"
  18. />
  19. </view>
  20. <view class="flex-block">
  21. <text>收支类型</text>
  22. <input disabled class="wrap" data-prop="formData.jieAmount" type="digit" value="{{formData.incomeExpensesType == 1 ? '收入' : '支出'}}" bindinput="inputChange" placeholder="收入金额"/>
  23. </view>
  24. <view class="flex-block">
  25. <text>账户名称</text>
  26. <!-- <input class="wrap" type="number" bindinput="inputChange" data-prop="formData.accountName" value="{{formData.accountName}}" placeholder="请输入存入账户"/> -->
  27. <view bindtap="oncrzhShow" class="wrap">
  28. <text wx:if="{{formData.accountName==''}}" class="color-gray">账户名称</text>
  29. <text wx:else>{{formData.accountName}}</text>
  30. </view>
  31. </view>
  32. <view class="flex-block">
  33. <text>当前余额</text>
  34. <input disabled class="wrap" data-prop="formData.yue" type="digit" value="{{formData.yue}}" bindinput="inputChange" placeholder="当前余额"/>
  35. </view>
  36. <view class="flex-block" wx:if="{{formData.jieAmount}}">
  37. <text>收入金额</text>
  38. <input disabled class="wrap" data-prop="formData.jieAmount" type="digit" value="{{formData.jieAmount}}" bindinput="inputChange" placeholder="收入金额"/>
  39. </view>
  40. <view class="flex-block" wx:if="{{formData.daiAmount}}">
  41. <text>支出金额</text>
  42. <input disabled class="wrap" data-prop="formData.jieAmount" type="digit" value="{{formData.daiAmount}}" bindinput="inputChange" placeholder="支出金额"/>
  43. </view>
  44. <view class="flex-block">
  45. <text class="rules">对方科目</text>
  46. <view bindtap="oncrlxShow" class="wrap">
  47. <text wx:if="{{!formData.subjectNameAll}}" class="color-gray">请选择对方科目</text>
  48. <text wx:else>{{formData.subjectNameAll}}</text>
  49. </view>
  50. </view>
  51. <van-popup
  52. show="{{ crlxShow }}"
  53. position="bottom"
  54. bind:close="onCancelcrlx"
  55. >
  56. <van-picker
  57. columns="{{ subjectOptions }}"
  58. value-key="subjectNameAll"
  59. bind:cancel="onCancelcrlx"
  60. show-toolbar="{{true}}"
  61. bind:confirm="bindPickerChange"/>
  62. </van-popup>
  63. <view class="flex-block"><text>单据编码</text> <input disabled class="wrap" bindinput="inputChange" data-prop="formData.billNum" value="{{formData.billNum}}" placeholder="请输入单据编码"/></view>
  64. <view class="flex-block"><text>摘要</text> <input class="wrap" bindinput="inputChange" data-prop="formData.accountSummary" placeholder="摘要" value="{{formData.accountSummary}}"/></view>
  65. </view>
  66. <view class="bottom">
  67. <view class="btn2" data-code="2" bindtap="swichAccounting">确认</view>
  68. </view>