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.

refund.vue 7.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. <template>
  2. <view class="upload-box">
  3. <view class="head-tips">
  4. 检测到您的ETC卡中还剩余额<text>100.00</text>元,我们将于<text>14</text>个工作日争议期后退回到您的银行卡中,这里将收集您的收款信,具体金额可能会出现增多或减少得情况,敬请谅解!
  5. </view>
  6. <!-- <view class="upload-card">
  7. <view class="card-left">
  8. <view class="item1">
  9. ETC卡剪段照片
  10. </view>
  11. <view class="item2">
  12. ETC卡剪段并上传照片
  13. </view>
  14. <view class="item3">
  15. 拍摄示例
  16. </view>
  17. </view>
  18. <image src="../../static/image/ETC1.png" mode=""></image>
  19. </view> -->
  20. <u-form :model="form" ref="myForm" :error-type="errorType">
  21. <view class="from">
  22. <!-- <u-form-item prop="receiving1">
  23. <view class="from_item">
  24. <text><text style="color: red;">*</text>是否寄回设备:</text>
  25. <u-radio-group v-model="form.receiving2">
  26. <u-radio :customStyle="{marginBottom: '8px'}" activeColor="#2CE242"
  27. v-for="(item, index) in radiolist1" :key="index" :label="item.disabled"
  28. :name="item.name" @change="radioChange">
  29. {{item.name}}
  30. </u-radio>
  31. </u-radio-group>
  32. </view>
  33. </u-form-item>
  34. <u-form-item prop="region">
  35. <view class="from_item">
  36. <text><text style="color: red;">*</text>物流公司:</text>
  37. <view style="display: flex;" @click="showPicker">
  38. <u-input v-model="form.region" class="input" disabled placeholder="请选择" />
  39. <u-icon name="arrow-right" style="margin-left: 10px;"></u-icon>
  40. </view>
  41. </view>
  42. </u-form-item>
  43. <u-form-item prop="phone">
  44. <view class="from_item">
  45. <text><text style="color: red;">*</text>物流单号:</text>
  46. <u-input v-model="form.phone" class="input" />
  47. </view>
  48. </u-form-item> -->
  49. <view class="title">
  50. 请输入退费信息
  51. </view>
  52. <u-form-item prop="phone">
  53. <view class="from_item">
  54. <text style="color: #777777;"><text style="color: red;">*</text>联系人姓名:</text>
  55. <u-input v-model="form.phone" class="input" />
  56. </view>
  57. </u-form-item>
  58. <u-form-item prop="phone">
  59. <view class="from_item">
  60. <text style="color: #777777;"><text style="color: red;">*</text>手机号:</text>
  61. <u-input v-model="form.phone" class="input" />
  62. </view>
  63. </u-form-item>
  64. <u-form-item prop="phone">
  65. <view class="from_item">
  66. <text style="color: #777777;"><text style="color: red;">*</text>开户行:</text>
  67. <u-input v-model="form.phone" class="input" />
  68. </view>
  69. </u-form-item>
  70. <u-form-item prop="phone">
  71. <view class="from_item">
  72. <text style="color: #777777;"><text style="color: red;">*</text>退费银行卡号:</text>
  73. <u-input v-model="form.phone" class="input" />
  74. </view>
  75. </u-form-item>
  76. <!-- <view class="title">
  77. 请填写注销原因
  78. </view>
  79. <u-form-item prop="region">
  80. <view class="from_item">
  81. <text><text style="color: red;">*</text>注销原因:</text>
  82. <view style="display: flex;" @click="showPicker">
  83. <u-input v-model="form.region" class="input" disabled placeholder="请选择" />
  84. <u-icon name="arrow-right" style="margin-left: 10px;"></u-icon>
  85. </view>
  86. </view>
  87. </u-form-item> -->
  88. </view>
  89. </u-form>
  90. <button class="submit" @click="toPage()">下一步</button>
  91. <!-- 选择弹窗 -->
  92. <!-- <view>
  93. <u-picker v-model="show" mode="region" @confirm="confirm"></u-picker>
  94. </view> -->
  95. </view>
  96. </template>
  97. <script lang="ts" setup>
  98. import {
  99. reactive,
  100. ref
  101. } from "vue"
  102. import {
  103. navTo
  104. } from "@/utils/utils"
  105. // 表单数据
  106. const form = reactive({
  107. // orderNumber: '2141543454545',
  108. // carId: '贵A12345',
  109. // oldCardId: '',
  110. // status: "",
  111. // receiving: "营业点自提",
  112. // name: '许珅',
  113. // phone: '',
  114. // region: '',
  115. // address: '',
  116. // zipCode: '',
  117. // remark: ''
  118. })
  119. // 单选数据列表
  120. const radiolist1 = reactive([{
  121. name: '寄回',
  122. disabled: false
  123. },
  124. {
  125. name: '不寄回',
  126. disabled: false
  127. },
  128. ], )
  129. const show = ref(false)
  130. const showPicker = function() {
  131. show.value = true
  132. }
  133. // 确定地区
  134. const confirm = (e) => {
  135. console.log(e);
  136. form.region = e.province.name + e.city.name + e.area.name
  137. }
  138. const toPage = () => {
  139. navTo('/subpackage/after-sale/to-bookkeeping-card/base-change-people')
  140. // uni.showModal({
  141. // confirmText: '寄回',
  142. // cancelText: '不寄回',
  143. // success: function(res) {
  144. // if (res.confirm) {
  145. // console.log('用户点击确定');
  146. // navTo('/subpackage/after-sale/ETC-log-off/log-off-result')
  147. // } else if (res.cancel) {
  148. // console.log('用户点击取消');
  149. // navTo('/subpackage/after-sale/ETC-log-off/etc-log-off-pay')
  150. // }
  151. // }
  152. // });
  153. }
  154. </script>
  155. <style>
  156. page {
  157. width: 100%;
  158. height: 100%;
  159. background-color: #FFFFFF;
  160. }
  161. </style>
  162. <style lang="scss" scoped>
  163. .upload-box {
  164. // width: 100%;
  165. padding: 30rpx;
  166. .head-tips {
  167. text-indent: 2rem;
  168. font-size: 26rpx;
  169. font-family: Microsoft YaHei;
  170. font-weight: 400;
  171. color: #666666;
  172. line-height: 50rpx;
  173. margin-bottom: 45rpx;
  174. text {
  175. color: #FF8000;
  176. }
  177. }
  178. .upload-card {
  179. margin-bottom: 70rpx;
  180. height: 260rpx;
  181. background: #FFFFFF;
  182. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  183. border-radius: 20rpx;
  184. padding: 30rpx;
  185. display: flex;
  186. justify-content: space-between;
  187. .card-left {
  188. .item1 {
  189. font-size: 34rpx;
  190. font-family: Microsoft YaHei;
  191. font-weight: 400;
  192. color: #000000;
  193. margin-bottom: 30rpx;
  194. }
  195. .item2 {
  196. font-size: 24rpx;
  197. font-family: Microsoft YaHei;
  198. font-weight: 400;
  199. color: #999999;
  200. margin-bottom: 30rpx;
  201. }
  202. .item3 {
  203. width: 110rpx;
  204. height: 40rpx;
  205. background: #ECFBF8;
  206. /* opacity: 0.2; */
  207. border-radius: 6rpx;
  208. font-size: 20rpx;
  209. font-family: Microsoft YaHei;
  210. font-weight: 400;
  211. text-align: center;
  212. line-height: 40rpx;
  213. color: #0A8F8A;
  214. }
  215. }
  216. image {
  217. width: 295rpx;
  218. height: 188rpx;
  219. }
  220. }
  221. .from {
  222. background-color: #fff;
  223. margin-top: 30rpx;
  224. // padding: 0 30rpx;
  225. ::v-deep .u-form-item {
  226. padding: 0;
  227. line-height: normal;
  228. .u-form-item__message {
  229. margin-bottom: 12rpx
  230. }
  231. }
  232. .title {
  233. font-size: 30rpx;
  234. font-family: Microsoft YaHei;
  235. font-weight: 400;
  236. color: #000000;
  237. margin: 38rpx 0;
  238. }
  239. .from_item {
  240. display: flex;
  241. flex-wrap: nowrap;
  242. justify-content: space-between;
  243. align-items: center;
  244. height: 80rpx;
  245. border-bottom: 1rpx solid #DCDCDC;
  246. ::v-deep .input {
  247. text-align: right;
  248. flex: 1;
  249. background: transparent;
  250. input {
  251. text-align: right;
  252. }
  253. }
  254. }
  255. .from_item1 {
  256. display: flex;
  257. flex-wrap: nowrap;
  258. flex-direction: column;
  259. justify-content: space-between;
  260. padding: 30rpx;
  261. border-bottom: #DCDCDC 1px solid;
  262. input {
  263. text-align: right;
  264. }
  265. .textarea {
  266. background-color: #F1F1F1;
  267. width: 100%;
  268. border-radius: 20rpx;
  269. margin-top: 10rpx;
  270. text-indent: 1rem;
  271. height: 180rpx;
  272. padding: 20rpx;
  273. box-sizing: border-box;
  274. }
  275. }
  276. }
  277. .submit{
  278. height: 80rpx;
  279. background: linear-gradient(-90deg, #43A1E0 0%, #13E7C1 100%);
  280. border-radius: 40rpx;
  281. font-size: 32rpx;
  282. font-family: Microsoft YaHei;
  283. font-weight: 400;
  284. color: #FFFFFF;
  285. line-height: 80rpx;
  286. margin: 60rpx auto;
  287. }
  288. }
  289. </style>