index.wxml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <view class="container" style="padding-bottom: {{ safeBottom }}px;">
  2. <view class="topView">
  3. <!-- 导航栏 -->
  4. <van-nav-bar custom-style="background-color: #407DB8">
  5. <van-icon slot="left" name="arrow-left" size="25px" color="#fff" bind:click="backToParent"/>
  6. <text slot="title" style="color: #fff;">履约详情</text>
  7. </van-nav-bar>
  8. </view>
  9. <view class="goods-info">
  10. <text>【商品信息】</text>
  11. <text>成交单号:{{ order.relatedorderid }}</text>
  12. </view>
  13. <!-- 列头 -->
  14. <view class="title-view">
  15. <view class="title-view-up">
  16. <text wx:for="{{ titles[0] }}" wx:for-item="itm" wx:for-index="idx" wx:key="idx">{{ itm }}</text>
  17. </view>
  18. <view class="title-view-dwn">
  19. <text wx:for="{{ titles[1] }}" wx:for-item="itm" wx:for-index="idx" wx:key="idx">{{ itm }}</text>
  20. </view>
  21. </view>
  22. <!-- 数据 -->
  23. <van-swipe-cell wx:for="{{ values }}" wx:for-item="itm" wx:if-index="idx" wx:key="idx">
  24. <view class="item-view">
  25. <view class="item-view-up">
  26. <text wx:for="{{ itm.up }}" wx:for-item="data" wx:for-index="idx" wx:key="idx">{{ data }}</text>
  27. </view>
  28. <view class="item-view-dwn">
  29. <text wx:for="{{ itm.dwn }}" wx:for-item="data" wx:for-index="idx" wx:key="idx">{{ data }}</text>
  30. </view>
  31. </view>
  32. </van-swipe-cell>
  33. <view class="perform-info">
  34. <text>【履约信息】</text>
  35. <text>成交单号:{{ order.performanceplanid }}</text>
  36. </view>
  37. <!-- 履约信息 -->
  38. <view class="perform-detail-info">
  39. <view class="item">
  40. <text>履约货款:{{ order.amount }}</text>
  41. <text>履约状态:{{ order.performancestatus }}</text>
  42. </view>
  43. <view class="item">
  44. <text>买方已付:{{ order.buypaidamount }}</text>
  45. <text>卖方已收:{{ order.sellreceivedamount }}</text>
  46. </view>
  47. <view class="item sellerinfo">
  48. <text>卖方信息:{{ order.sellerinfo }}</text>
  49. </view>
  50. <view class="item buyerinfo">
  51. <text>买方信息:{{ order.buyerinfo }}</text>
  52. </view>
  53. </view>
  54. <view class="perexcute-info">
  55. <text>【执行信息】</text>
  56. <text>{{ status }}:{{ step }}</text>
  57. </view>
  58. <view class="planstep-info" wx:for="{{ stepsValues }}" wx:for-item="itm" wx:for-index="idx" wx:key="performancestepid">
  59. <view class="planstep-info__up" style="background-color: {{ itm.bgcolor }};">
  60. <text class="stepindex">{{ itm.stepindex }}</text>
  61. <text class="steptypename">{{ itm.steptypename }}</text>
  62. <text class="stepstatus">{{ itm.stepstatusdisplay }}</text>
  63. </view>
  64. <view class="planstep-info__mid">
  65. <text class="starttime" wx:if="{{ itm.stepstatus != 2 }}">{{ itm.starttime }}</text>
  66. <text class="remaindays">{{ itm.remaindays}}</text>
  67. <text class="endtime" wx:if="{{ itm.stepstatus != 2 }}">{{ itm.endtime }}</text>
  68. </view>
  69. <view class="planstep-info__dwn" wx:if="{{ itm.stepstatus === 1 }}">
  70. <text class="remaindays">{{ itm.stepdays }}天</text>
  71. </view>
  72. </view>
  73. <!-- 按钮 -->
  74. <view class="button-view">
  75. <van-button custom-class="delay" id="delay" round color="linear-gradient(to right, #4bb0ff, #6149f6)" block bind:click="onShowDelay">延期申请</van-button>
  76. <van-button custom-class="excute" id="excute" round color="linear-gradient(to right, #4bb0ff, #F7A657)" block bind:click="onShowExculate">立即执行</van-button>
  77. </view>
  78. </view>
  79. <!-- 是否申请延期 -->
  80. <van-dialog use-slot title="是否申请延期?" show="{{ showDelay }}" show-cancel-button bind:close="onClose" bind:getuserinfo="doDelay">
  81. <van-field label="天数:" model:value="{{ delaydays }}" placeholder="请输入申请延期天数" type="number" adjust-position />
  82. <van-field label="备注:" model:value="{{ remark }}" adjust-position autosize placeholder="请输入备注信息" />
  83. </van-dialog>
  84. <!-- 是否申请延期 -->
  85. <van-dialog use-slot title="是否手动执行当前步骤?" show="{{ showExculate }}" show-cancel-button bind:close="onClose" bind:getuserinfo="doExculpate">
  86. <van-field label="备注:" model:value="{{ remark }}" adjust-position autosize placeholder="请输入备注信息" />
  87. </van-dialog>
  88. <!-- toast -->
  89. <van-toast id="van-toast" />