examine_quality_testing.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782
  1. <template>
  2. <view>
  3. <view class='wrap'>
  4. <view class='title_b'>基本信息</view>
  5. <view v-if='gridList.managementType==1' class="c-row ">
  6. <view class="title">类型</view>
  7. <view v-if='gridList.serviceManagementType==1' class="con-list">
  8. 贸易入库
  9. </view>
  10. <view v-if='gridList.serviceManagementType==3' class="con-list">
  11. 收购入库
  12. </view>
  13. </view>
  14. <view class="c-row ">
  15. <view v-if='gridList.managementType==3' class="title">出库类型</view>
  16. <view v-if='gridList.managementType==1' class="title">入库类型</view>
  17. <view class="con-list">
  18. {{gridList.inOutType}}
  19. </view>
  20. </view>
  21. <view class="c-row ">
  22. <view v-if='gridList.managementType==3' class="title">出库日期</view>
  23. <view v-if='gridList.managementType==1' class="title">入库日期</view>
  24. <view class="con-list">
  25. {{gridList.inOutDate}}
  26. </view>
  27. </view>
  28. <view class="c-row">
  29. <view class="title">仓库</view>
  30. <view class="con-list">
  31. {{gridList.warehouseName}}
  32. </view>
  33. </view>
  34. <view v-if='gridList.serviceManagementType==1' class="c-row">
  35. <view class="title">任务编号</view>
  36. <view class="con-list">
  37. {{gridList.inOutTaskNo}}
  38. </view>
  39. </view>
  40. <view class="c-row ">
  41. <view class="title">业务编号</view>
  42. <view class="con-list">
  43. {{gridList.qualityNo}}
  44. </view>
  45. </view>
  46. <view v-if='gridList.serviceManagementType==1' class="c-row ">
  47. <view v-if='gridList.inOutType=="移库入库"' class="title">移库编号</view>
  48. <view v-else class="title">合同编号</view>
  49. <view class="con-list">
  50. {{gridList.contractNo}}
  51. </view>
  52. </view>
  53. <view v-if='gridList.serviceManagementType==3' class="c-row">
  54. <view class="title">客户</view>
  55. <view v-if='gridList.customerName' class="con-list">
  56. {{gridList.customerName}}({{gridList.customerPhone}})
  57. </view>
  58. <view v-else class="con-list">
  59. {{gridList.compName}}
  60. </view>
  61. </view>
  62. <view class="c-row ">
  63. <view class="title">货名</view>
  64. <view class="con-list">
  65. {{gridList.goodsName}}
  66. </view>
  67. </view>
  68. <view class="c-row ">
  69. <view class="title">车牌号</view>
  70. <view class="con-list">
  71. {{gridList.carNumber}}
  72. </view>
  73. </view>
  74. <view v-if="gridList.paramType != '1'" class="c-row ">
  75. <view class="title">扣重比</view>
  76. <view class="con-list">
  77. {{gridList.buckleWeightRatio}}
  78. </view>
  79. </view>
  80. <view v-else class="c-row ">
  81. <view class="title">扣杂</view>
  82. <view class="con-list">
  83. <view>{{gridList.buckleMiscellaneous}}</view>
  84. <view>{{gridList.reBuckleMiscellaneous}}</view>
  85. </view>
  86. </view>
  87. <view v-else class="c-row">
  88. <view class="title">扣杂</view>
  89. <view class="con-list">
  90. <input v-model='gridList.buckleMiscellaneous' placeholder="初检扣杂" @input=""
  91. name="input"></input>
  92. <input v-model='gridList.reBuckleMiscellaneous' placeholder="复检扣杂" @input=""
  93. name="input"></input>
  94. </view>
  95. </view>
  96. <view v-if='gridList.serviceManagementType==3' class="c-row ">
  97. <view class="title">购粮性质</view>
  98. <view class="con-list">
  99. {{gridList.natureOfGrainPurchase}}
  100. </view>
  101. </view>
  102. <view class="c-row ">
  103. <view class="title">仓位号</view>
  104. <view class="con-list">
  105. {{gridList.binNumber}}
  106. </view>
  107. </view>
  108. <view class="c-row ">
  109. <view class="title">囤位号</view>
  110. <view class="con-list">
  111. {{gridList.storageTagNo}}
  112. </view>
  113. </view>
  114. <view class="c-row ">
  115. <view class="title">类型</view>
  116. <view class="con-list">
  117. {{gridList.type}}
  118. </view>
  119. </view>
  120. <view class="c-row ">
  121. <view class="title">运输方式</view>
  122. <view class="con-list">
  123. <view>{{gridList.outType}}</view>
  124. </view>
  125. </view>
  126. <view class="c-row ">
  127. <view class="title">车队</view>
  128. <view class="con-list">
  129. <view>{{gridList.fleet}}</view>
  130. </view>
  131. </view>
  132. <view v-if="gridList.outType=='汽运'||gridList.outType == '集装箱船'" class="c-row ">
  133. <view class="title">箱号-1</view>
  134. <view class="con-list">
  135. {{gridList.boxNo}}
  136. </view>
  137. </view>
  138. <view v-if="gridList.outType== '汽运'||gridList.outType == '集装箱船'" class="c-row ">
  139. <view class="title">封号-1</view>
  140. <view class="con-list">
  141. {{gridList.titleNo}}
  142. </view>
  143. </view>
  144. <view v-if="gridList.outType=='汽运'||gridList.outType == '集装箱船'" class="c-row ">
  145. <view class="title">箱号-2</view>
  146. <view class="con-list">
  147. {{gridList.boxNoOther}}
  148. </view>
  149. </view>
  150. <view v-if="gridList.outType== '汽运'||gridList.outType == '集装箱船'" class="c-row ">
  151. <view class="title">封号-2</view>
  152. <view class="con-list">
  153. {{gridList.titleNoOther}}
  154. </view>
  155. </view>
  156. <view class="c-row-fj" v-if="statusShow == '已复检'">
  157. <view style="margin: 0px 0px 30rpx 10rpx;">复检备注</view>
  158. <textarea class='textarea-style' v-model='gridList.reMemo' placeholder="暂无复检备注信息!" maxlength="300" disabled ></textarea>
  159. </view>
  160. </view>
  161. <view style='margin-bottom:300rpx;'>
  162. <view class='wrap'>
  163. <view class='title_b'>化验信息</view>
  164. <view class="c-row ">
  165. <view class="title">等级</view>
  166. <view class="con-list">
  167. <view>{{gridList.grade}}</view>
  168. <view>{{gridList.reGrade}}</view>
  169. </view>
  170. </view>
  171. <view class="c-row ">
  172. <view class="title">水分(%)</view>
  173. <view class="con-list">
  174. <input disabled v-model='gridList.waterContent' placeholder="初检水分" @input=""
  175. name="input"></input>
  176. <input disabled v-model='gridList.reWaterContent' placeholder="复检水分" @input=""
  177. name="input"></input>
  178. </view>
  179. <!-- <view class="con-list">
  180. {{gridList.rewaterContent}}
  181. </view> -->
  182. </view>
  183. <view class="c-row " v-if="gridList.goodsName !='大豆'">
  184. <view class="title">容重(克/升)</view>
  185. <view class="con-list">
  186. <view>{{gridList.bulkDensity}}</view>
  187. <view>{{gridList.reBulkDensity}}</view>
  188. </view>
  189. </view>
  190. <view class="c-row " v-else>
  191. <view class="title">蛋白</view>
  192. <view class="con-list">
  193. <view>{{gridList.protein}}</view>
  194. <view>{{gridList.reProtein}}</view>
  195. </view>
  196. </view>
  197. <view class="c-row " v-if="gridList.goodsName !='大豆'">
  198. <view class="title">不完善粒(%)</view>
  199. <view class="con-list">
  200. <view>{{gridList.imperfectGrain}}</view>
  201. <view>{{gridList.reImperfectGrain}}</view>
  202. </view>
  203. </view>
  204. <view class="c-row " v-else>
  205. <view class="title">完整粒率(%)</view>
  206. <view class="con-list">
  207. <view>{{gridList.completeGrain}}</view>
  208. <view>{{gridList.reCompleteGrain}}</view>
  209. </view>
  210. </view>
  211. <view class="c-row ">
  212. <view class="title">杂质(%)</view>
  213. <view class="con-list">
  214. <view>{{gridList.impurity}}</view>
  215. <view>{{gridList.reImpurity}}</view>
  216. </view>
  217. </view>
  218. <view class="c-row ">
  219. <view class="title">霉变粒(%)</view>
  220. <view class="con-list">
  221. <view>{{gridList.mildewGrain}}</view>
  222. <view>{{gridList.reMildewGrain}}</view>
  223. </view>
  224. </view>
  225. <view class="c-row ">
  226. <view class="title">热损伤(%)</view>
  227. <view class="con-list">
  228. <view>{{gridList.jiaorenli}}</view>
  229. <view>{{gridList.reJiaorenli}}</view>
  230. </view>
  231. </view>
  232. <view class="c-row ">
  233. <view class="title">转基因</view>
  234. <view class="con-list">
  235. <view>{{gridList.transgene}}</view>
  236. <view>{{gridList.reTransgene}}</view>
  237. </view>
  238. </view>
  239. <view class="c-row ">
  240. <view class="title">色泽/气味</view>
  241. <view class="con-list">
  242. <view>{{gridList.colorLustre}}</view>
  243. <view>{{gridList.reColorLustre}}</view>
  244. </view>
  245. </view>
  246. <view class="c-row">
  247. <view class="title">水分增价(元/吨)</view>
  248. <view class="con-list">
  249. {{gridList.waterPriceIncrease}}
  250. </view>
  251. </view>
  252. <view class="c-row">
  253. <view class="title">水分扣价(元/吨)</view>
  254. <view class="con-list">
  255. {{gridList.waterPriceDeduction}}
  256. </view>
  257. </view>
  258. <view class="c-row">
  259. <view class="title">质量增价(元/吨)</view>
  260. <view class="con-list">
  261. {{gridList.qualityPriceIncrease}}
  262. </view>
  263. </view>
  264. <view class="c-row">
  265. <view class="title">质量扣价(元/吨)</view>
  266. <view class="con-list">
  267. {{gridList.qualityPriceDeduction}}
  268. </view>
  269. </view>
  270. <view v-if="gridList.type == '潮粮'" class="c-row">
  271. <view class="title">净重单价(元/公斤)</view>
  272. <view class="con-list">
  273. {{gridList.tidalGrainPrice}}
  274. </view>
  275. </view>
  276. <view v-if="gridList.type == '干粮'" class="c-row">
  277. <view class="title">干粮单价(元/公斤)</view>
  278. <view class="con-list">
  279. {{gridList.dryGrainPrice}}
  280. </view>
  281. </view>
  282. <view v-show="compName=='辽宁佳屹农商贸有限公司'"
  283. class="c-row">
  284. <view class="title">规格(公斤)</view>
  285. <view class="con-list">
  286. {{gridList.specifications}}
  287. </view>
  288. </view>
  289. <view v-show="compName=='辽宁佳屹农商贸有限公司'"
  290. class="c-row">
  291. <view class="title">工厂</view>
  292. <view class="con-list">
  293. {{gridList.factory}}
  294. </view>
  295. </view>
  296. <view v-show="compName=='辽宁佳屹农商贸有限公司'" class="c-row">
  297. <view class="title">污染件数</view>
  298. <view class="con-list">
  299. {{gridList.polluteNum}}
  300. </view>
  301. </view>
  302. <view class="c-row">
  303. <view class="title">污染附件</view>
  304. </view>
  305. <view>
  306. <view v-if='fileList.length>0&&compName=="辽宁佳屹农商贸有限公司"'>
  307. <view style="margin-top: 20rpx;" v-for='item in fileList'>
  308. <view class="img_item">
  309. <view class="" style="width: 16%;">
  310. <image
  311. v-if="item.type == 'pdf'"
  312. style="width: 40px; height: 40px;" src="../../static/img/oa_office/pdf3.png"
  313. mode=""></image>
  314. <image v-else-if="item.type == 'xls'||item.type == 'xlsx'"
  315. style="width: 40px; height: 40px;" src="../../static/img/oa_office/excle3.png"
  316. mode=""></image>
  317. <image v-else-if="item.type == 'doc'||item.type == 'docx'"
  318. style="width: 40px; height: 40px;" src="../../static/img/oa_office/word3.png"
  319. mode=""></image>
  320. <image v-else style="width: 40px; height: 40px;" :src="item.appendixPath" mode="">
  321. </image>
  322. </view>
  323. <view class="" style="width: 70%;">
  324. <view class="char_css">{{item.appendixName}}</view>
  325. <view class="">{{item.appendixSize}}</view>
  326. </view>
  327. <view class="img_dowload" @click="openDocument(item)">下载</view>
  328. </view>
  329. </view>
  330. </view>
  331. </view>
  332. <view v-show="compName=='辽宁佳屹农商贸有限公司'" class="c-row">
  333. <view class="title">破损件数</view>
  334. <view class="con-list">
  335. {{gridList.wornNum}}
  336. </view>
  337. </view>
  338. <view class="c-row">
  339. <view class="title">破损附件</view>
  340. </view>
  341. <view>
  342. <view v-if='fileList1.length>0&&compName=="辽宁佳屹农商贸有限公司"'>
  343. <view style="margin-top: 20rpx;" v-for='item in fileList1'>
  344. <view class="img_item">
  345. <view class="" style="width: 16%;">
  346. <image
  347. v-if="item.type == 'pdf'"
  348. style="width: 40px; height: 40px;" src="../../static/img/oa_office/pdf3.png"
  349. mode=""></image>
  350. <image v-else-if="item.type == 'xls'||item.type == 'xlsx'"
  351. style="width: 40px; height: 40px;" src="../../static/img/oa_office/excle3.png"
  352. mode=""></image>
  353. <image v-else-if="item.type == 'doc'||item.type == 'docx'"
  354. style="width: 40px; height: 40px;" src="../../static/img/oa_office/word3.png"
  355. mode=""></image>
  356. <image v-else style="width: 40px; height: 40px;" :src="item.appendixPath" mode="">
  357. </image>
  358. </view>
  359. <view class="" style="width: 70%;">
  360. <view class="char_css">{{item.appendixName}}</view>
  361. <view class="">{{item.appendixSize}}</view>
  362. </view>
  363. <view class="img_dowload" @click="openDocument(item)">下载</view>
  364. </view>
  365. </view>
  366. </view>
  367. </view>
  368. </view>
  369. </view>
  370. </view>
  371. </template>
  372. <script>
  373. import dragButton from "@/components/drag-button/drag-button.vue";
  374. import {
  375. mapState
  376. } from 'vuex';
  377. let startY = 0,
  378. moveY = 0,
  379. pageAtTop = true;
  380. export default {
  381. components: {
  382. dragButton
  383. },
  384. data() {
  385. return {
  386. inputShow: false,
  387. modalName: '',
  388. mycarStyle: '',
  389. feild: undefined,
  390. id: 0,
  391. show: false,
  392. selector: [],
  393. show1: false,
  394. inputContent: '',
  395. coverTransform: 'translateY(0px)',
  396. coverTransition: '0s',
  397. moving: false,
  398. footprintList: [],
  399. searchKeyWord: '',
  400. isVip: false,
  401. userInfoTmp: [],
  402. inputStatus: 'none',
  403. carInfo: [],
  404. gridCol: 4,
  405. pageSize: 10,
  406. currentPage: 1,
  407. gridBorder: false,
  408. headUrl: "../../static/img/myimg/YongHu@3x.png",
  409. userphone: "",
  410. username: "请更改昵称",
  411. gridList: {
  412. type: '潮粮'
  413. },
  414. managementType: '',
  415. warehouseName: '',
  416. warehouseList: [],
  417. showTran: true,
  418. companyId: 1,
  419. current: 4,
  420. gradeList: [{
  421. key: 1,
  422. value: '一等品'
  423. },
  424. {
  425. key: 2,
  426. value: '二等品'
  427. },
  428. {
  429. key: 3,
  430. value: '三等品'
  431. },
  432. {
  433. key: 4,
  434. value: '等外'
  435. },
  436. ],
  437. cangid: '',
  438. statusShow:"",
  439. action: this.$uploadUrl,
  440. pcUserInfo: uni.getStorageSync('pcUserInfo'),
  441. maxSize: 50 * 1024 * 1024,
  442. compName: "",
  443. fileList:[],
  444. fileList1:[],
  445. }
  446. },
  447. // #ifndef MP
  448. onNavigationBarButtonTap(e) {
  449. const index = e.index;
  450. if (index === 0) {
  451. this.navTo('/pages/set/set');
  452. } else if (index === 1) {
  453. // #ifdef APP-PLUS
  454. const pages = getCurrentPages();
  455. const page = pages[pages.length - 1];
  456. const currentWebview = page.$getAppWebview();
  457. currentWebview.hideTitleNViewButtonRedDot({
  458. index
  459. });
  460. // #endif
  461. uni.navigateTo({
  462. url: '/pages/notice/notice'
  463. })
  464. }
  465. },
  466. // #endif
  467. computed: {
  468. ...mapState(['hasLogin', 'userInfo']),
  469. // 手机号中间4位加*
  470. starUserphone() {
  471. let reg = /^(\d{3})\d{4}(\d{4})$/;
  472. if (this.userphone) {
  473. return this.userphone.replace(reg, "$1****$2");
  474. }
  475. }
  476. },
  477. onLoad(options) {
  478. this.id = options.id
  479. this.cangid = options.cangid
  480. this.managementType = options.managementType
  481. this.statusShow = options.statusShow
  482. console.log(this.statusShow)
  483. },
  484. onShow() {
  485. var that = this
  486. if(uni.getStorageSync('compName1')){
  487. that.compName = uni.getStorageSync('compName1').company
  488. }
  489. this.$api.doRequest('get', '/qualityInspectionManagement/api/getQualityInspection', {
  490. id: this.id
  491. }).then(res => {
  492. if (res.data.data) {
  493. let data = res.data.data
  494. if(data.polluteUrl){
  495. this.$api.doRequest('get', 'appendix/query/getFileList', {
  496. appendixIds: data.polluteUrl
  497. }).then(res1 => {
  498. for (var i = 0; i < res1.data.data.length; i++) {
  499. if (res1.data.data[i].appendixName) {
  500. res1.data.data[i].type = res1.data.data[i].appendixName.split(".")[1]
  501. }
  502. }
  503. this.fileList=res1.data.data
  504. })
  505. }
  506. if(data.wornUrl){
  507. this.$api.doRequest('get', 'appendix/query/getFileList', {
  508. appendixIds: data.wornUrl
  509. }).then(res1 => {
  510. for (var i = 0; i < res1.data.data.length; i++) {
  511. if (res1.data.data[i].appendixName) {
  512. res1.data.data[i].type = res1.data.data[i].appendixName.split(".")[1]
  513. }
  514. }
  515. this.fileList1=res1.data.data
  516. })
  517. }
  518. that.gridList = data
  519. that.$api.doRequest('get', '/warehouseBaseInfo/getWarehouse', {
  520. id: this.cangid
  521. }).then(res => {
  522. that.warehouseList = res.data.data.warehousePositionInfoList
  523. })
  524. }
  525. })
  526. },
  527. methods: {
  528. openDocument(src) {
  529. uni.downloadFile({
  530. url: src.appendixPath,
  531. success: function(res) {
  532. var filePath = res.tempFilePath;
  533. uni.openDocument({
  534. filePath: filePath,
  535. showMenu: true,
  536. success: function(res) {
  537. console.log('打开文档成功');
  538. }
  539. });
  540. }
  541. });
  542. },
  543. gradepicker(e) {
  544. console.log(e)
  545. // this.$set(this.gradeList,'grade',this.gradeList[e[0]].value)
  546. this.gridList.grade = this.gradeList[e[0]].value
  547. this.gridList.gradeKey = this.gradeList[e[0]].key
  548. },
  549. binNumberpicker(e) {
  550. this.gridList.binNumber = this.warehouseList[e[0]].binNumber
  551. },
  552. del(item) {
  553. this.$api.doRequest('get', '/qualityInspectionManagement/api/deleteQualityInspection', {
  554. id: item.id
  555. }).then(res => {
  556. if (res.data.code == 200) {
  557. this.$api.msg('删除成功')
  558. } else {
  559. this.$api.msg('系统异常,请联系管理员')
  560. }
  561. })
  562. },
  563. fankui() {
  564. uni.navigateTo({
  565. url: `/pages/user/fankui`
  566. })
  567. },
  568. zhibo() {
  569. uni.navigateTo({
  570. url: `/pageB/video/broadcast`
  571. })
  572. },
  573. look() {
  574. uni.navigateTo({
  575. url: `/pageB/video/look`
  576. })
  577. },
  578. contactUs() {
  579. const that = this
  580. uni.makePhoneCall({
  581. // 手机号
  582. phoneNumber: '18241771147',
  583. // 成功回调
  584. success: (res) => {},
  585. // 失败回调
  586. fail: (res) => {}
  587. });
  588. },
  589. loadData() {
  590. // const that = this
  591. // if(uni.getStorageSync("PageCur")){
  592. // that.PageCur = uni.getStorageSync("PageCur");
  593. // }
  594. // that.userInfoTmp = uni.getStorageSync("userInfo")
  595. // uni.showLoading({
  596. // title: '正在加载',
  597. // mask:true
  598. // })
  599. // that.$api.request('integral', 'getIndexData', failres => {
  600. // that.$api.msg(failres.errmsg)
  601. // uni.hideLoading()
  602. // }).then(res => {
  603. // let data = res.data
  604. // uni.setStorageSync("message", data.message);
  605. // uni.setStorageSync("task", data.task);
  606. // uni.setStorageSync("contract", data.contract);
  607. // uni.setStorageSync('showTran', data.showTran);
  608. // that.showTran = data.showTran
  609. // that.gridList[4].tips = data.task
  610. // that.gridList[2].tips = data.contract
  611. // that.companyId = data.companyId
  612. // uni.hideLoading()
  613. // })
  614. },
  615. confirm() {
  616. const that = this
  617. if (!that.inputContent) {
  618. that.$api.msg('输入不能为空')
  619. return
  620. }
  621. let obj = {}
  622. obj[that.feild] = that.inputContent
  623. that.$api.request('user', 'syncUserInfo', obj).then(res => {
  624. that.userInfo.nickname = that.inputContent
  625. that.inputContent = ''
  626. that.$store.commit('login', that.userInfo)
  627. })
  628. },
  629. cancel() {
  630. this.inputShow = false
  631. this.inputStatus = 'none'
  632. this.genderShow = false
  633. },
  634. myAccount() {
  635. uni.navigateTo({
  636. url: `/pageA/pages/contract`
  637. })
  638. },
  639. /**
  640. * 统一跳转接口,拦截未登录路由
  641. * navigator标签现在默认没有转场动画,所以用view
  642. */
  643. navTo(url) {
  644. if (!this.hasLogin) {
  645. url = '/pages/public/login';
  646. }
  647. uni.navigateTo({
  648. url
  649. })
  650. },
  651. mycarClick(carNo) {
  652. this.modalName = null
  653. uni.navigateTo({
  654. url: `/pageB/car/mycar_detail?carNo=${carNo}`
  655. })
  656. },
  657. scanCode() {
  658. uni.scanCode({
  659. success: function(res) {
  660. uni.navigateTo({
  661. url: res.result
  662. })
  663. }
  664. })
  665. },
  666. hideModal(e) {
  667. this.modalName = null
  668. },
  669. }
  670. }
  671. </script>
  672. <style lang='scss' scoped>
  673. page {
  674. background: #F5F6FA;
  675. }
  676. .title_b {
  677. margin: 20rpx 20rpx 0rpx 20rpx;
  678. padding: 20rpx 10rpx 20rpx 10rpx;
  679. font-size: 18px;
  680. font-weight: 550;
  681. }
  682. .c-row {
  683. display: -webkit-box;
  684. display: -webkit-flex;
  685. display: flex;
  686. -webkit-box-align: center;
  687. -webkit-align-items: center;
  688. align-items: center;
  689. padding: 20rpx 30rpx;
  690. position: relative;
  691. }
  692. .con-list {
  693. -webkit-box-flex: 1;
  694. -webkit-flex: 1;
  695. flex: 1;
  696. display: -webkit-box;
  697. display: -webkit-flex;
  698. display: flex;
  699. -webkit-box-orient: vertical;
  700. -webkit-box-direction: normal;
  701. -webkit-flex-direction: column;
  702. flex-direction: column;
  703. color: #303133;
  704. line-height: 40rpx;
  705. text-align: right;
  706. padding-right: 20rpx;
  707. }
  708. .wrap {
  709. padding-bottom: 10px;
  710. font-size: 14px;
  711. background: #fff;
  712. margin: 10px;
  713. border-radius: 10px;
  714. input {
  715. font-size: 14px;
  716. }
  717. >.title {
  718. padding: 10px 16px;
  719. }
  720. .b-b:after {
  721. border-bottom: 1px solid #eee;
  722. }
  723. }
  724. .footer {
  725. background: #fff;
  726. position: fixed;
  727. bottom: 0;
  728. width: 100%;
  729. padding: 20px 10px;
  730. z-index: 10;
  731. .button {
  732. background: #22C572;
  733. width: 90%;
  734. margin: 0 auto;
  735. padding: 10px;
  736. color: #fff;
  737. text-align: center;
  738. border-radius: 30px;
  739. }
  740. }
  741. .textarea-style{
  742. border: 1px solid #EEEEEE;
  743. width: 100%;
  744. padding:20rpx;
  745. border-radius: 20rpx;
  746. }
  747. .c-row-fj{
  748. padding:20rpx
  749. }
  750. .img_item {
  751. display: flex;
  752. width: 100%;
  753. margin: 10px 0;
  754. padding: 0 10rpx;
  755. .img_dowload {
  756. width: 14%;
  757. color: #22C572;
  758. text-align: right;
  759. }
  760. }
  761. </style>