info.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <template>
  2. <view class="mainBox">
  3. <u-cell-group>
  4. <u-cell title="客户名称" arrow-direction="down">
  5. <text slot="value">
  6. {{form.contactName||''}}
  7. </text>
  8. </u-cell>
  9. <u-cell title="商机名称" arrow-direction="down">
  10. <text slot="value">
  11. {{form.name||''}}
  12. </text>
  13. </u-cell>
  14. <u-cell title="负责人名称" arrow-direction="down">
  15. <text slot="value">
  16. {{form.responsibleName||''}}
  17. </text>
  18. </u-cell>
  19. <u-cell title="商机来源" arrow-direction="down">
  20. <text slot="value">
  21. {{form.sourceName||''}}
  22. </text>
  23. </u-cell>
  24. <u-cell title="赢单率" arrow-direction="down">
  25. <text slot="value">
  26. {{form.winRate||''}}%
  27. </text>
  28. </u-cell>
  29. <u-cell title="预算" arrow-direction="down">
  30. <text slot="value">
  31. {{form.budget||''}}万元
  32. </text>
  33. </u-cell>
  34. <u-cell title="预计结单日期" arrow-direction="down">
  35. <text slot="value">
  36. {{form.expectedClosingDate||''}}
  37. </text>
  38. </u-cell>
  39. <u-cell title="计价方式" arrow-direction="down">
  40. <text slot="value">
  41. {{form.pricingWay==1?'按数量计价':'按重量计价'}}
  42. </text>
  43. </u-cell>
  44. <u-cell title="商机阶段" arrow-direction="down">
  45. <text slot="value">
  46. {{form.stageName||''}}
  47. </text>
  48. </u-cell>
  49. <u-cell title="备注" arrow-direction="down">
  50. <text slot="value">
  51. {{form.remark||''}}
  52. </text>
  53. </u-cell>
  54. <u-cell title="创建人" arrow-direction="down">
  55. <text slot="value">
  56. {{form.createUsername||''}}
  57. </text>
  58. </u-cell>
  59. <u-cell title="创建时间" arrow-direction="down">
  60. <text slot="value">
  61. {{form.createTime||''}}
  62. </text>
  63. </u-cell>
  64. </u-cell-group>
  65. </view>
  66. </template>
  67. <script>
  68. export default {
  69. data() {
  70. return {
  71. form: {},
  72. }
  73. },
  74. created() {
  75. },
  76. methods: {
  77. init(data) {
  78. console.log(data,'datasss')
  79. if (data) {
  80. this.form = data
  81. }
  82. },
  83. }
  84. }
  85. </script>
  86. <style lang="scss" scoped>
  87. /deep/.u-swipe-action-item__right__button__wrapper {
  88. background-color: #f56c6c !important;
  89. }
  90. /deep/.u-cell__body,/deep/.u-cell__title-text{
  91. font-size: 26rpx;
  92. }
  93. </style>