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.

car-release.vue 36KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257
  1. <template>
  2. <navBar title="行驶证信息上传" :scrollTop="scrollTop"></navBar>
  3. <navBgCar></navBgCar>
  4. <view class="content">
  5. <view class="item-tips">
  6. <view class="title"> 上传后请核对识别信息 </view>
  7. <view class="tip"> 如有错误请及时手动修改 </view>
  8. </view>
  9. <view class="picture-wrapper" @click="takePhotoMode('3')">
  10. <view class="bg">
  11. <view class="">
  12. <view class="name"> 行驶证主页 </view>
  13. <view class="value"> 上传行驶证的主页 </view>
  14. <view class="tip">
  15. <view class="tip-value"> 拍摄规范 </view>
  16. </view>
  17. </view>
  18. <image v-if="!state.form.vehPosImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-zhu.png`">
  19. </image>
  20. <image v-else class="icon" :src="strReplace(state.form.vehPosImgUrl)"></image>
  21. </view>
  22. </view>
  23. <view class="picture-wrapper" @click="takePhotoMode('4')">
  24. <view class="bg">
  25. <view class="">
  26. <view class="name"> 行驶证副页 </view>
  27. <view class="value"> 上传行驶证的副页 </view>
  28. <view class="tip">
  29. <view class="tip-value"> 拍摄规范 </view>
  30. </view>
  31. </view>
  32. <image v-if="!state.form.vehNegImgUrl" class="icon" :src="`${$imgUrl}applyCard/car-fu.png`">
  33. </image>
  34. <image v-else class="icon" :src="strReplace(state.form.vehNegImgUrl)"></image>
  35. </view>
  36. </view>
  37. <view class="picture-wrapper" @click="cardFileImageUpdate(1)">
  38. <view class="bg">
  39. <view class="">
  40. <view class="name"> 车头照 </view>
  41. <view class="value"> 上传汽车的45度车头照片 </view>
  42. <view class="tip">
  43. <view class="tip-value"> 拍摄规范 </view>
  44. </view>
  45. </view>
  46. <image v-if="!state.form.vehBodyUrl" class="icon" :src="`${$imgUrl}applyCard/chetou.png`">
  47. </image>
  48. <image v-else class="icon" :src="strReplace(state.form.vehBodyUrl)"></image>
  49. </view>
  50. </view>
  51. <view class="uni-list tractor">
  52. <radio-group @change="radioChange" v-if="state.form.type=='2'">
  53. <text class="title">是否是牵引车</text>
  54. <label style="margin-right: 60rpx;" class="uni-list-cell uni-list-cell-pd "
  55. v-for="(item, index) in state.items" :key="item.value">
  56. <radio :value="item.value" :checked="index === state.current" />{{item.name}}
  57. </label>
  58. </radio-group>
  59. </view>
  60. <!-- 货车 牵引车 需要传道路运输许可证-->
  61. <view class="picture-wrapper" v-if="state.form.type=='2' && state.form.tractorSign==1"
  62. @click="cardFileImageUpdate(2)">
  63. <view class="bg">
  64. <view class="">
  65. <view class="name"> 道路运输许可证 </view>
  66. <view class="value"> 上传道路运输许可证 </view>
  67. <view class="tip">
  68. <view class="tip-value"> 拍摄规范 </view>
  69. </view>
  70. </view>
  71. <image v-if="!state.form.roadTransportPermitPicUrl" class="icon"
  72. :src="`${$imgUrl}applyCard/chetou.png`">
  73. </image>
  74. <image v-else class="icon" :src="strReplace(state.form.roadTransportPermitPicUrl)"></image>
  75. </view>
  76. </view>
  77. <view class="shibie-wrapper">
  78. <view class="title"> 识别内容如下 </view>
  79. <view class="">
  80. <u-form label-width="200" :model="state.form" ref="uForm">
  81. <u-form-item label="车牌号">
  82. <car-number-input @numberInputResult="carNumber"
  83. :defaultStr="state.form.vehicleIdNum"></car-number-input>
  84. </u-form-item>
  85. <u-form-item label="所有人">
  86. <u-input inputAlign="right" placeholder="请输入所有人" v-model="state.form.ownerName"
  87. :disabled="state.isEnableChangeOCRCarInfo" maxlength="20" />
  88. </u-form-item>
  89. <u-form-item label="车辆类型">
  90. <u-input inputAlign="right" placeholder="请输入车辆类型" v-model="state.form.vehicleType"
  91. :disabled="state.isEnableChangeOCRCarInfo" maxlength="20" />
  92. </u-form-item>
  93. <u-form-item label="品牌型号">
  94. <u-input inputAlign="right" placeholder="请输入品牌型号" v-model="state.form.vehicleModel"
  95. :disabled="state.isEnableChangeOCRCarInfo" maxlength="30" />
  96. </u-form-item>
  97. <u-form-item label="使用性质">
  98. <u-input inputAlign="right" placeholder="请输入使用性质" v-model="state.form.character"
  99. :disabled="state.isEnableChangeOCRCarInfo" maxlength="20" />
  100. </u-form-item>
  101. <u-form-item label="车辆识别代号">
  102. <u-input inputAlign="right" placeholder="请输入车辆识别代号" v-model="state.form.vin"
  103. :disabled="state.isEnableChangeOCRCarInfo" maxlength="50" />
  104. </u-form-item>
  105. <u-form-item label="发动机号码">
  106. <u-input inputAlign="right" placeholder="请输入发动机号码" v-model="state.form.engineNum"
  107. :disabled="state.isEnableChangeOCRCarInfo" maxlength="20" />
  108. </u-form-item>
  109. <u-form-item label="注册日期">
  110. <picker mode="date" :value="state.form.register" @change="bindDateChange1"
  111. :disabled="state.isEnableChangeOCRCarInfo">
  112. <view class="uni-input" style="text-align: right;" :class="state.changeColor?'hei':'hui'">
  113. {{state.form.register}}
  114. </view>
  115. </picker>
  116. </u-form-item>
  117. <u-form-item label="发证日期">
  118. <picker mode="date" :value="state.form.issueDate" @change="bindDateChange2"
  119. :disabled="state.isEnableChangeOCRCarInfo">
  120. <view class="uni-input" style="text-align: right;" :class="state.changeColor?'hei':'hui'">
  121. {{state.form.issueDate}}
  122. </view>
  123. </picker>
  124. </u-form-item>
  125. <u-form-item label="核定载人数">
  126. <u-input inputAlign="right" placeholder="请输入核定载人数" v-model="state.form.approvedCountShow"
  127. :disabled="state.isEnableChangeOCRCarInfo" maxlength="3" />
  128. </u-form-item>
  129. <u-form-item label="整备质量">
  130. <u-input inputAlign="right" placeholder="请输入整备质量" v-model="state.form.maintenaceMassShow"
  131. :disabled="state.isEnableChangeOCRCarInfo" maxlength="7" />
  132. </u-form-item>
  133. <view class="form-item">
  134. <label>外廊尺寸</label>
  135. <view class="input-box">
  136. <text class="sub-label">长</text>
  137. <input v-model="state.outlineL" @input="outlineInput"
  138. :disabled="state.isEnableChangeOCRCarInfo" type="number" maxlength="5" />
  139. <text class="sub-text">X</text>
  140. <text class="sub-label">宽</text>
  141. <input v-model="state.outlineW" @input="outlineInput"
  142. :disabled="state.isEnableChangeOCRCarInfo" type="number" maxlength="5" />
  143. <text class="sub-text">X</text>
  144. <text class="sub-label">高</text>
  145. <input v-model="state.outlineH" @input="outlineInput"
  146. :disabled="state.isEnableChangeOCRCarInfo" type="number" maxlength="5" />
  147. <text class="sub-text">mm</text>
  148. </view>
  149. </view>
  150. <u-form-item label="总质量">
  151. <u-input inputAlign="right" placeholder="请输入总质量" v-model="state.form.totalMassShow"
  152. :disabled="state.isEnableChangeOCRCarInfo" />
  153. </u-form-item>
  154. <u-form-item label="核定载质量" v-if="state.form.permittedWeight">
  155. <u-input inputAlign="right" placeholder="核定载质量" v-model="state.form.permittedWeight"
  156. :disabled="state.isEnableChangeOCRCarInfo" />
  157. </u-form-item>
  158. <u-form-item label="车轴数">
  159. <u-input inputAlign="right" placeholder="请输入车轴数" v-model="state.form.axleCount" type="number"
  160. maxlength="2" />
  161. </u-form-item>
  162. <view class="form-item">
  163. <label>车辆用户类型</label>
  164. <view class="select" @click="state.actionSheetShow = true">{{state.form.useUserTypeName}}</view>
  165. <image :src="`${$imgUrl}common/arror-down.png`" class="icon"
  166. @click="state.actionSheetShow = true"></image>
  167. </view>
  168. </u-form>
  169. </view>
  170. </view>
  171. <view class="green-tip">
  172. 如识别信息有误,请手动修改,确认无误后,点击下一步!
  173. </view>
  174. <view class="action">
  175. <button type="default" class="button" @click="savaHandle()">
  176. 下一步
  177. </button>
  178. </view>
  179. <!-- 车辆类型弹窗 -->
  180. <u-popup mode="bottom" v-model="state.actionSheetShow">
  181. <view class="window">
  182. <view class="window-item" v-for="item in state.actionSheetList" :key="item.value"
  183. @click="userType(item)">{{item.text}}</view>
  184. </view>
  185. </u-popup>
  186. <u-popup mode="bottom" v-model="state.show">
  187. <view v-if="state.data.transferLogs && state.data.transferLogs.length" class="">
  188. <view class="bettwen-center">
  189. <view style="padding: 20rpx" class="title"> 选择卡签 </view>
  190. <view class="goto" @click="pass"> 直接跳过,不使用此套卡签 </view>
  191. </view>
  192. <view @click="guohuAction(item)" class="card" v-for="(item, index) in state.data.transferLogs"
  193. :key="index" style="margin-top: 30rpx; margin-bottom: 30rpx">
  194. <view v-if="item.status === 'WAITING'" class="card-left">
  195. <image :src="`${$imgUrl}card2.png`" mode=""></image>
  196. <view class="card-center">
  197. <view class="flex">
  198. <view class=""> 卡号: </view>
  199. <view class="card-center-head">
  200. {{ item.cardId }}
  201. </view>
  202. </view>
  203. <view style="margin-top: 10rpx" class="flex">
  204. <view class=""> OBU编号: </view>
  205. <view class="card-center-head">
  206. {{ item.obuId }}
  207. </view>
  208. </view>
  209. </view>
  210. </view>
  211. </view>
  212. </view>
  213. </u-popup>
  214. </view>
  215. <view class="choice-takePhoto-wrap" v-if="state.isTakePhotoModeShow" @click="cancle">
  216. <view class="choice-takePhoto">
  217. <view @click.stop="takePhoto(state.choiceIndex)" style="border-radius: 20rpx 20rpx 0 0;">拍照</view>
  218. <view @click.stop="xiangce(state.choiceIndex)">从手机相册选择</view>
  219. <view @click.stop="cancle">取消</view>
  220. </view>
  221. </view>
  222. <viewfinder v-if="state.phoneType" :phoneType="state.phoneType" :images="state.images"
  223. :showStartPhoto="state.showImg" @confirmReturn="confirmReturn" @camera="camera"></viewfinder>
  224. </template>
  225. <script setup lang="ts">
  226. import { reactive, ref } from "vue";
  227. import viewfinder from "../../components/viewfinder.vue"
  228. import navBgCar from "./components/nav-bg-car4";
  229. import navBar from "@/components/nav-bar/nav-bar2.vue";
  230. import carNumberInput from "@/components/car-number-input/car-number-input.vue";
  231. import {
  232. etcCarCardInfoSubmit,
  233. etcCarOcrCard,
  234. queryGuoHuJianCe,
  235. queryGuoHuCaoZuo,
  236. ocrAllQuery,
  237. carMessageApi
  238. } from "@/utils/network/api.js";
  239. import { request } from "@/utils/network/request.js";
  240. import { stringToJson } from "@/utils/network/encryption";
  241. import { onLoad, onPageScroll } from "@dcloudio/uni-app";
  242. import { getItem, StorageKeys } from "@/utils/storage";
  243. import { msg, strReplace, hasLogin, uploadFile, compressImage,chooseImageCompress } from "@/utils/utils";
  244. import {
  245. getCodeName
  246. } from "@/datas/queryKey.js";
  247. const scrollTop = ref(0);
  248. //监听页面滚动
  249. onPageScroll((e) => {
  250. scrollTop.value = e.scrollTop;
  251. });
  252. //车牌号输入
  253. const carNumber = (val : any) => {
  254. state.form.vehicleIdNum = val.trim();
  255. };
  256. const camera = () => {
  257. state.phoneType = 0
  258. }
  259. //提交车辆信息
  260. const savaHandle = () => {
  261. if (!state.form.vehPosImgUrl) {
  262. msg("请上传行驶证的主页");
  263. return;
  264. }
  265. if (!state.form.vehNegImgUrl) {
  266. msg("请上传行驶证的副页");
  267. return;
  268. }
  269. if (!state.form.vehBodyUrl) {
  270. msg("请上传车头照");
  271. return;
  272. }
  273. if (!state.form.ownerName) {
  274. msg("请输入所有人");
  275. return;
  276. }
  277. if (!state.form.vehicleType) {
  278. msg("请输入车辆类型");
  279. return;
  280. }
  281. if (!state.form.character) {
  282. msg("请输入使用性质");
  283. return;
  284. }
  285. if (!state.form.vin) {
  286. msg("请输入车辆识别代号");
  287. return;
  288. }
  289. if (!state.form.engineNum) {
  290. msg("请输入发动机号码");
  291. return;
  292. }
  293. if (!state.form.approvedCountShow) {
  294. msg("请输入核定载人数");
  295. return;
  296. }
  297. if (!state.outlineL || state.outlineL == '0') {
  298. msg("请输入外廊尺寸长");
  299. return;
  300. }
  301. if (!state.outlineW || state.outlineW == '0') {
  302. msg("请输入外廊尺寸宽");
  303. return;
  304. }
  305. if (!state.outlineH || state.outlineH == '0') {
  306. msg("请输入外廊尺寸高");
  307. return;
  308. }
  309. console.log("state.form.tractorSign",state.form.tractorSign,state.form.roadTransportPermitPicUrl)
  310. if (state.form.tractorSign == 1 && !state.form.roadTransportPermitPicUrl) {
  311. msg("请上传道路运输许可证");
  312. return;
  313. }
  314. if (state.form.type == 1) {
  315. state.form.axleCount = 2;
  316. } else {
  317. if (!state.form.axleCount) {
  318. msg("请输入车轴数");
  319. return;
  320. }
  321. }
  322. state.form.vehicleId =
  323. state.form.vehicleIdNum + "_" + state.vehiclePlateColor;
  324. state.form.opId = getItem(StorageKeys.OpenId);
  325. state.form.approvedCount = parseFloat(state.form.approvedCount);
  326. state.form.maintenaceMass = parseFloat(state.form.maintenaceMass);
  327. // state.form.totalMass = parseFloat(state.form.totalMass);
  328. state.form.permittedWeight = parseFloat(state.form.permittedWeight);
  329. state.form.permittedTowWeight = parseFloat(state.form.permittedTowWeight);
  330. console.log("state.form.approvedCountShow", state.form.approvedCountShow, state.form.approvedCountShow.toString().indexOf('人'))
  331. // return;
  332. if (state.form.approvedCountShow.toString().indexOf('人') > 0) {
  333. state.form.approvedCount = state.form.approvedCountShow.replace("人", "");
  334. } else {
  335. state.form.approvedCount = state.form.approvedCountShow;
  336. }
  337. if (state.form.maintenaceMassShow.toString().indexOf('kg') > 0) {
  338. state.form.maintenaceMass = state.form.maintenaceMassShow.replace("kg", "");
  339. } else {
  340. state.form.maintenaceMass = state.form.maintenaceMassShow;
  341. }
  342. console.log("state.form.totalMassShow", state.form.totalMassShow)
  343. if (state.form.totalMassShow.toString().indexOf('kg') > 0) {
  344. state.form.totalMass = state.form.totalMassShow.replace("kg", "");
  345. } else {
  346. state.form.totalMass = state.form.totalMassShow;
  347. }
  348. const options = {
  349. type: 2,
  350. data: state.form,
  351. method: "POST",
  352. showLoading: true,
  353. };
  354. request(etcCarCardInfoSubmit, options)
  355. .then((res) => {
  356. const data = stringToJson(res.bizContent);
  357. queryGuoHuJianCeAction().then((value) => {
  358. console.log("过户检测", value)
  359. if (value.transferLogs && value.transferLogs.length > 0) {
  360. let arr = value.transferLogs;
  361. state.data.transferLogs = []
  362. for (var k = 0; k < arr.length; k++) {
  363. if (arr[k]['status'] == "WAITING") {
  364. state.data.transferLogs.push(arr[k])
  365. }
  366. }
  367. console.log("state.data.transferLogs", state.data.transferLogs)
  368. console.log("state.data.transferLogs", state.data.transferLogs.length)
  369. setTimeout(() => {
  370. if (state.data.transferLogs.length > 0) {
  371. state.show = true;
  372. } else {
  373. uni.redirectTo({
  374. url: `/subpackage/orders/product-detail?orderId=${state.form.orderId}&&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}&&isValueCard=${getItem("isValueCard")}&vehicleId=${state.form.vehicleId}`,
  375. });
  376. }
  377. }, 1000)
  378. } else {
  379. if (!hasLogin()) {
  380. uni.redirectTo({
  381. url: `/subpackage/orders/addAddress?orderId=${state.form.orderId
  382. }&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}`,
  383. });
  384. } else {
  385. uni.redirectTo({
  386. url: `/subpackage/orders/product-detail?orderId=${state.form.orderId}&&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}&&isValueCard=${getItem("isValueCard")}&vehicleId=${state.form.vehicleId}`,
  387. });
  388. }
  389. }
  390. });
  391. })
  392. .catch((res) => {
  393. console.log(res);
  394. });
  395. };
  396. const pass = () => {
  397. state.show = false
  398. state.form.vehicleId =
  399. state.form.vehicleIdNum + "_" + state.vehiclePlateColor;
  400. state.form.opId = getItem(StorageKeys.OpenId);
  401. state.form.approvedCount = parseFloat(state.form.approvedCount);
  402. state.form.maintenaceMass = parseFloat(state.form.maintenaceMass);
  403. state.form.totalMass = parseFloat(state.form.totalMass);
  404. state.form.permittedWeight = parseFloat(state.form.permittedWeight);
  405. state.form.permittedTowWeight = parseFloat(state.form.permittedTowWeight);
  406. const options = {
  407. type: 2,
  408. data: state.form,
  409. method: "POST",
  410. showLoading: true,
  411. };
  412. request(etcCarCardInfoSubmit, options).then((res) => {
  413. uni.redirectTo({
  414. url: `/subpackage/orders/product-detail?orderId=${state.form.orderId}&&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}&&isValueCard=${getItem("isValueCard")}&vehicleId=${state.form.vehicleId}`,
  415. });
  416. })
  417. }
  418. const selectConfirm = (index : any) => {
  419. console.log(index);
  420. state.form.useUserType = state.actionSheetList[index].value;
  421. state.form.useUserTypeName = state.actionSheetList[index].text;
  422. };
  423. //选择车辆用户类型
  424. const userType = (item : any) => {
  425. state.form.useUserType = item.value;
  426. state.form.useUserTypeName = item.text;
  427. state.actionSheetShow = false;
  428. }
  429. //车头照图片上传 val 1 车头照 2 道路运输证
  430. const cardFileImageUpdate = (val) => {
  431. uni.chooseImage({
  432. count: 1, //只能选取一张照片
  433. sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
  434. sourceType: ["camera", "album"], //从相册选择
  435. success: function (res) {
  436. uploadFile(res.tempFilePaths[0], "", "").then((data) => {
  437. if (val == 1) {
  438. state.form.vehBodyUrl = data;
  439. } else {
  440. state.form.roadTransportPermitPicUrl = data;
  441. }
  442. })
  443. },
  444. });
  445. };
  446. const state = reactive({
  447. phoneType: 0, // 1 身份证正面 2 身份证反面 3行驶证正面 4行驶证反面
  448. choiceIndex: 1, // 1 身份证正面 2 身份证反面
  449. isTakePhotoModeShow: false, //选择拍照方式是否出来
  450. changeColor: false,
  451. showImg: true,
  452. images: '',
  453. data: {
  454. transferLogs: [],
  455. },
  456. actionSheetShow: false,
  457. actionSheetList: [],
  458. form: {
  459. orderId: "", //订单ID
  460. character: "", //使用性质
  461. register: "请输入注册日期", //注册日期
  462. customerId: "", //用户编号
  463. vehicleId: "",
  464. vehicleIdNum: "", //车牌编号
  465. issueDate: "请输入发证日期", //发证日期
  466. vehPosImgUrl: "", //行驶证正面
  467. vehNegImgUrl: "", //行驶证证反面
  468. type: "0", //1,客车 2.货车
  469. useUserType: 0, //车辆用户类型
  470. useUserTypeName: "普通车",
  471. vehicleSign: 2, //前/后装标识
  472. vin: "", //车辆识别代号
  473. engineNum: "", //发动机号码
  474. vehicleType: "", //车辆类型
  475. vehicleModel: "", //行驶证品牌型号
  476. approvedCount: undefined, //核定人数
  477. approvedCountShow: undefined,//展示的
  478. totalMass: undefined, //总质量
  479. totalMassShow: undefined, //总质量
  480. maintenaceMass: undefined, //整备质量
  481. maintenaceMassShow: undefined, //整备质量展示的
  482. permittedWeight: "", //核定载质量
  483. vehicleDimensions: "", //车辆尺寸
  484. permittedTowWeight: "", //准牵引总质量
  485. axleCount: "", //车轴数
  486. ownerName: "", //车主姓名
  487. ownerIdType: "", //车主证件类型
  488. ownerIdNum: "", //车主证件号码
  489. ownPosImgUrl: "", //车主证件正面图片
  490. ownNegImgUrl: "", //车主证件反面图片
  491. agreementId: "", //签约编号
  492. channelId: "5201018892300000001", //编号渠道
  493. scenePayType: "", //
  494. transportIdNum: "", //道路运输证编号
  495. licenseIdNum: "", //经营许可证编号
  496. vehBodyUrl: "", //车身照片
  497. proxyUrl: "", //委托书地址
  498. roadTransportPermitPicUrl: "", //道路运输许可证
  499. opId: "",
  500. tractorSign: 0, //是否是牵引车 1 是 0 不是
  501. },
  502. vehiclePlateColor: undefined,
  503. orderId: "",
  504. // type: undefined, //标记来源是否登录 1为未登录数据 - 需要新增地址
  505. show: false,
  506. isMyPeopple: true,
  507. outlineL: "",
  508. outlineW: "",
  509. outlineH: "",
  510. isEnableChangeOCRCarInfo: true, //申办时是否允许修改OCR识别出来的车辆信息数据
  511. items: [{
  512. value: '1',
  513. name: '是',
  514. },
  515. {
  516. value: '0',
  517. name: '否',
  518. checked: 'true'
  519. }],
  520. current: 1,
  521. });
  522. onLoad((option : any) => {
  523. state.form.orderId = option.orderId;
  524. state.form.type = option.type;
  525. state.vehiclePlateColor = option.vehiclePlateColor;
  526. if (option.vehicleId) {
  527. state.form.vehicleId = option.vehicleId;
  528. }
  529. console.log("option", option)
  530. getGlobalParam();
  531. if (option.type == 1) {
  532. state.actionSheetList = [{
  533. text: "普通车",
  534. value: 0,
  535. }]
  536. } else {
  537. state.actionSheetList = [{
  538. text: "普通车",
  539. value: 0,
  540. },
  541. {
  542. text: "道路运输证经营范围仅有“货物专用运输(集装箱) ”的牵引车办理J类型集装箱",
  543. value: 24,
  544. },
  545. {
  546. text: "道路运输证经营范围不含“货物专用运输(集装箱)”的牵引车",
  547. value: 27,
  548. },
  549. {
  550. text: '道路运输证经营范围除“货物专用运输 (集装 箱)"外,还有“普通货运”等其他项目的牵引车办理J2类型集装箱',
  551. value: 28,
  552. }]
  553. }
  554. });
  555. //外廓尺寸输入框
  556. const outlineInput = (e) => {
  557. state.form.vehicleDimensions =
  558. state.outlineL + "X" + state.outlineW + "X" + state.outlineH + "mm";
  559. };
  560. //过户检测
  561. const queryGuoHuJianCeAction = () => {
  562. var data = {
  563. orderId: state.form.orderId,
  564. };
  565. const options = {
  566. type: 2,
  567. data: data,
  568. method: "POST",
  569. showLoading: true,
  570. };
  571. return new Promise(async (resolve, reject) => {
  572. const res = await request(queryGuoHuJianCe, options);
  573. const data = stringToJson(res.bizContent);
  574. console.log("过户检测111", data)
  575. resolve(data);
  576. }).catch((error) => {
  577. reject(error);
  578. });
  579. };
  580. //过户操作
  581. const guohuAction = (val) => {
  582. var data = {
  583. orderId: state.form.orderId,
  584. serviceType: "USE",
  585. obuId: val.obuId,
  586. cardId: val.cardId,
  587. };
  588. const options = {
  589. type: 2,
  590. data: data,
  591. method: "POST",
  592. showLoading: true,
  593. };
  594. return new Promise(async (resolve, reject) => {
  595. const res = await request(queryGuoHuCaoZuo, options);
  596. const data = stringToJson(res.bizContent);
  597. state.show = false;
  598. uni.redirectTo({
  599. url: `/subpackage/orders/product-detail?orderId=${state.form.orderId}&&clientFee=${getItem("clientFee")}&&id=${getItem("productId")}&&isValueCard=${getItem("isValueCard")}&vehicleId=${state.form.vehicleId}`,
  600. });
  601. }).catch((error) => {
  602. reject(error);
  603. });
  604. };
  605. const getGlobalParam = () => {
  606. const data = getItem('globalParam')
  607. console.log("全局配置数据", getCodeName('IS_ENABLE', data.applyChangeOCRCarInfo))
  608. // 申办时是否允许修改OCR识别出来的车辆信息数据
  609. if (getCodeName('IS_ENABLE', data.applyChangeOCRCarInfo) == '启用') {
  610. state.isEnableChangeOCRCarInfo = false;
  611. } else {
  612. state.isEnableChangeOCRCarInfo = true;
  613. }
  614. // 中办时是否允许带出车辆信息
  615. console.log("11", getCodeName('IS_ENABLE', data.applyCarInfo))
  616. if (getCodeName('IS_ENABLE', data.applyCarInfo) == '启用') {
  617. // 获取车辆信息
  618. getCarMessage()
  619. console.log("11")
  620. }
  621. }
  622. const getCarMessage = () => {
  623. const options = {
  624. type: 2,
  625. data: {
  626. vehicleId: state.form.vehicleId,
  627. },
  628. method: "POST",
  629. showLoading: true,
  630. };
  631. request(carMessageApi, options).then((res) => {
  632. const data = stringToJson(res.bizContent);
  633. console.log("通过vehicleId查询车辆信息", data)
  634. if (data.data) {
  635. writeMsg(data.data)
  636. }
  637. })
  638. }
  639. const writeMsg = (allData) => {
  640. console.log("车辆信息", allData);
  641. state.form.ownPosImgUrl = allData['ownerPosImgUrl']
  642. state.form.ownNegImgUrl = allData['ownerNegImgUrl']
  643. state.form.userName = allData['contacts']
  644. state.form.userIdNum = allData['ownerIdNum']
  645. state.form.ownerIdNum = allData['ownerIdNum']
  646. state.form.address = allData['ownerAddress']
  647. state.form.tel = allData['ownerTel']
  648. state.form.vehPosImgUrl = allData['vehPosImgUrl']
  649. state.form.vehNegImgUrl = allData['vehNegImgUrl']
  650. state.form.vehBodyUrl = allData['vehBodyUrl']
  651. state.form.vehicleIdNum = allData['vehiclePlate']
  652. state.form.ownerName = allData['ownerName']
  653. state.form.vehicleType = allData['vehicleType']
  654. if (allData['useCharacter'] == 1) {
  655. state.form.character = "营运" //使用性质
  656. } else if (allData['useCharacter'] == 2) {
  657. state.form.character = "非营运" //使用性质
  658. } else {
  659. state.form.character = "未知" //使用性质
  660. }
  661. state.form.vin = allData['vin']
  662. state.form.engineNum = allData['engineNum']
  663. state.form.register = allData['registerDate']
  664. state.form.issueDate = allData['issueDate']
  665. state.form.approvedCountShow = allData['approvedCount']
  666. state.form.maintenaceMassShow = allData['maintenaceMass']
  667. state.form.approvedCount = allData['approvedCount']
  668. state.form.maintenaceMass = allData['maintenaceMass']
  669. allData['vehicleDimensions']
  670. state.form.vehicleDimensions = allData['vehicleDimensions']
  671. let arr = allData['vehicleDimensions'].split("X");
  672. state.outlineL = parseInt(arr[0]); //外廓 长
  673. state.outlineW = parseInt(arr[1]); //外廓 宽
  674. state.outlineH = parseInt(arr[2].substring(0, arr[2].length - 2)); //外廓 高
  675. state.form.totalMassShow = allData['totalMass']
  676. state.form.totalMass = allData['totalMass']
  677. state.form.axleCount = allData['axleCount'] ? allData['axleCount'] : 2
  678. if (allData['useUserType'] == 0) {
  679. state.form.useUserTypeName = "普通车"
  680. } else if (allData['useUserType'] == 24) {
  681. state.form.useUserTypeName = "道路运输证经营范围仅有“货物专用运输(集装箱) ”的牵引车办理J类型集装箱"
  682. } else if (allData['useUserType'] == 27) {
  683. state.form.useUserTypeName = "道路运输证经营范围不含“货物专用运输(集装箱)”的牵引车"
  684. } else if (allData['useUserType'] == 28) {
  685. state.form.useUserTypeName = "道路运输证经营范围除'货物专用运输 (集装 箱)'外,还有“普通货运”等其他项目的牵引车办理J2类型集装箱"
  686. }
  687. state.vehiclePlateColor = allData['vehiclePlateColor']
  688. state.form.customerId = allData['customerId']
  689. state.form.vehicleModel = allData['vehicleModel']
  690. state.form.permittedWeight = allData['permittedWeight'] ? allData['permittedWeight'] : 0;
  691. state.form.permittedTowWeight = allData['permittedTowWeight']
  692. state.changeColor = true
  693. if (allData['tractorSign'] == "1") {
  694. qian()
  695. state.form.roadTransportPermitPicUrl = allData['roadTransportPermitPicUrl']
  696. } else {
  697. notQian()
  698. }
  699. }
  700. const bindDateChange1 = (e) => {
  701. state.form.register = e.detail.value
  702. state.changeColor = true;
  703. }
  704. const bindDateChange2 = (e) => {
  705. state.form.issueDate = e.detail.value
  706. state.changeColor = true;
  707. }
  708. const xiangce = (val) => {
  709. console.log("val", val)
  710. if (state.choiceIndex == 3) {
  711. var imageType = 1;
  712. } else {
  713. var imageType = 2;
  714. }
  715. state.changeColor = true;
  716. chooseImageCompress((res)=>{
  717. state.images = res.tempFilePath?res.tempFilePath:res.tempFilePaths[0]
  718. state.showImg = false
  719. state.phoneType = state.choiceIndex
  720. state.isTakePhotoModeShow = false
  721. })
  722. }
  723. const takePhoto = (val) => {
  724. console.log("拍照", val)
  725. state.phoneType = val;
  726. state.showImg = true;
  727. }
  728. const confirmReturn = (val) => {
  729. if (state.choiceIndex == 3) {
  730. var imageType = 1;
  731. } else {
  732. var imageType = 2;
  733. }
  734. state.changeColor = true;
  735. state.phoneType = 0
  736. state.isTakePhotoModeShow = false
  737. uploadFile(val.tempImagePath, imageType, etcCarOcrCard).then((data) => {
  738. // uploadFile(val.tempImagePath, state.choiceIndex, ocrAllQuery).then((data) => {
  739. console.log('输出内容=====================', state.choiceIndex)
  740. if (state.choiceIndex === "3") {
  741. if (data.plate_a.length > 8) {
  742. state.form.vehicleIdNum = data.plate_a.substring(0, 8);
  743. } else {
  744. state.form.vehicleIdNum = data.plate_a;
  745. }
  746. state.form.ownerName = data.man;
  747. state.form.vehicleType = data.vehicle;
  748. state.form.character = data.character;
  749. state.form.vin = data.vin;
  750. state.form.engineNum = data.engine;
  751. state.form.register = data.register;
  752. state.form.issueDate = data.issue;
  753. state.form.vehPosImgUrl = data.imageUrl;
  754. state.form.vehicleModel = data.model;
  755. console.log("走不是牵引车的", data.vehicle.indexOf('牵引车'), data.vehicle)
  756. if (data.vehicle.indexOf('牵引车') > 0) {
  757. console.log("是牵引车的")
  758. qian()
  759. } else {
  760. console.log("走不是牵引车的")
  761. notQian()
  762. }
  763. } else {
  764. state.form.approvedCount = data.apc;
  765. state.form.approvedCountShow = data.apc;
  766. state.form.maintenaceMass = data.unladen;
  767. state.form.maintenaceMassShow = data.unladen;
  768. // 91接口差
  769. // // #ifdef MP-WEIXIN
  770. // state.form.vehicleDimensions = data.overall.replaceAll("×", "X");
  771. // // #endif
  772. // // #ifdef MP-ALIPAY
  773. // state.form.vehicleDimensions = data.overall.replace(/×/g, "X");
  774. // // #endif
  775. // let arr = data.overall.split("×");
  776. // #ifdef MP-WEIXIN
  777. state.form.vehicleDimensions = data.overall.replaceAll("x", "X");
  778. // #endif
  779. // #ifdef MP-ALIPAY
  780. state.form.vehicleDimensions = data.overall.replace(/x/g, "X");
  781. // #endif
  782. let arr = state.form.vehicleDimensions.split("X");
  783. state.outlineL = arr[0]; //外廓 长
  784. state.outlineW = arr[1]; //外廓 宽
  785. state.outlineH = arr[2].substring(0, arr[2].length - 2); //外廓 高
  786. state.form.totalMass = data.gross ? data.gross : 0;
  787. state.form.totalMassShow = data.gross ? data.gross : 0;
  788. console.log("state.form.totalMassShow", state.form.totalMassShow)
  789. state.form.vehNegImgUrl = data.imageUrl;
  790. state.form.permittedWeight = data.alc ? data.alc : 0;
  791. state.form.permittedTowWeight = data.towing ? data.towing : 0;
  792. console.log('=====================', state.form.vehNegImgUrl, state)
  793. }
  794. state.isTakePhotoModeShow = false
  795. })
  796. console.log("图片地址val", val.tempImagePath)
  797. }
  798. const takePhotoMode = (index) => {
  799. console.log("index", index)
  800. state.isTakePhotoModeShow = true
  801. state.choiceIndex = index
  802. }
  803. const cancle = () => {
  804. state.isTakePhotoModeShow = false
  805. }
  806. const radioChange = (evt) => {
  807. console.log("evt.detail.value", evt.detail.value)
  808. for (let i = 0; i < state.items.length; i++) {
  809. if (state.items[i].value === evt.detail.value) {
  810. state.current = i;
  811. state.form.tractorSign = evt.detail.value;
  812. break;
  813. }
  814. }
  815. }
  816. // 牵引车
  817. const qian = () => {
  818. state.items = [{
  819. value: '1',
  820. name: '是',
  821. checked: 'true'
  822. },
  823. {
  824. value: '0',
  825. name: '否',
  826. }]
  827. for (let i = 0; i < state.items.length; i++) {
  828. console.log("")
  829. if (state.items[i].value === '1') {
  830. state.current = i;
  831. state.form.tractorSign = 1;
  832. break;
  833. }
  834. }
  835. }
  836. // 不是牵引车
  837. const notQian = () => {
  838. state.items = [{
  839. value: '1',
  840. name: '是',
  841. },
  842. {
  843. value: '0',
  844. name: '否',
  845. checked: 'true'
  846. }]
  847. for (let i = 0; i < state.items.length; i++) {
  848. console.log("不是牵引车", state.items[i].value, state.items[i].value === '0')
  849. if (state.items[i].value === '0') {
  850. state.current = i;
  851. state.form.tractorSign = 0;
  852. break;
  853. }
  854. }
  855. }
  856. </script>
  857. <style lang="scss" scoped>
  858. .hui {
  859. color: #ccc;
  860. }
  861. .hei {
  862. color: black;
  863. }
  864. .goto {
  865. margin-right: 20rpx;
  866. padding: 10rpx;
  867. color: #00b38b;
  868. border: 1rpx solid #00b38b;
  869. border-radius: 20rpx;
  870. }
  871. .flex {
  872. display: flex;
  873. align-items: center;
  874. }
  875. .bettwen-center {
  876. display: flex;
  877. align-items: center;
  878. justify-content: space-between;
  879. }
  880. .card {
  881. margin: 20rpx;
  882. height: 150rpx;
  883. background: #ffffff;
  884. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  885. border-radius: 20rpx;
  886. padding: 20rpx;
  887. display: flex;
  888. justify-content: space-between;
  889. align-items: center;
  890. margin-bottom: 30rpx;
  891. .card-left {
  892. display: flex;
  893. align-items: center;
  894. image {
  895. width: 100rpx;
  896. height: 90rpx;
  897. }
  898. .card-center {
  899. margin-left: 30rpx;
  900. .card-center-head {
  901. font-size: 32rpx;
  902. font-family: Noto Sans S Chinese;
  903. font-weight: 400;
  904. color: #333333;
  905. }
  906. .tips {
  907. font-size: 26rpx;
  908. font-family: Noto Sans S Chinese;
  909. font-weight: 400;
  910. color: #666666;
  911. .tips-card {
  912. width: 70rpx;
  913. height: 40rpx;
  914. background: #d3f2ef;
  915. border-radius: 6rpx;
  916. font-size: 20rpx;
  917. font-family: Noto Sans S Chinese;
  918. font-weight: 400;
  919. color: #0a8f8a;
  920. padding: 5rpx 10rpx;
  921. margin-left: 20rpx;
  922. }
  923. }
  924. }
  925. }
  926. .choose-item {
  927. margin-right: 20rpx;
  928. width: 50rpx;
  929. height: 50rpx;
  930. border: 1rpx solid #00b38b;
  931. border-radius: 50%;
  932. display: flex;
  933. justify-content: center;
  934. align-items: center;
  935. .active {
  936. width: 38rpx;
  937. height: 38rpx;
  938. background: #00b38b;
  939. border-radius: 50%;
  940. }
  941. }
  942. }
  943. .content {
  944. position: relative;
  945. margin-top: -50rpx;
  946. padding: 0rpx 30rpx;
  947. position: relative;
  948. .img-pos {
  949. position: absolute;
  950. left: 270rpx;
  951. top: -38rpx;
  952. right: 50rpx;
  953. .img-flex {
  954. display: flex;
  955. justify-content: space-between;
  956. align-items: center;
  957. .car-img {
  958. width: 86rpx;
  959. height: 42rpx;
  960. }
  961. .flag-img {
  962. width: 30rpx;
  963. height: 35rpx;
  964. }
  965. }
  966. }
  967. .action {
  968. padding-left: 20rpx;
  969. padding-right: 20rpx;
  970. padding-bottom: 30rpx;
  971. .button {
  972. height: 80rpx;
  973. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  974. border-radius: 40rpx;
  975. font-size: 32rpx;
  976. font-weight: 400;
  977. color: #ffffff;
  978. line-height: 80rpx;
  979. }
  980. }
  981. .item-tips {
  982. .title {
  983. font-size: 30rpx;
  984. font-family: Microsoft YaHei;
  985. font-weight: 400;
  986. color: #000000;
  987. line-height: 24rpx;
  988. }
  989. .tip {
  990. margin-top: 16rpx;
  991. font-size: 24rpx;
  992. font-family: Microsoft YaHei;
  993. font-weight: 400;
  994. color: #999999;
  995. line-height: 24rpx;
  996. }
  997. }
  998. .picture-wrapper {
  999. margin-top: 40rpx;
  1000. .bg {
  1001. background: #ffffff;
  1002. box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
  1003. border-radius: 20rpx;
  1004. padding: 40rpx;
  1005. display: flex;
  1006. // align-items: center;
  1007. justify-content: space-between;
  1008. .name {
  1009. font-size: 34rpx;
  1010. font-family: Microsoft YaHei;
  1011. font-weight: 400;
  1012. color: #000000;
  1013. line-height: 34rpx;
  1014. }
  1015. .value {
  1016. margin-top: 20rpx;
  1017. font-size: 24rpx;
  1018. font-family: Microsoft YaHei;
  1019. font-weight: 400;
  1020. color: #999999;
  1021. line-height: 24rpx;
  1022. }
  1023. .tip {
  1024. margin-top: 20rpx;
  1025. text-align: center;
  1026. width: 110rpx;
  1027. height: 40rpx;
  1028. background: rgba(33, 190, 177, 0.2);
  1029. border-radius: 6rpx;
  1030. .tip-value {
  1031. font-size: 20rpx;
  1032. font-family: Microsoft YaHei;
  1033. font-weight: 400;
  1034. color: #0a8f8a;
  1035. line-height: 40rpx;
  1036. opacity: 1;
  1037. }
  1038. }
  1039. }
  1040. .icon {
  1041. width: 294rpx;
  1042. height: 188rpx;
  1043. }
  1044. }
  1045. .shibie-wrapper {
  1046. margin-top: 60rpx;
  1047. .title {
  1048. font-size: 30rpx;
  1049. font-family: Microsoft YaHei;
  1050. font-weight: 400;
  1051. color: #000000;
  1052. line-height: 30rpx;
  1053. }
  1054. }
  1055. .buchong-wrapper {
  1056. margin-top: 60rpx;
  1057. .title {
  1058. font-size: 30rpx;
  1059. font-family: Microsoft YaHei;
  1060. font-weight: 400;
  1061. color: #000000;
  1062. line-height: 30rpx;
  1063. }
  1064. }
  1065. .green-tip {
  1066. margin-top: 50rpx;
  1067. font-size: 24rpx;
  1068. font-family: Microsoft YaHei;
  1069. font-weight: 400;
  1070. color: #00b38b;
  1071. line-height: 24rpx;
  1072. margin-bottom: 60rpx;
  1073. }
  1074. }
  1075. .form-item {
  1076. display: flex;
  1077. font-size: 28rpx;
  1078. justify-content: space-between;
  1079. align-items: center;
  1080. }
  1081. .form-item label {}
  1082. .form-item .input-box {
  1083. display: flex;
  1084. align-items: center;
  1085. }
  1086. .form-item .select {
  1087. flex: 1;
  1088. background: #f1f1f1;
  1089. padding: 6rpx 20rpx;
  1090. margin: 0 10rpx;
  1091. min-height: 48rpx;
  1092. line-height: 48rpx;
  1093. border-radius: 8rpx;
  1094. }
  1095. .form-item .icon {
  1096. width: 28rpx;
  1097. height: 32rpx;
  1098. }
  1099. .form-item .input-box input {
  1100. width: 90rpx;
  1101. background: #f1f1f1;
  1102. border-radius: 8rpx;
  1103. padding: 0 5rpx;
  1104. }
  1105. .form-item .sub-text {
  1106. color: #808080;
  1107. padding-left: 10rpx;
  1108. }
  1109. .form-item .sub-label {
  1110. padding: 0 10rpx;
  1111. }
  1112. .window {
  1113. padding: 60rpx 30rpx;
  1114. }
  1115. .window .window-item {
  1116. border: 1px solid #00b38b;
  1117. background: rgba(0, 179, 139, .1);
  1118. border-radius: 10rpx;
  1119. padding: 16rpx 30rpx;
  1120. font-size: 30rpx;
  1121. margin-bottom: 10rpx;
  1122. }
  1123. ::v-deep .u-input__input {
  1124. background: transparent;
  1125. }
  1126. .choice-takePhoto {
  1127. position: absolute;
  1128. bottom: 0;
  1129. background-color: white;
  1130. width: 100%;
  1131. border-radius: 20rpx 20rpx 0 0;
  1132. }
  1133. .choice-takePhoto>view:first-child {
  1134. text-align: center;
  1135. height: 80rpx;
  1136. line-height: 80rpx;
  1137. border-bottom: 1rpx solid rgba(127, 127, 127, 0.3);
  1138. background-color: white;
  1139. }
  1140. .choice-takePhoto>view:last-child {
  1141. text-align: center;
  1142. height: 80rpx;
  1143. line-height: 80rpx;
  1144. border-top: 6rpx solid rgba(127, 127, 127, 0.1);
  1145. background-color: white;
  1146. }
  1147. .choice-takePhoto>view {
  1148. text-align: center;
  1149. height: 80rpx;
  1150. line-height: 80rpx;
  1151. background-color: white;
  1152. }
  1153. .choice-takePhoto-wrap {
  1154. width: 100%;
  1155. height: 100vh;
  1156. background-color: rgba(127, 127, 127, 0.2);
  1157. position: fixed;
  1158. left: 0;
  1159. top: 0;
  1160. z-index: 11111;
  1161. }
  1162. .tractor {
  1163. font-size: 32rpx;
  1164. margin-top: 40rpx;
  1165. }
  1166. .tractor .title {
  1167. margin-right: 60rpx;
  1168. }
  1169. // .tractor .title .label {
  1170. // margin-right: 40rpx !important;
  1171. // }
  1172. </style>