info.vue 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <template>
  2. <view class="mainBox">
  3. <u-cell-group>
  4. <u-cell title="需求类型" arrow-direction="down">
  5. <text slot="value">
  6. {{form.sourceTypeName||''}}
  7. </text>
  8. </u-cell>
  9. <u-cell title="需求单名称" arrow-direction="down">
  10. <text slot="value">
  11. {{form.requirementName||''}}
  12. </text>
  13. </u-cell>
  14. <u-cell title="需求部门" arrow-direction="down">
  15. <text slot="value">
  16. {{form.requireDeptName||''}}
  17. </text>
  18. </u-cell>
  19. <u-cell title="需求人" arrow-direction="down">
  20. <text slot="value">
  21. {{form.requireUserName||''}}
  22. </text>
  23. </u-cell>
  24. <u-cell title="销售合同" arrow-direction="down">
  25. <text slot="value">
  26. {{form.saleContractName||''}}
  27. </text>
  28. </u-cell>
  29. <u-cell title="销售订单" arrow-direction="down">
  30. <text slot="value">
  31. {{form.saleOrderNo||''}}
  32. </text>
  33. </u-cell>
  34. <u-cell title="是否接受拆单" arrow-direction="down">
  35. <text slot="value">
  36. {{form.acceptUnpack == 1 ? '接受' : '不接受'}}
  37. </text>
  38. </u-cell>
  39. <u-cell title="用途" arrow-direction="down">
  40. <text slot="value">
  41. {{form.useTo||''}}
  42. </text>
  43. </u-cell>
  44. <u-cell title="备注" arrow-direction="down">
  45. <text slot="value">
  46. {{form.remark||''}}
  47. </text>
  48. </u-cell>
  49. <!-- <u-cell title="附件" arrow-direction="down">
  50. <text slot="value">
  51. {{form.createUsername||''}}
  52. </text>
  53. </u-cell> -->
  54. </u-cell-group>
  55. </view>
  56. </template>
  57. <script>
  58. export default {
  59. data() {
  60. return {
  61. form: {},
  62. }
  63. },
  64. created() {
  65. },
  66. methods: {
  67. init(data) {
  68. console.log(data,'datasss')
  69. if (data) {
  70. this.form = data
  71. }
  72. },
  73. }
  74. }
  75. </script>
  76. <style lang="scss" scoped>
  77. /deep/.u-swipe-action-item__right__button__wrapper {
  78. background-color: #f56c6c !important;
  79. }
  80. /deep/.u-cell__body,/deep/.u-cell__title-text{
  81. font-size: 26rpx;
  82. }
  83. </style>