index.wxml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <viewDate title='分析日期' bind:onChange='changeDate' />
  2. <Yl_ListBox id='ListBox' bind:getlist='getList'>
  3. <view class="global-card">
  4. <view class="chart"></view>
  5. </view>
  6. <view class="chart2">
  7. <ec-canvas id="mychart" canvas-id="chart" ec="{{ ec }}"></ec-canvas>
  8. </view>
  9. <view class="dateType" style="margin-left: 30rpx;margin-bottom: 20rpx;">
  10. {{language[content.dateType||'全部']||content.dateType||'全部'}}({{list[0].isEmpty?0:total}})
  11. </view>
  12. <My_empty wx:if='{{list[0].isEmpty}}' />
  13. <block wx:else>
  14. <view class="global-card" wx:for="{{list}}" wx:key="sa_orderitemsid">
  15. <view class="title">
  16. <text class="tag"
  17. style="background-color: #67C23A;">{{language[item.tradefield]||item.tradefield}}</text>
  18. {{item.sonum}}
  19. </view>
  20. <view class="row">erp{{language['单号']||'单号'}}:{{item.erpbillno ||' --'}}</view>
  21. <view class="row">{{language['企业名称']||'企业名称'}}:{{item.enterprisename ||' --'}}</view>
  22. <view class="row">{{language['项目名称']||'项目名称'}}:{{item.projectname ||' --'}}</view>
  23. <view class="row">{{language['业务员']||'业务员'}}:{{item.salername ||' --'}}</view>
  24. <view class="row" wx:if="{{item.expanded}}">
  25. {{language['行号']||'行号'}}:{{item.rowno ||' --'}}
  26. </view>
  27. <view class="row">{{language['产品名称']||'产品名称'}}:{{item.itemname ||' --'}}</view>
  28. <view class="row">{{language['产品编号']||'产品编号'}}:{{item.itemno ||' --'}}</view>
  29. <view class="row">
  30. {{language['型号']||'型号'}}:{{language[item.model]||item.model||' --'}}
  31. </view>
  32. <view class="row" wx:if="{{siteid!='HY' && item.expanded}}">
  33. {{language['规格']||'规格'}}:{{language[item.spec]||item.spec||' --'}}
  34. </view>
  35. <view class="row" wx:if="{{siteid=='HY' && item.expanded}}">
  36. {{language['公称通径']||'公称通径'}}:{{item.caliber||' --'}}
  37. </view>
  38. <view class="row" wx:if="{{siteid=='HY' && item.expanded}}">
  39. {{language['公称压力']||'公称压力'}}:{{item.nominalpressureStr||' --'}}
  40. </view>
  41. <block wx:if="{{item.expanded}}">
  42. <view class="row">
  43. {{language['需求日期']||'需求日期'}}:{{item.needdate||' --'}}
  44. </view>
  45. <view class="row">
  46. {{language['回复交期']||'回复交期'}}:{{item.deliverydate||' --'}}
  47. </view>
  48. <view class="row">{{language['数量']||'数量'}}:{{item.qty||' --'}}</view>
  49. </block>
  50. <view class="row">
  51. {{language['牌价']||'牌价'}}:
  52. <text style="color: #3874F6;">{{item.marketprice||' --'}}</text>
  53. </view>
  54. <view class="row">
  55. {{language['订单单价']||'订单单价'}}:
  56. <text style="color: #3874F6;">{{item.price||' --'}}</text>
  57. </view>
  58. <view class="row">
  59. {{language['订单金额']||'订单金额'}}:
  60. <text style="color: #3874F6;">{{item.amount||' --'}}</text>
  61. </view>
  62. <view class="row">
  63. {{language['未出货数量']||'未出货数量'}}:
  64. <text style="color: #3874F6;">{{item.unlogisticsqty||'0'}}</text>
  65. </view>
  66. <block wx:if="{{item.expanded}}">
  67. <view class="row">
  68. {{language['退款金额']||'退款金额'}}:
  69. <text style="color: #3874F6;">{{item.returnamount||' --'}}</text>
  70. </view>
  71. <view class="row">
  72. {{language['材质']||'材质'}}:{{language[item.material]||item.material||' --'}}
  73. </view>
  74. <block wx:if="{{siteid=='HY'}}">
  75. <view class="row">
  76. {{language['产线']||'产线'}}:{{language[item.prodline]||item.prodline||' --'}}
  77. </view>
  78. <view class="row">
  79. {{language['装置']||'装置'}}:{{language[item.device]||item.device||' --'}}
  80. </view>
  81. <view class="row">
  82. {{language['备注']||'备注'}}:{{language[item.specalnote]||item.specalnote||' --'}}
  83. </view>
  84. </block>
  85. </block>
  86. <view class="{{item.expanded?'expanded up':'expanded'}}" data-index="{{index}}" bind:tap="changeExpanded">
  87. {{item.expanded?'简略信息':'详情信息'}}
  88. <text class="iconfont icon-dianjizhankai" />
  89. </view>
  90. </view>
  91. </block>
  92. </Yl_ListBox>