examine_quality_testing.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  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">
  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=='辽宁佳屹农商贸有限公司'"
  297. class="c-row">
  298. <view class="title">生产日期</view>
  299. <view class="con-list">
  300. {{gridList.produceDate}}
  301. </view>
  302. </view>
  303. <view v-show="compName=='辽宁佳屹农商贸有限公司'" class="c-row">
  304. <view class="title">污染件数</view>
  305. <view class="con-list">
  306. {{gridList.polluteNum}}
  307. </view>
  308. </view>
  309. <view class="c-row">
  310. <view class="title">污染附件</view>
  311. </view>
  312. <view>
  313. <view style='display: flex;flex-wrap: wrap;' v-if='fileList.length>0&&compName=="辽宁佳屹农商贸有限公司"'>
  314. <view style="margin: 10rpx;" v-for='item in fileList'>
  315. <image
  316. v-if="item.type == 'pdf'"
  317. style="width: 100px; height: 100px;" src="../../static/img/oa_office/pdf3.png"
  318. mode=""></image>
  319. <image v-else-if="item.type == 'xls'||item.type == 'xlsx'"
  320. style="width: 100px; height: 100px;" src="../../static/img/oa_office/excle3.png"
  321. mode=""></image>
  322. <image v-else-if="item.type == 'doc'||item.type == 'docx'"
  323. style="width: 100px; height: 100px;" src="../../static/img/oa_office/word3.png"
  324. mode=""></image>
  325. <image v-else @click='lookImg(item.appendixPath)' style="width: 100px; height: 100px;" :src="item.appendixPath" mode="">
  326. </image>
  327. </view>
  328. </view>
  329. </view>
  330. <view v-show="compName=='辽宁佳屹农商贸有限公司'" class="c-row">
  331. <view class="title">破损件数</view>
  332. <view class="con-list">
  333. {{gridList.wornNum}}
  334. </view>
  335. </view>
  336. <view class="c-row">
  337. <view class="title">破损附件</view>
  338. </view>
  339. <view>
  340. <view style='display: flex;flex-wrap: wrap;' v-if='fileList1.length>0&&compName=="辽宁佳屹农商贸有限公司"'>
  341. <view style="margin: 10rpx;" v-for='item in fileList1'>
  342. <image
  343. v-if="item.type == 'pdf'"
  344. style="width: 100px; height: 100px;" src="../../static/img/oa_office/pdf3.png"
  345. mode=""></image>
  346. <image v-else-if="item.type == 'xls'||item.type == 'xlsx'"
  347. style="width: 100px; height: 100px;" src="../../static/img/oa_office/excle3.png"
  348. mode=""></image>
  349. <image v-else-if="item.type == 'doc'||item.type == 'docx'"
  350. style="width: 100px; height: 100px;" src="../../static/img/oa_office/word3.png"
  351. mode=""></image>
  352. <image v-else @click='lookImg(item.appendixPath)' style="width: 100px; height: 100px;" :src="item.appendixPath" mode="">
  353. </image>
  354. </view>
  355. </view>
  356. </view>
  357. </view>
  358. </view>
  359. </view>
  360. </template>
  361. <script>
  362. import dragButton from "@/components/drag-button/drag-button.vue";
  363. import {
  364. mapState
  365. } from 'vuex';
  366. let startY = 0,
  367. moveY = 0,
  368. pageAtTop = true;
  369. export default {
  370. components: {
  371. dragButton
  372. },
  373. data() {
  374. return {
  375. inputShow: false,
  376. modalName: '',
  377. mycarStyle: '',
  378. feild: undefined,
  379. id: 0,
  380. show: false,
  381. selector: [],
  382. show1: false,
  383. inputContent: '',
  384. coverTransform: 'translateY(0px)',
  385. coverTransition: '0s',
  386. moving: false,
  387. footprintList: [],
  388. searchKeyWord: '',
  389. isVip: false,
  390. userInfoTmp: [],
  391. inputStatus: 'none',
  392. carInfo: [],
  393. gridCol: 4,
  394. pageSize: 10,
  395. currentPage: 1,
  396. gridBorder: false,
  397. headUrl: "../../static/img/myimg/YongHu@3x.png",
  398. userphone: "",
  399. username: "请更改昵称",
  400. gridList: {
  401. type: '潮粮'
  402. },
  403. managementType: '',
  404. warehouseName: '',
  405. warehouseList: [],
  406. showTran: true,
  407. companyId: 1,
  408. current: 4,
  409. gradeList: [{
  410. key: 1,
  411. value: '一等品'
  412. },
  413. {
  414. key: 2,
  415. value: '二等品'
  416. },
  417. {
  418. key: 3,
  419. value: '三等品'
  420. },
  421. {
  422. key: 4,
  423. value: '等外'
  424. },
  425. ],
  426. cangid: '',
  427. statusShow:"",
  428. action: this.$uploadUrl,
  429. pcUserInfo: uni.getStorageSync('pcUserInfo'),
  430. maxSize: 50 * 1024 * 1024,
  431. compName: "",
  432. fileList:[],
  433. fileList1:[],
  434. }
  435. },
  436. // #ifndef MP
  437. onNavigationBarButtonTap(e) {
  438. const index = e.index;
  439. if (index === 0) {
  440. this.navTo('/pages/set/set');
  441. } else if (index === 1) {
  442. // #ifdef APP-PLUS
  443. const pages = getCurrentPages();
  444. const page = pages[pages.length - 1];
  445. const currentWebview = page.$getAppWebview();
  446. currentWebview.hideTitleNViewButtonRedDot({
  447. index
  448. });
  449. // #endif
  450. uni.navigateTo({
  451. url: '/pages/notice/notice'
  452. })
  453. }
  454. },
  455. // #endif
  456. computed: {
  457. ...mapState(['hasLogin', 'userInfo']),
  458. // 手机号中间4位加*
  459. starUserphone() {
  460. let reg = /^(\d{3})\d{4}(\d{4})$/;
  461. if (this.userphone) {
  462. return this.userphone.replace(reg, "$1****$2");
  463. }
  464. }
  465. },
  466. onLoad(options) {
  467. this.id = options.id
  468. this.cangid = options.cangid
  469. this.managementType = options.managementType
  470. this.statusShow = options.statusShow
  471. console.log(this.statusShow)
  472. },
  473. onShow() {
  474. var that = this
  475. if(uni.getStorageSync('compName1')){
  476. that.compName = uni.getStorageSync('compName1').company
  477. }
  478. this.$api.doRequest('get', '/qualityInspectionManagement/api/getQualityInspection', {
  479. id: this.id
  480. }).then(res => {
  481. if (res.data.data) {
  482. let data = res.data.data
  483. if(data.polluteUrl){
  484. this.$api.doRequest('get', 'appendix/query/getFileList', {
  485. appendixIds: data.polluteUrl
  486. }).then(res1 => {
  487. for (var i = 0; i < res1.data.data.length; i++) {
  488. if (res1.data.data[i].appendixName) {
  489. res1.data.data[i].type = res1.data.data[i].appendixName.split(".")[1]
  490. }
  491. }
  492. this.fileList=res1.data.data
  493. })
  494. }
  495. if(data.wornUrl){
  496. this.$api.doRequest('get', 'appendix/query/getFileList', {
  497. appendixIds: data.wornUrl
  498. }).then(res1 => {
  499. for (var i = 0; i < res1.data.data.length; i++) {
  500. if (res1.data.data[i].appendixName) {
  501. res1.data.data[i].type = res1.data.data[i].appendixName.split(".")[1]
  502. }
  503. }
  504. this.fileList1=res1.data.data
  505. })
  506. }
  507. that.gridList = data
  508. that.$api.doRequest('get', '/warehouseBaseInfo/getWarehouse', {
  509. id: this.cangid
  510. }).then(res => {
  511. that.warehouseList = res.data.data.warehousePositionInfoList
  512. })
  513. }
  514. })
  515. },
  516. methods: {
  517. openDocument(src) {
  518. uni.downloadFile({
  519. url: src.appendixPath,
  520. success: function(res) {
  521. var filePath = res.tempFilePath;
  522. uni.openDocument({
  523. filePath: filePath,
  524. showMenu: true,
  525. success: function(res) {
  526. console.log('打开文档成功');
  527. }
  528. });
  529. }
  530. });
  531. },
  532. lookImg(item){
  533. uni.previewImage({
  534. current: 0,
  535. urls: [item],
  536. success: function(data) {
  537. console.log('预览成功');
  538. },
  539. fail: function(err) {
  540. console.log('预览失败+'+err.errMsg);
  541. }
  542. });
  543. },
  544. gradepicker(e) {
  545. console.log(e)
  546. // this.$set(this.gradeList,'grade',this.gradeList[e[0]].value)
  547. this.gridList.grade = this.gradeList[e[0]].value
  548. this.gridList.gradeKey = this.gradeList[e[0]].key
  549. },
  550. binNumberpicker(e) {
  551. this.gridList.binNumber = this.warehouseList[e[0]].binNumber
  552. },
  553. del(item) {
  554. this.$api.doRequest('get', '/qualityInspectionManagement/api/deleteQualityInspection', {
  555. id: item.id
  556. }).then(res => {
  557. if (res.data.code == 200) {
  558. this.$api.msg('删除成功')
  559. } else {
  560. this.$api.msg('系统异常,请联系管理员')
  561. }
  562. })
  563. },
  564. fankui() {
  565. uni.navigateTo({
  566. url: `/pages/user/fankui`
  567. })
  568. },
  569. zhibo() {
  570. uni.navigateTo({
  571. url: `/pageB/video/broadcast`
  572. })
  573. },
  574. look() {
  575. uni.navigateTo({
  576. url: `/pageB/video/look`
  577. })
  578. },
  579. contactUs() {
  580. const that = this
  581. uni.makePhoneCall({
  582. // 手机号
  583. phoneNumber: '18241771147',
  584. // 成功回调
  585. success: (res) => {},
  586. // 失败回调
  587. fail: (res) => {}
  588. });
  589. },
  590. loadData() {
  591. // const that = this
  592. // if(uni.getStorageSync("PageCur")){
  593. // that.PageCur = uni.getStorageSync("PageCur");
  594. // }
  595. // that.userInfoTmp = uni.getStorageSync("userInfo")
  596. // uni.showLoading({
  597. // title: '正在加载',
  598. // mask:true
  599. // })
  600. // that.$api.request('integral', 'getIndexData', failres => {
  601. // that.$api.msg(failres.errmsg)
  602. // uni.hideLoading()
  603. // }).then(res => {
  604. // let data = res.data
  605. // uni.setStorageSync("message", data.message);
  606. // uni.setStorageSync("task", data.task);
  607. // uni.setStorageSync("contract", data.contract);
  608. // uni.setStorageSync('showTran', data.showTran);
  609. // that.showTran = data.showTran
  610. // that.gridList[4].tips = data.task
  611. // that.gridList[2].tips = data.contract
  612. // that.companyId = data.companyId
  613. // uni.hideLoading()
  614. // })
  615. },
  616. confirm() {
  617. const that = this
  618. if (!that.inputContent) {
  619. that.$api.msg('输入不能为空')
  620. return
  621. }
  622. let obj = {}
  623. obj[that.feild] = that.inputContent
  624. that.$api.request('user', 'syncUserInfo', obj).then(res => {
  625. that.userInfo.nickname = that.inputContent
  626. that.inputContent = ''
  627. that.$store.commit('login', that.userInfo)
  628. })
  629. },
  630. cancel() {
  631. this.inputShow = false
  632. this.inputStatus = 'none'
  633. this.genderShow = false
  634. },
  635. myAccount() {
  636. uni.navigateTo({
  637. url: `/pageA/pages/contract`
  638. })
  639. },
  640. /**
  641. * 统一跳转接口,拦截未登录路由
  642. * navigator标签现在默认没有转场动画,所以用view
  643. */
  644. navTo(url) {
  645. if (!this.hasLogin) {
  646. url = '/pages/public/login';
  647. }
  648. uni.navigateTo({
  649. url
  650. })
  651. },
  652. mycarClick(carNo) {
  653. this.modalName = null
  654. uni.navigateTo({
  655. url: `/pageB/car/mycar_detail?carNo=${carNo}`
  656. })
  657. },
  658. scanCode() {
  659. uni.scanCode({
  660. success: function(res) {
  661. uni.navigateTo({
  662. url: res.result
  663. })
  664. }
  665. })
  666. },
  667. hideModal(e) {
  668. this.modalName = null
  669. },
  670. }
  671. }
  672. </script>
  673. <style lang='scss' scoped>
  674. page {
  675. background: #F5F6FA;
  676. }
  677. .title_b {
  678. margin: 20rpx 20rpx 0rpx 20rpx;
  679. padding: 20rpx 10rpx 20rpx 10rpx;
  680. font-size: 18px;
  681. font-weight: 550;
  682. }
  683. .c-row {
  684. display: -webkit-box;
  685. display: -webkit-flex;
  686. display: flex;
  687. -webkit-box-align: center;
  688. -webkit-align-items: center;
  689. align-items: center;
  690. padding: 20rpx 30rpx;
  691. position: relative;
  692. }
  693. .con-list {
  694. -webkit-box-flex: 1;
  695. -webkit-flex: 1;
  696. flex: 1;
  697. display: -webkit-box;
  698. display: -webkit-flex;
  699. display: flex;
  700. -webkit-box-orient: vertical;
  701. -webkit-box-direction: normal;
  702. -webkit-flex-direction: column;
  703. flex-direction: column;
  704. color: #303133;
  705. line-height: 40rpx;
  706. text-align: right;
  707. padding-right: 20rpx;
  708. }
  709. .wrap {
  710. padding-bottom: 10px;
  711. font-size: 14px;
  712. background: #fff;
  713. margin: 10px;
  714. border-radius: 10px;
  715. input {
  716. font-size: 14px;
  717. }
  718. >.title {
  719. padding: 10px 16px;
  720. }
  721. .b-b:after {
  722. border-bottom: 1px solid #eee;
  723. }
  724. }
  725. .footer {
  726. background: #fff;
  727. position: fixed;
  728. bottom: 0;
  729. width: 100%;
  730. padding: 20px 10px;
  731. z-index: 10;
  732. .button {
  733. background: #22C572;
  734. width: 90%;
  735. margin: 0 auto;
  736. padding: 10px;
  737. color: #fff;
  738. text-align: center;
  739. border-radius: 30px;
  740. }
  741. }
  742. .textarea-style{
  743. border: 1px solid #EEEEEE;
  744. width: 100%;
  745. padding:20rpx;
  746. border-radius: 20rpx;
  747. }
  748. .c-row-fj{
  749. padding:20rpx
  750. }
  751. .img_item {
  752. display: flex;
  753. width: 100%;
  754. margin: 10px 0;
  755. padding: 0 10rpx;
  756. .img_dowload {
  757. width: 14%;
  758. color: #22C572;
  759. text-align: right;
  760. }
  761. }
  762. </style>