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

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