index.wxml 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <Yl_ListBox id='ListBox' bind:getlist='getList'>
  2. <view class="global-card tabs">
  3. <view class="tab {{content.dataType == '金额' ? 'active':''}}" data-name='金额' bind:tap="changeType">
  4. {{language['金额']||'金额'}}
  5. </view>
  6. <view class="tab {{content.dataType == '数量' ? 'active':''}}" data-name='数量' bind:tap="changeType">
  7. {{language['数量']||'数量'}}
  8. </view>
  9. </view>
  10. <timeRange id='TimeRange' dateTypes='{{dateTypes}}' dateType='{{content.dateType}}' bind:onChange='changeDate' />
  11. <filtrate id='Filtrate' wx:if='{{types.length}}' list='{{types}}' type="{{content.where.type}}" title='订单类型'
  12. bind:onChange='changeType2' />
  13. <filtrate id='Filtrate' iconName='icon-lingyu' wx:if='{{tradefields.length}}' list='{{tradefields}}'
  14. type="{{content.where.tradefield}}" title='领域' bind:onChange='changeTradefield' />
  15. <filtrate id='Filtrate' iconName='icon-chengjiaozhuangtai' wx:if='{{brands.length}}' list='{{brands}}'
  16. type="{{content.where.sa_brandid}}" title='品牌' bind:onChange='changeSa_brandid' />
  17. <filtrate id='Filtrate' iconName='icon-yingxiaoleibie' list='{{itemclassList}}' type="{{content.itemclass}}"
  18. title='营销分类' bind:onChange='changeItemclass' />
  19. <view class="global-card" wx:if='{{!list[0].isEmpty}}'>
  20. <view class="chart">
  21. <ec-canvas id="mychart" canvas-id="chart" ec="{{ ec }}"></ec-canvas>
  22. </view>
  23. <view class="tips">{{language['注']||'注'}}:{{language['提示未显示的医院类型数量皆为0']||'提示未显示的医院类型数量皆为0'}}</view>
  24. </view>
  25. <view style="margin-left: 30rpx;margin-bottom:20rpx;">
  26. {{language[itemclassfullname||'全部']||itemclassfullname||'全部'}}({{list[0].isEmpty?0:total}})
  27. </view>
  28. <My_empty wx:if='{{list[0].isEmpty}}' />
  29. <block wx:else>
  30. <navigator url="#" class="global-card item" wx:for="{{list}}" version='develop' wx:key="sonum"
  31. target='miniProgram' app-id='wxc1b6ae925ac1d06a'
  32. path="{{'/prsx/orderForm/detail'+'?auth='+auth+'&userMsg='+userMsg+'&site='+site+'&templetList='+templetList+'$languagecode='+languagecode+'&id='+item.sa_orderid}}"
  33. url="/prsx/orderForm/detail" open-type="navigate">
  34. <view class="title"><text class="tag"
  35. style="background-color: #67C23A;">{{language[item.tradefield]||item.tradefield}}</text>{{item.sonum}}
  36. </view>
  37. <view class="row">erp{{language['单号']||'单号'}}:{{item.erpbillno ||' --'}}</view>
  38. <view class="row">
  39. {{language['订单类型']||'订单类型'}}:{{language[item.type]||item.type || ' --'}}
  40. </view>
  41. <view class="row">{{language['企业名称']||'企业名称'}}:{{item.enterprisename ||' --'}}</view>
  42. <view class="row">{{language['项目名称']||'项目名称'}}:{{item.projectname ||' --'}}</view>
  43. <view class="row">{{language['产品类别数量']||'产品类别数量'}}:{{item.itemclassqty ||'0'}}</view>
  44. <view class="row">{{language['产品类别金额']||'产品类别金额'}}:{{item.itemclassamount ||'0'}}</view>
  45. <view class="row">{{language['产品总数量']||'产品总数量'}}:{{item.qty ||'0'}}</view>
  46. <view class="row">{{language['总金额']||'总金额'}}:{{item.amount ||'0'}}</view>
  47. <view class="row">{{language['退款金额']||'退款金额'}}:{{item.returnamount ||'0'}}</view>
  48. <view class="row">{{language['业务员']||'业务员'}}:{{item.name ||' --'}}</view>
  49. <view class="row" style="color: {{sColors[item.status]?'#999':''}};">
  50. {{language['订单状态']||'订单状态'}}:{{item.status ||' --'}}
  51. </view>
  52. <view class="but">
  53. {{language['查看详情']||'查看详情'}}
  54. <text class='iconfont icon-webfanhui' />
  55. </view>
  56. </navigator>
  57. </block>
  58. </Yl_ListBox>