project.wxml 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <timeRange id='TimeRange' dateTypes='{{dateTypes}}' dateType='{{dateType}}' bind:onChange='changeDate' />
  2. <block>
  3. <view class="global-card" style='margin-top:0;'>
  4. <view class="row">
  5. <view class="col" style='background-color: #3874F6;'>
  6. <view class="label">{{language['订单数量']||'订单数量'}}</view>
  7. <view class="value">{{list[0].allOrderQty || 0}}</view>
  8. </view>
  9. <view class="col" style='background-color: #68C23A'>
  10. <view class="label">{{language['订单总金额']||'订单总金额'}}</view>
  11. <view class="value">{{list[0].allAmount}}{{language['万']||'万'}}</view>
  12. </view>
  13. </view>
  14. <view class="row">
  15. <view class="col" style='background-color: #E6A33B;'>
  16. <view class="label">{{language['订单回款金额']||'订单回款金额'}}</view>
  17. <view class="value">{{list[0].cashbillAmount}}{{language['万']||'万'}}</view>
  18. </view>
  19. <view class="col" style='background-color: #F56C6D'>
  20. <view class="label">{{language['订单未出货金额']||'订单未出货金额'}}</view>
  21. <view class="value">{{list[0].allunAmount}}{{language['万']||'万'}}</view>
  22. </view>
  23. </view>
  24. <view class="row">
  25. <view class="col" style='background-color: #3874F6;'>
  26. <view class="label">{{language['已出货未开票金额']||'已出货未开票金额'}}</view>
  27. <view class="value">{{list[0].alluninvoicamount}}{{language['万']||'万'}}</view>
  28. </view>
  29. <view class="col" style='background-color: #68C23A'>
  30. <view class="label">{{language['已开票未回款金额']||'已开票未回款金额'}}</view>
  31. <view class="value">{{list[0].allunwriteoffamount}}{{language['万']||'万'}}</view>
  32. </view>
  33. </view>
  34. </view>
  35. <shrink title="订单明细" wx:if="{{list[0].status}}" open='{{showList}}' bind:onChange='shrinkChange'>
  36. <view style='padding-top: 20rpx;'>
  37. <view class="global-card serve-item" wx:for='{{list}}' wx:key='sa_workorderid'>
  38. <view class="title">{{item.sonum}}</view>
  39. <view class="status" style="background-color:{{sColors[item.status]||'#3874F6'}}">
  40. {{language[item.status]||item.status}}
  41. </view>
  42. <view class="line">{{language['业务员']||'业务员'}}:{{item.name || ' --'}}</view>
  43. <view class="line">
  44. {{language['订单类型']||'订单类型'}}:{{language[item.type]||item.type || ' --'}}
  45. </view>
  46. <view class="line">{{language['订单金额']||'订单金额'}}:{{item.sumamount || ' --'}}</view>
  47. <view class="line">
  48. {{language['订单回款金额']||'订单回款金额'}}:{{item.writeoffamount || ' --'}}
  49. </view>
  50. <view class="line">
  51. {{language['退款金额']||'退款金额'}}:{{item.returnamount || ' --'}}
  52. </view>
  53. <view class="line">
  54. {{language['订单未出货金额']||'订单未出货金额'}}:{{item.unoutOrderamount || ' --'}}
  55. </view>
  56. <view class="line">
  57. {{language['已出货未开票金额']||'已出货未开票金额'}}:{{item.uninvoicamount || ' --'}}
  58. </view>
  59. <view class="line">
  60. {{language['已开票未回款金额']||'已开票未回款金额'}}:{{item.unwriteoffamount || ' --'}}
  61. </view>
  62. <view class="line">{{language['审核日期']||'审核日期'}}:{{item.checkdate || ' --'}}</view>
  63. </view>
  64. </view>
  65. </shrink>
  66. <My_empty wx:else />
  67. </block>