Inventoryentrydetails.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <template>
  2. <view>
  3. <view class='search'>
  4. <u-search placeholder='可按合同编号或买方、卖方名称查找' search-icon-color='#AFB3BF' bg-color='#F5F6F9' :shape='"round"' :clearabled="true" :show-action='false'></u-search>
  5. </view>
  6. <view style='background:#fff;'>
  7. <view class='contracttypewrap'>
  8. <view class='item left active'>销售</view>
  9. <view class='item'>采购</view>
  10. <view class='item'>收购</view>
  11. <view class='item'>代收</view>
  12. <view class='item right'>代储</view>
  13. </view>
  14. </view>
  15. <view class='contractwrap' v-for='(item,index) in contractList'>
  16. <view class='flex contractwrap-title'>
  17. <view class='contractNo'>{{item.contractNo}}</view>
  18. </view>
  19. <view class='flex contractwrap-item'>
  20. <view class="title">买方</view>
  21. <view></view>
  22. </view>
  23. <view class='flex contractwrap-item'>
  24. <view class="title">卖方</view>
  25. <view></view>
  26. </view>
  27. <view class='flex contractwrap-item'>
  28. <view class="title">最终完成量(吨)</view>
  29. <view></view>
  30. </view>
  31. <view class='flex contractwrap-item'>
  32. <view class="title">利润(元)</view>
  33. <view></view>
  34. </view>
  35. <view class='flex contractwrap-item'>
  36. <view class="title">结算日期</view>
  37. <view></view>
  38. </view>
  39. </view>
  40. </view>
  41. </template>
  42. <script>
  43. export default {
  44. data() {
  45. return {
  46. contractList:[
  47. {status:'已完成',
  48. contractNo:'HT39854455',
  49. costtype:'水费',
  50. costmoney:'121111',
  51. warehouse:'金信库',
  52. name:'张三',
  53. date:'2022.11.22 15:32:21'},
  54. ]
  55. }
  56. },
  57. methods: {
  58. }
  59. }
  60. </script>
  61. <style lang='scss' scoped>
  62. .contracttypewrap{
  63. display:flex;
  64. background:#fff;
  65. font-size:32rpx;
  66. margin: 0 auto;
  67. width:93%;
  68. .item{
  69. padding:20rpx;
  70. color:#7A7A7A;
  71. width:33.3333%;
  72. text-align:center;
  73. }
  74. .item.left{
  75. text-align:left;
  76. }
  77. .item.right{
  78. text-align:right;
  79. }
  80. .item.active{
  81. color:#262626;
  82. font-weight:600;
  83. }
  84. }
  85. .contractwrap{
  86. background:#fff;
  87. margin:20rpx;
  88. padding:20rpx;
  89. border-radius:20rpx;
  90. .contractwrap-title{
  91. font-size:28rpx;
  92. padding:20rpx;
  93. justify-content: space-between;
  94. border-bottom:2rpx solid #eee;
  95. align-items: center;
  96. }
  97. .contractwrap-item{
  98. display:flex;
  99. justify-content: space-between;
  100. padding:10rpx 20rpx;
  101. font-size:28rpx;
  102. .title{
  103. font-size:24rpx;
  104. color:#8F8F8F;
  105. }
  106. }
  107. }
  108. .search{
  109. width:100vw;
  110. background:#fff;
  111. }
  112. .u-search{
  113. width:94%;
  114. margin:0 auto !important;
  115. }
  116. </style>