info.vue 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <template>
  2. <view class="mainBox">
  3. <u-cell-group>
  4. <u-cell title="订单编码" arrow-direction="down">
  5. <text slot="value">
  6. {{form.orderNo||''}}
  7. </text>
  8. </u-cell>
  9. <u-cell title="项目名称" arrow-direction="down">
  10. <text slot="value">
  11. {{form.projectName||''}}
  12. </text>
  13. </u-cell>
  14. <u-cell title="合同名称" arrow-direction="down">
  15. <text slot="value">
  16. {{form.contractName||''}}
  17. </text>
  18. </u-cell>
  19. <u-cell title="合同编号" arrow-direction="down">
  20. <text slot="value">
  21. {{form.contractNumber||''}}
  22. </text>
  23. </u-cell>
  24. <u-cell title="结算方式" arrow-direction="down">
  25. <text slot="value">
  26. {{form.settlementModeName||''}}
  27. </text>
  28. </u-cell>
  29. <u-cell title="客户收货地址" arrow-direction="down">
  30. <text slot="value">
  31. {{form.receiveAddress||''}}
  32. </text>
  33. </u-cell>
  34. <u-cell title="销售部门" arrow-direction="down">
  35. <text slot="value">
  36. {{form.salesDeptName||''}}
  37. </text>
  38. </u-cell>
  39. <u-cell title="销售类型" arrow-direction="down">
  40. <text slot="value">
  41. {{form.saleTypeName}}
  42. </text>
  43. </u-cell>
  44. <u-cell title="总金额" arrow-direction="down">
  45. <text slot="value">
  46. {{form.totalAmount||''}}元
  47. </text>
  48. </u-cell>
  49. <u-cell title="优惠后总金额" arrow-direction="down">
  50. <text slot="value">
  51. {{form.payAmount||''}}元
  52. </text>
  53. </u-cell>
  54. <u-cell title="计价方式" arrow-direction="down">
  55. <text slot="value">
  56. {{form.pricingWay==1?'按数量计费':'按重量计费'||''}}
  57. </text>
  58. </u-cell>
  59. <u-cell title="订单类型" arrow-direction="down">
  60. <text slot="value">
  61. {{(form.needProduce==1?'生产性订单':form.needProduce==2?'无客户生产性订单':'库存式订单')||''}}
  62. </text>
  63. </u-cell>
  64. <u-cell title="客户名称" arrow-direction="down">
  65. <text slot="value">
  66. {{form.partaName||''}}
  67. </text>
  68. </u-cell>
  69. <u-cell title="客户统一社会信用代码" arrow-direction="down">
  70. <text slot="value">
  71. {{form.partaUnifiedSocialCreditCode||''}}
  72. </text>
  73. </u-cell>
  74. <u-cell title="客户联系人" arrow-direction="down">
  75. <text slot="value">
  76. {{form.partaLinkName||''}}
  77. </text>
  78. </u-cell>
  79. <u-cell title="客户电话" arrow-direction="down">
  80. <text slot="value">
  81. {{form.partaTel||''}}
  82. </text>
  83. </u-cell>
  84. <u-cell title="客户传真" arrow-direction="down">
  85. <text slot="value">
  86. {{form.partaFax||''}}
  87. </text>
  88. </u-cell>
  89. <u-cell title="客户Email" arrow-direction="down">
  90. <text slot="value">
  91. {{form.partaEmail||''}}
  92. </text>
  93. </u-cell>
  94. <u-cell title="客户地址" arrow-direction="down">
  95. <text slot="value">
  96. {{form.partaAddress||''}}
  97. </text>
  98. </u-cell>
  99. <u-cell title="售出方名称" arrow-direction="down">
  100. <text slot="value">
  101. {{form.partbName||''}}
  102. </text>
  103. </u-cell>
  104. <u-cell title="售出方统一社会信用代码" arrow-direction="down">
  105. <text slot="value">
  106. {{form.partbUnifiedSocialCreditCode||''}}
  107. </text>
  108. </u-cell>
  109. <u-cell title="售出方联系人" arrow-direction="down">
  110. <text slot="value">
  111. {{form.partbLinkName||''}}
  112. </text>
  113. </u-cell>
  114. <u-cell title="售出方联系电话" arrow-direction="down">
  115. <text slot="value">
  116. {{form.partbTel||''}}
  117. </text>
  118. </u-cell>
  119. <u-cell title="售出方传真" arrow-direction="down">
  120. <text slot="value">
  121. {{form.partbFax||''}}
  122. </text>
  123. </u-cell>
  124. <u-cell title="售出方Email" arrow-direction="down">
  125. <text slot="value">
  126. {{form.partbEmail||''}}
  127. </text>
  128. </u-cell>
  129. <u-cell title="售出方地址" arrow-direction="down">
  130. <text slot="value">
  131. {{form.partbAddress||''}}
  132. </text>
  133. </u-cell>
  134. <u-cell title="创建人" arrow-direction="down">
  135. <text slot="value">
  136. {{form.createUsername||''}}
  137. </text>
  138. </u-cell>
  139. <u-cell title="创建时间" arrow-direction="down">
  140. <text slot="value">
  141. {{form.createTime||''}}
  142. </text>
  143. </u-cell>
  144. </u-cell-group>
  145. </view>
  146. </template>
  147. <script>
  148. export default {
  149. data() {
  150. return {
  151. form: {},
  152. }
  153. },
  154. created() {
  155. },
  156. methods: {
  157. init(data) {
  158. if (data) {
  159. this.form = data
  160. }
  161. },
  162. }
  163. }
  164. </script>
  165. <style lang="scss" scoped>
  166. /deep/.u-swipe-action-item__right__button__wrapper {
  167. background-color: #f56c6c !important;
  168. }
  169. /deep/.u-cell__body,/deep/.u-cell__title-text{
  170. font-size: 26rpx;
  171. }
  172. </style>