insert.wxml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <view>
  2. <view wx:if="{{content.sat_campaignid == 0}}" class="header">
  3. <view>
  4. <view class="label">实际发生费用</view>
  5. <view class="value">{{allCost}}元</view>
  6. </view>
  7. <view>
  8. <view class="label">产品培训总费用</view>
  9. <view class="value">{{trainingCost}}元</view>
  10. </view>
  11. <view>
  12. <view class="label">其他费用</view>
  13. <view class="value">{{otheramount1}}元</view>
  14. </view>
  15. </view>
  16. <Yl_Headline title='基本信息' type='switch' switchLabel='仅显示必填信息' switch='{{showAll}}' bind:callBack='onChange' />
  17. <Yl_field id='Form' form='{{form}}' showAll='{{!showAll}}' bind:onConfirm='onConfirm' bind:interrupt='interrupt' />
  18. </view>
  19. <block wx:if="{{content.sat_campaignid == 0}}">
  20. <view class="head">
  21. <view class="count">
  22. 参与活动医生
  23. </view>
  24. <view class="expand">
  25. <navigator url="#" class="but" bindtap="insetr">
  26. <van-icon name="plus" />
  27. </navigator>
  28. </view>
  29. </view>
  30. <view class="project-item" wx:for="{{list}}" wx:key="sa_doctorid">
  31. <view class="main">
  32. <view class="label">
  33. {{item.doctorname}}
  34. </view>
  35. <view class="replenish">
  36. <text style="color: #666;">职称:</text>
  37. <text>{{item.professional}}</text>
  38. </view>
  39. <view class="replenish">
  40. <text style="color: #666;">科室:</text>
  41. <text>{{item.hospitaldepname || '--'}}</text>
  42. </view>
  43. <view class="replenish">
  44. <text style="color: #666;">医院:</text>
  45. <text>{{item.hospitalname || item.enterprisename || '--'}}</text>
  46. </view>
  47. <view class="bottom">
  48. <text style="color: #666;">产品培训费用:</text>
  49. <input placeholder="费用(元)" type="digit" value="{{item.amount ||''}}" bindblur="changeAmount"
  50. data-index="{{index}}" />
  51. </view>
  52. <view class="iconfont-box" data-item="{{item}}" bind:tap="deleteItem">
  53. <view class="iconfont icon-shanchu1" />
  54. </view>
  55. </view>
  56. </view>
  57. </block>
  58. <view style="height: 160rpx;" />
  59. <view class="new-footer" style="padding-bottom:12rpx;">
  60. <van-button custom-class="new-submit {{content.sa_doctorid ? 'orange' : 'blue' }}" disabled='{{disabled ||loading}}'
  61. loading='{{loading}}' bindclick='submit'>
  62. {{content.sa_doctorid ? '保存' : '确定'}}
  63. </van-button>
  64. </view>