You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

invoice-step1.vue 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <template>
  2. <view class="box">
  3. <view class="from">
  4. <u-form :model="form" ref="uForm">
  5. <u-form-item>
  6. <view class="from_item">
  7. <text><text style="color: red;">*</text>请选择发票抬头:</text>
  8. <view style="display: flex;" @click="toheaderPage">
  9. <u-input v-model="form.InvoiceHeader" class="input" placeholder="请选择" disabled />
  10. <u-icon name="arrow-right" style="margin-left: 10px;"></u-icon>
  11. </view>
  12. </view>
  13. </u-form-item>
  14. <u-form-item>
  15. <view class="from_item">
  16. <text><text style="color: red;">*</text>车辆所有人证件号后6位:</text>
  17. <view style="display: flex;">
  18. <u-input v-model="form.InvoiceHeader" class="input" />
  19. </view>
  20. </view>
  21. </u-form-item>
  22. </u-form>
  23. </view>
  24. <button class="submit">提交</button>
  25. </view>
  26. </template>
  27. <script setup lang="ts">
  28. import {
  29. reactive
  30. } from "vue";
  31. import {navTo} from "@/utils/utils"
  32. const form = reactive({
  33. 'InvoiceHeader': '',
  34. 'cardid': '111'
  35. })
  36. const toheaderPage=()=>{
  37. console.log(1);
  38. navTo('/subpackage/orders/invoiceApply/invoice-header')
  39. }
  40. </script>
  41. <style>
  42. page {
  43. width: 100%;
  44. height: 100%;
  45. }
  46. </style>
  47. <style lang="scss" scoped>
  48. .box {
  49. width: 100%;
  50. height: 100%;
  51. background-color: #FFF;
  52. border-top: 1rpx solid #DFDFDF;
  53. padding: 0 30rpx;
  54. .from {
  55. background-color: #fff;
  56. // margin-top: 20rpx;
  57. ::v-deep .u-form-item {
  58. padding: 0;
  59. line-height: normal;
  60. .u-form-item__message {
  61. margin-bottom: 12rpx
  62. }
  63. }
  64. .from_item {
  65. display: flex;
  66. flex-wrap: nowrap;
  67. justify-content: space-between;
  68. // padding: 0 30rpx;
  69. // border-bottom: #DCDCDC 1px solid;
  70. align-items: center;
  71. height: 80rpx;
  72. text {
  73. font-size: 30rpx;
  74. font-family: Noto Sans S Chinese;
  75. font-weight: 400;
  76. }
  77. ::v-deep .input {
  78. text-align: right;
  79. flex: 1;
  80. background: transparent;
  81. input {
  82. text-align: right;
  83. }
  84. }
  85. }
  86. .from_item1 {
  87. display: flex;
  88. flex-wrap: nowrap;
  89. flex-direction: column;
  90. justify-content: space-between;
  91. padding: 30rpx;
  92. border-bottom: #DCDCDC 1px solid;
  93. input {
  94. text-align: right;
  95. }
  96. .textarea {
  97. background-color: #F1F1F1;
  98. width: 100%;
  99. border-radius: 20rpx;
  100. margin-top: 10rpx;
  101. text-indent: 1rem;
  102. height: 180rpx;
  103. padding: 20rpx;
  104. box-sizing: border-box;
  105. }
  106. }
  107. }
  108. .submit {
  109. width: 670rpx;
  110. height: 80rpx;
  111. background: linear-gradient(-90deg, #43A1E0 0%, #13E7C1 100%);
  112. border-radius: 40rpx;
  113. font-size: 32rpx;
  114. font-family: Noto Sans S Chinese;
  115. font-weight: 400;
  116. color: #FFFFFF;
  117. line-height: 80rpx;
  118. position: fixed;
  119. left: 50%;
  120. transform: translate(-50%);
  121. bottom: 100rpx;
  122. }
  123. }
  124. </style>