refuel.vue 27 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079
  1. <template>
  2. <view class="container">
  3. <u-form ref="uForm">
  4. <view class="form_top">基本信息</view>
  5. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" class="label_css"
  6. label="车牌号">
  7. <u-input v-model="list.carNo" input-align="right" placeholder="--" disabled />
  8. </u-form-item>
  9. <u-form-item v-if='list.strokeType==1' label-width='150' :borderBottom="false" label="起点">
  10. <view class="place">
  11. {{list.originProvince}}{{list.originCity}}{{list.originArea}}{{list.originAddress}}
  12. </view>
  13. </u-form-item>
  14. <u-form-item v-if='list.strokeType==1' label-width='150' :borderBottom="false" label="终点">
  15. <view class="place">
  16. {{list.destinationProvince}}{{list.destinationCity}}{{list.destinationArea}}{{list.destinationAddress}}
  17. </view>
  18. </u-form-item>
  19. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="总油耗(升)">
  20. <u-input v-model="list.tfc" input-align="right" placeholder="--" disabled />
  21. </u-form-item>
  22. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="总金额(元)">
  23. <u-input v-model="list.totalCost" input-align="right" placeholder="--" disabled />
  24. </u-form-item>
  25. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="申请时间">
  26. <u-input v-model="list.createDate" input-align="right" placeholder="--" disabled />
  27. </u-form-item>
  28. <u-form-item v-if='list.strokeType==3' label-width='260' :borderBottom="false" label="仓库名">
  29. <u-input v-model="list.warehouseName" input-align="right" placeholder="--" disabled />
  30. </u-form-item>
  31. <u-form-item v-if='list.strokeType==3' label-width='260' :borderBottom="false" label="备注">
  32. <u-input v-model="list.remark" input-align="right" placeholder="--" disabled />
  33. </u-form-item>
  34. <u-form-item v-if='list.strokeType==3' label-width='260' :borderBottom="false" label="请款金额">
  35. <u-input v-model="list.amountRequested" input-align="right" placeholder="--" disabled />
  36. </u-form-item>
  37. <u-form-item v-if='list.strokeType==3' label-width='260' :borderBottom="false" label="请款时间">
  38. <u-input v-model="list.createDate" input-align="right" placeholder="--" disabled />
  39. </u-form-item>
  40. </u-form>
  41. <view v-if="list.fillingDetailInfoList">
  42. <u-form v-for="(item,index) in list.fillingDetailInfoList" :labelWidth="200">
  43. <div>加油-{{index+1}}</div>
  44. <u-form-item label="油耗(升)">
  45. <!-- {{item.oilConsumption}} -->
  46. <u-input v-model="item.oilConsumption" disabled inputAlign="right" />
  47. </u-form-item>
  48. <u-form-item label="单价(元/升)">
  49. <!-- {{item.currentOilPrice}} -->
  50. <u-input v-model="item.currentOilPrice" disabled inputAlign="right" />
  51. </u-form-item>
  52. <u-form-item label="油费(元)">
  53. <!-- {{item.currentConsumption}} -->
  54. <u-input v-model="item.currentConsumption" disabled inputAlign="right" />
  55. </u-form-item>
  56. <!-- <u-form-item label="凭证"> -->
  57. <!-- <img :src="item.addressUrl" alt="" mode="aspectFill"> -->
  58. <!-- <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="1"
  59. :size-type="['compressed']" :deletable="false" @on-uploaded="isAdd = true"
  60. :before-upload="filterFileType" @on-progress="onProgress" :fileList="item.urlList">
  61. </upload> -->
  62. <!-- </u-form-item> -->
  63. <view class="voucher">
  64. <view class="voucher_tips">加油凭证</view>
  65. <view >
  66. <u-upload :action="action" :file-list="item.urlList" max-count="1" :deletable="false" :show-progress="false"></u-upload>
  67. </view>
  68. </view>
  69. </u-form>
  70. </view>
  71. <view v-if="list.shortFillingInfoList">
  72. <u-form v-for="(item,index) in list.shortFillingInfoList">
  73. <div>加油-{{index+1}}</div>
  74. <u-form-item label="车牌号">
  75. {{item.carNo}}
  76. </u-form-item>
  77. <u-form-item label="起始地">
  78. {{item.originProvince}}{{item.originCity}}{{item.originArea}}{{item.originAddress}}
  79. </u-form-item>
  80. <u-form-item label="终到地">
  81. {{item.destinationProvince}}{{item.destinationCity}}{{item.destinationArea}}{{item.destinationAddress}}
  82. </u-form-item>
  83. </u-form>
  84. </view>
  85. <u-form ref="uForm">
  86. <view class="form_top">流程</view>
  87. <view class="content2">
  88. <view v-for="(item,index) in auditList" :key='index' class="audit">
  89. <view class="row" v-if='item.desc!="_PLACEHOLDER_"'>
  90. <view class="left">
  91. <view class="item1">
  92. <view class="item-content">{{item.operatorTitle}}</view>
  93. <view v-if="item.status=='success'" class='status success'>
  94. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  95. </view>
  96. <view v-if="item.status=='error'" class='status error'>
  97. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  98. </view>
  99. <view v-if="item.status=='question'" class='status question'>
  100. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  101. </view>
  102. </view>
  103. </view>
  104. <view class="right">
  105. <view class="right-item">
  106. <view class="item2">
  107. <view class="name">{{item.desc}}
  108. </view>
  109. <!-- <view class='time'>{{item.updateDate}}</view> -->
  110. <view v-if="item.status=='success'" class="status success">
  111. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  112. v-if='!item.commonStaffs1&&index!=0'>已审核</text>
  113. </view>
  114. <view v-if="item.status=='error'" class="status error">
  115. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  116. v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text>
  117. </view>
  118. <view v-if="item.status=='question'" class="status question">
  119. {{item.commonStaffs1?item.staffscontent:''}}<text
  120. v-if='!item.commonStaffs1'>未审核</text>
  121. </view>
  122. <!-- <view class="status success">吕波(已审核)</view> -->
  123. </view>
  124. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0'
  125. class='time'>
  126. {{item.updateDate}}
  127. </view>
  128. </view>
  129. <view v-if='item.auditMind' class="right-content">
  130. {{item.auditMind}}
  131. </view>
  132. </view>
  133. <view v-if='item.commonStaffs1' class="right">
  134. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28">
  135. </u-icon>
  136. </view>
  137. </view>
  138. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  139. <view class='row2'>
  140. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  141. <view class="item-content">
  142. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  143. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  144. </view>
  145. <view class="name">{{item1.staffName}}</view>
  146. </view>
  147. </view>
  148. </view>
  149. <view class="row-line" v-if="index!= auditList.length - 1&&item.desc!='_PLACEHOLDER_'"></view>
  150. </view>
  151. </view>
  152. </u-form>
  153. <view v-if='list.taskId' style='padding:10px;z-index: 12;' class='flex bottom-btn'>
  154. <u-button v-if='list.approveStatus||isSHowBtn' @click='reject' type="error" class="btn1" hover-class='none'>
  155. 驳回
  156. </u-button>
  157. <u-button v-if='list.approveStatus||isSHowBtn' @click='pass' type="success" class="btn2">通过
  158. </u-button>
  159. </view>
  160. <view v-if='show' class="shade">
  161. <view class="wrap">
  162. <view class="alert-top">
  163. <view class="title">
  164. {{title}}
  165. </view>
  166. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  167. </view>
  168. <view class="u-textarea-style">
  169. <view class="right-bottom">
  170. {{auditMind.length}}/1000个字
  171. </view>
  172. <textarea maxlength="1000" v-model='auditMind' placeholder="请在此输入审核意见" name="" id="" cols="30"
  173. rows="11"></textarea>
  174. </view>
  175. <view @click='close()' class="cancel">取消</view>
  176. <view @click='passSubmit()' class="confirm">确定</view>
  177. </view>
  178. </view>
  179. <view @click='imgShow=false' v-if="imgShow" class="shade">
  180. <image style='position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;' :src="url" mode=""></image>
  181. </view>
  182. </view>
  183. </template>
  184. <script>
  185. import upload from '@/components/upload.vue';
  186. import helper from '@/common/helper.js';
  187. export default {
  188. components: {
  189. upload
  190. },
  191. data() {
  192. return {
  193. everyCheck: '',
  194. id: "",
  195. currentPage: 1,
  196. pageSize: 10,
  197. list: {
  198. status: "",
  199. contractGoodsInfo: {},
  200. contractProcessInfo: {}
  201. },
  202. imglist: [],
  203. title: '',
  204. auditMind: '',
  205. auditList: [],
  206. show: false,
  207. contractNo: "",
  208. action: this.$uploadUrl,
  209. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  210. isAdd: true,
  211. url: "",
  212. imgShow: false,
  213. height: 200,
  214. autoHeight: true,
  215. border: false,
  216. rejectInfo: "",
  217. rejectInfo1: "",
  218. isSHowBtn: true,
  219. auditCheck: "question", //判断审核是否通过
  220. }
  221. },
  222. onBackPress(e) {
  223. if (this.everyCheck) {
  224. uni.navigateTo({
  225. url: "/pages/task/my_task"
  226. })
  227. return true;
  228. }
  229. },
  230. onLoad(options) {
  231. this.id = options.id
  232. this.everyCheck = uni.getStorageSync("everyTask")
  233. this.isSHowBtn = options.isShowbtn
  234. this.getList()
  235. },
  236. methods: {
  237. openDocument(src) {
  238. uni.downloadFile({
  239. url: src.appendixPath,
  240. success: function(res) {
  241. var filePath = res.tempFilePath;
  242. uni.openDocument({
  243. filePath: filePath,
  244. showMenu: true,
  245. success: function(res) {
  246. console.log('打开文档成功');
  247. }
  248. });
  249. }
  250. });
  251. },
  252. shadeshow(url) {
  253. this.imgShow = true
  254. this.url = url
  255. },
  256. showcontent(item) {
  257. item.showflow = !item.showflow
  258. },
  259. getList(id) {
  260. var that = this
  261. uni.showLoading({
  262. title: '加载中',
  263. mask: true
  264. })
  265. that.$api.doRequest('get', '/fuelFillingInfo/getFilling', {
  266. id: that.id
  267. }).then(res => {
  268. if (res.data.code == 200) {
  269. that.list = res.data.data
  270. for (let i = 0; i < that.list.fillingDetailInfoList.length; i++) {
  271. let urlList = []
  272. if (that.list.fillingDetailInfoList[i].addressUrl) {
  273. let datalist = that.list.fillingDetailInfoList[i].addressUrl.split(",")
  274. for (let j = 0; j < datalist.length; j++) {
  275. urlList.push({
  276. url: datalist[j]
  277. })
  278. }
  279. that.list.fillingDetailInfoList[i].urlList = urlList
  280. }
  281. }
  282. // this.$api.doRequest('get', '/appendix/query/getFileList', {
  283. // appendixIds: that.list.addressUrl
  284. // }).then(res1 => {
  285. // that.imglist = res1.data.data
  286. // for (let i = 0; i < that.imglist.length; i++) {//获取后缀
  287. // if (that.imglist[i].appendixName) {
  288. // let index = that.imglist[i].appendixName.lastIndexOf(".")
  289. // that.imglist[i].type = that.imglist[i].appendixName.substring(index+1)
  290. // }
  291. // }
  292. // 审核流程
  293. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  294. businessCode: 'JIAYOU-SHENHE-APPROVE',
  295. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  296. }).then(res1 => {
  297. this.$api.doRequest('get', '/commonUser/getHis', {
  298. workflowId: res1.data.data[0].id,
  299. businessKey: this.id,
  300. // branch:that.list.jointVentureParties?that.list.jointVentureParties:'zt'
  301. }).then(response => {
  302. uni.hideLoading()
  303. for (let i = 0; i < response.data.data.length; i++) {
  304. this.$set(response.data.data[i], 'status', 'question')
  305. // console.log(response.data.data[i].workflowHistoricTasks,i)
  306. if (response.data.data[i].commonStaffs) {
  307. response.data.data[i].showflow = false
  308. response.data.data[i].operatorTitle = response.data.data[i]
  309. .desc.substring(0, 2)
  310. response.data.data[i].operatorName = response.data.data[i]
  311. .desc
  312. response.data.data[i].staffscontent = '共' + response.data
  313. .data[i].commonStaffs.length + '人,当前审核' + response.data
  314. .data[i].workflowHistoricTasks.length + '人'
  315. if (response.data.data[i].workflowHistoricTasks && response
  316. .data.data[i].workflowHistoricTasks.length > 0) {
  317. if (response.data.data[i].workflowHistoricTasks
  318. .length != response.data.data[i].commonStaffs
  319. .length) {
  320. // response.data.data[i].status='question'
  321. this.$set(response.data.data[i], 'status',
  322. 'question')
  323. } else {
  324. this.$set(response.data.data[i], 'status',
  325. 'success')
  326. // response.data.data[i].status='success'
  327. }
  328. response.data.data[i].workflowlen = response.data.data[
  329. i].workflowHistoricTasks.length
  330. var workflowdata = response.data.data[i]
  331. .workflowHistoricTasks
  332. var staffsdata = response.data.data[i].commonStaffs
  333. for (let q = 0; q < staffsdata.length; q++) {
  334. staffsdata[q].status = false
  335. staffsdata[q].staffTitle = staffsdata[q].staffName
  336. for (let k = 0; k < workflowdata.length; k++) {
  337. if (staffsdata[q].staffId == workflowdata[k]
  338. .operatorId) {
  339. staffsdata[q].status = true
  340. }
  341. }
  342. }
  343. }
  344. response.data.data[i].commonStaffs1 = response.data.data[i]
  345. .commonStaffs
  346. } else {
  347. if (response.data.data[i].workflowHistoricTasks && response
  348. .data.data[i].workflowHistoricTasks.length > 0) {
  349. var len = response.data.data[i].workflowHistoricTasks
  350. .length - 1
  351. if (response.data.data[i].workflowHistoricTasks[len]
  352. .approved) {
  353. this.$set(response.data.data[i], 'status',
  354. 'success')
  355. } else {
  356. this.$set(response.data.data[i], 'status', 'error')
  357. }
  358. response.data.data[i].operatorTitle = response.data
  359. .data[i].workflowHistoricTasks[len].operatorName
  360. .substring(response.data.data[i]
  361. .workflowHistoricTasks[0].operatorName.length -
  362. 2)
  363. response.data.data[i].operatorName = response.data
  364. .data[i].workflowHistoricTasks[len].operatorName
  365. var time = new Date(response.data.data[i]
  366. .workflowHistoricTasks[len].claimTime)
  367. .getTime()
  368. response.data.data[i].updateDate = this.$u.timeFormat(
  369. time, 'mm.dd hh:MM')
  370. response.data.data[i].auditMind = response.data.data[i]
  371. .workflowHistoricTasks[len].auditMind
  372. } else {
  373. this.$set(response.data.data[i], 'status', 'question')
  374. // response.data.data[i].status='question'
  375. if (response.data.data[i].desc == '总经理助理审核') {
  376. response.data.data[i].operatorTitle = '总助'
  377. } else if (response.data.data[i].desc == '杜大光审核') {
  378. response.data.data[i].operatorTitle = '大光'
  379. } else {
  380. response.data.data[i].operatorTitle = response.data
  381. .data[i].desc.substring(0, 2)
  382. }
  383. response.data.data[i].operatorName = response.data
  384. .data[i].desc
  385. var time1 = new Date(response.data.data[i].updateDate)
  386. .getTime()
  387. response.data.data[i].updateDate = this.$u.timeFormat(
  388. time1, 'mm.dd hh:MM')
  389. response.data.data[i].auditMind = ''
  390. }
  391. }
  392. }
  393. console.log(response.data.data)
  394. for (let i = 0; i < response.data.data.length; i++) {
  395. if (response.data.data[i].status == "error") {
  396. this.auditCheck = "error"
  397. break;
  398. } else if (response.data.data[i].status == "question") {
  399. this.auditCheck = "question"
  400. break;
  401. } else {
  402. this.auditCheck = "success"
  403. }
  404. }
  405. this.auditList = response.data.data
  406. var time2 = new Date(this.list.createDate).getTime()
  407. var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
  408. this.auditList.unshift({
  409. operatorTitle: this.list.creater.substring(0, 2),
  410. operatorName: this.list.creater,
  411. updateDate: time3,
  412. auditMind: '',
  413. desc: '发起申请',
  414. showflow: false,
  415. commonStaffs1: null,
  416. commonStaffs: null,
  417. workflowHistoricTasks: [],
  418. status: 'success'
  419. })
  420. })
  421. })
  422. }
  423. })
  424. },
  425. onRemove() {
  426. return
  427. },
  428. filterFileType(index, lists) {
  429. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  430. lists.splice(index, 1);
  431. // 当前文件不支持
  432. uni.showModal({
  433. title: '暂不支持当前图片类型',
  434. showCancel: false
  435. });
  436. } else {
  437. this.isAdd = false;
  438. }
  439. },
  440. close() {
  441. this.show = false
  442. },
  443. pass() {
  444. this.show = true
  445. this.title = '审核意见(通过)'
  446. },
  447. reject() {
  448. this.show = true
  449. this.title = '驳回原因(驳回)'
  450. },
  451. //驳回
  452. rejectSubmit() {
  453. var that = this
  454. uni.showLoading({
  455. title: '加载中',
  456. mask: true
  457. });
  458. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  459. taskId: that.list.taskId,
  460. approved: false,
  461. auditMind: this.auditMind,
  462. needReapply: true,
  463. }).then(res => {
  464. that.$api.msg('驳回成功')
  465. that.show = false
  466. setTimeout(function() {
  467. if (that.everyCheck) {
  468. helper.setAudit(that.list)
  469. } else {
  470. uni.navigateBack()
  471. }
  472. uni.hideLoading()
  473. }, 1000);
  474. })
  475. },
  476. pass() {
  477. this.show = true
  478. this.title = '审核意见'
  479. },
  480. reject() {
  481. this.show = true
  482. this.title = '驳回原因(驳回)'
  483. },
  484. //通过
  485. passSubmit() {
  486. var that = this
  487. if (this.title == '驳回原因(驳回)') {
  488. this.rejectSubmit()
  489. } else {
  490. uni.showLoading({
  491. title: '加载中',
  492. mask: true
  493. });
  494. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  495. taskId: that.list.taskId,
  496. approved: true,
  497. auditMind: this.auditMind,
  498. needReapply: true,
  499. }).then(res => {
  500. that.$api.msg('通过成功')
  501. that.show = false
  502. setTimeout(function() {
  503. if (that.everyCheck) {
  504. helper.setAudit(that.list)
  505. } else {
  506. uni.navigateBack()
  507. }
  508. uni.hideLoading()
  509. }, 1000);
  510. })
  511. }
  512. },
  513. //审核方法
  514. audit(item, index, status, status2, reason) {
  515. if (index < this.list.length) {
  516. this.$api.doRequest('post', '/newWorkflow/api/handle', {
  517. taskId: item.taskId,
  518. approved: status,
  519. auditMind: reason != undefined ? '已驳回' : '34',
  520. needReapply: status2 != undefined ? true : false,
  521. }).then(res => {
  522. this.audit(this.list[index + 1], index + 1, status)
  523. })
  524. } else {
  525. if (status == true) {
  526. that.$api.msg('通过成功')
  527. this.getList()
  528. } else if (status == false) {
  529. that.$api.msg('驳回成功')
  530. this.getList()
  531. }
  532. }
  533. },
  534. }
  535. }
  536. </script>
  537. <style scoped lang="scss">
  538. .container {
  539. padding: 20rpx 20rpx 250rpx 20rpx;
  540. }
  541. .u-form {
  542. margin-bottom: 20rpx;
  543. background: #fff;
  544. border-radius: 10px;
  545. padding: 30rpx 10px;
  546. .u-form-item {
  547. line-height: 30px;
  548. padding: 0px 0;
  549. font-size: 26rpx;
  550. color: #878C9C;
  551. }
  552. }
  553. .content {
  554. margin-top: 30rpx;
  555. .top {
  556. display: flex;
  557. justify-content: space-between;
  558. }
  559. .content-item {
  560. border-radius: 20rpx;
  561. background: white;
  562. padding: 40rpx 20rpx;
  563. margin-bottom: 30rpx;
  564. }
  565. .title {
  566. font-size: 32rpx;
  567. font-weight: 600;
  568. color: #333333;
  569. text-align: left;
  570. margin: 20rpx 0;
  571. }
  572. .car-container {
  573. border-bottom: 2rpx solid #EEEEEE;
  574. }
  575. .car-type-item {
  576. font-size: 28rpx;
  577. margin: 20rpx 0;
  578. color: #878C9C;
  579. }
  580. .weightInfoCss {
  581. font-size: 28rpx;
  582. color: #333333;
  583. font-weight: 500;
  584. }
  585. .row {
  586. display: flex;
  587. justify-content: space-between;
  588. // .right,
  589. // input {
  590. // font-size: 28rpx;
  591. // // color: #333333;
  592. // }
  593. }
  594. .money {
  595. font-size: 32rpx;
  596. font-weight: 500;
  597. margin-bottom: 30rpx;
  598. }
  599. .moneyInfo {
  600. color: #22C572;
  601. font-size: 32rpx;
  602. }
  603. }
  604. .bottom-btn {
  605. width: 100%;
  606. position: fixed;
  607. bottom: 0;
  608. display: flex;
  609. z-index: 2;
  610. left: 0;
  611. background-color: #f8f8f8;
  612. flex-direction: column;
  613. .btn1,
  614. .btn2 {
  615. width: 100%;
  616. margin-bottom: 26rpx;
  617. border-radius: 90rpx;
  618. }
  619. .btn1 {
  620. background: white;
  621. color: #00C265;
  622. }
  623. }
  624. .topInfo {
  625. height: 210rpx;
  626. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  627. padding: 30rpx;
  628. .topInfo-item {
  629. height: 150rpx;
  630. background-color: #FFFFFF;
  631. border-radius: 20rpx;
  632. padding: 40rpx;
  633. .logo {
  634. width: 40rpx;
  635. height: 40rpx;
  636. margin-top: 8rpx;
  637. }
  638. .infoText {
  639. font-size: 36rpx;
  640. font-weight: 600;
  641. margin-left: 20rpx;
  642. }
  643. .infoData {
  644. color: #878C9C;
  645. font-size: 26rpx;
  646. margin-top: 10rpx;
  647. }
  648. }
  649. }
  650. .shade {
  651. position: fixed;
  652. top: 0;
  653. left: 0;
  654. height: 100%;
  655. width: 100%;
  656. background: rgba(0, 0, 0, 0.4);
  657. z-index: 11;
  658. .wrap {
  659. position: absolute;
  660. left: 0;
  661. top: 0;
  662. right: 0;
  663. bottom: 0;
  664. margin: auto;
  665. background: #fff;
  666. width: calc(100% - 198rpx);
  667. height: 700rpx;
  668. border-radius: 20rpx;
  669. .alert-top {
  670. padding: 33rpx;
  671. display: flex;
  672. justify-content: center;
  673. align-items: center;
  674. position: relative;
  675. }
  676. .title {
  677. font-size: 32rpx;
  678. font-weight: 600;
  679. color: #333333;
  680. }
  681. .close {
  682. position: absolute;
  683. right: 33rpx;
  684. }
  685. }
  686. }
  687. .cancel,
  688. .confirm {
  689. position: absolute;
  690. display: inline-block;
  691. width: 50%;
  692. text-align: center;
  693. bottom: 0;
  694. padding: 10px;
  695. border-top: 1px solid #eee;
  696. font-size: 34rpx;
  697. }
  698. .cancel {
  699. left: 0;
  700. border-right: 1px solid #eee;
  701. color: #AFB3BF;
  702. }
  703. .confirm {
  704. right: 0;
  705. color: #22C572;
  706. }
  707. .textarea {
  708. margin: 18rpx auto;
  709. width: 100%;
  710. background: #F9F9FA;
  711. border-radius: 10px;
  712. border: 1px solid #EEEEEE;
  713. font-size: 28rpx;
  714. padding: 10px;
  715. }
  716. .textCss {
  717. display: flex;
  718. justify-content: flex-end;
  719. width: 100%;
  720. text-align: right;
  721. color: #333333;
  722. }
  723. .u-textarea-style {
  724. margin: 20rpx;
  725. background: #F9F9FA;
  726. border-radius: 10px;
  727. border: 1px solid #EEEEEE;
  728. padding: 10rpx 20rpx;
  729. position: relative;
  730. height: 240px;
  731. /deep/.uni-textarea-textarea {
  732. width: 80%;
  733. }
  734. .right-bottom {
  735. position: absolute;
  736. right: 20rpx;
  737. bottom: 20rpx;
  738. color: #AFB3BF;
  739. }
  740. }
  741. /deep/.u-input__textarea {
  742. height: 300rpx !important;
  743. }
  744. .content2 {
  745. background: white;
  746. margin: 20rpx 0;
  747. border-radius: 20rpx;
  748. padding: 20rpx;
  749. .row {
  750. display: flex;
  751. .left {
  752. display: flex;
  753. align-items: center;
  754. .item1 {
  755. position: relative;
  756. .item-content {
  757. background: #617AE0;
  758. width: 44px;
  759. height: 44px;
  760. border-radius: 22px;
  761. line-height: 44px;
  762. text-align: center;
  763. font-size: 15px;
  764. color: #fff;
  765. }
  766. .status {
  767. position: absolute;
  768. border-radius: 50%;
  769. padding: 0px 2px;
  770. right: -3px;
  771. bottom: -3px;
  772. background: #fff;
  773. }
  774. .status.success {
  775. border: 1px solid rgb(60, 156, 255);
  776. }
  777. .status.error {
  778. border: 1px solid rgb(245, 108, 108);
  779. }
  780. .status.question {
  781. border: 1px solid #f9ae3d;
  782. }
  783. }
  784. }
  785. .right {
  786. width: 80%;
  787. // color: #B0B1B5;
  788. margin-top: 10px;
  789. .right-content {
  790. background: #F2F3F7;
  791. margin-left: 10px;
  792. margin-top: 10px;
  793. padding: 10px;
  794. border-radius: 5px;
  795. color: #B0B1B5;
  796. }
  797. .right-item {
  798. display: flex;
  799. justify-content: space-between;
  800. .time {
  801. color: #999;
  802. }
  803. .item2 {
  804. margin-left: 20rpx;
  805. margin-top: -7px;
  806. .name {
  807. font-size: 28rpx;
  808. font-weight: 800;
  809. margin-bottom: 4px;
  810. }
  811. .status.success {
  812. color: #6CC48C;
  813. }
  814. .status.error {
  815. color: rgb(245, 108, 108);
  816. }
  817. .status.question {
  818. color: #f9ae3d;
  819. }
  820. }
  821. }
  822. }
  823. }
  824. .row2 {
  825. display: flex;
  826. .item-content {
  827. background: #22C572;
  828. width: 30px;
  829. height: 30px;
  830. border-radius: 50%;
  831. line-height: 30px;
  832. text-align: center;
  833. font-size: 12px;
  834. color: #fff;
  835. padding: 0 2px;
  836. margin: 0 auto;
  837. }
  838. .status {
  839. position: absolute;
  840. top: 0;
  841. right: 0;
  842. }
  843. }
  844. .row-line {
  845. width: 1px;
  846. height: 30px;
  847. background: #F2F2F2;
  848. margin: 10rpx 50rpx;
  849. }
  850. .audit {
  851. margin-top: 20rpx;
  852. }
  853. }
  854. .form_top {
  855. border-bottom: 1px solid #F5F6FA;
  856. padding-bottom: 10px;
  857. margin-bottom: 18rpx;
  858. font-size: 30rpx;
  859. font-weight: 600;
  860. }
  861. .place{
  862. margin: auto;
  863. margin-right: 0px;
  864. text-align: right;
  865. }
  866. .form_view {
  867. margin: 20rpx 0;
  868. border-radius: 20rpx;
  869. background: #F9F9FA;
  870. padding: 30rpx 20rpx;
  871. margin-top: 30rpx;
  872. }
  873. .label_css {
  874. font-size: 26rpx;
  875. color: #878C9C;
  876. }
  877. .input_css {
  878. font-size: 20rpx;
  879. }
  880. /deep/.uni-textarea-wrapper {
  881. height: 200px;
  882. }
  883. // .fujian_title{
  884. // font-size: 34rpx;
  885. // margin-top: 20px;
  886. // font-weight: 600;
  887. // // margin-left: 10px;
  888. // }
  889. .headInfo {
  890. height: 100px;
  891. background-color: #FFFFFF;
  892. margin-bottom: 20rpx;
  893. border-radius: 10px;
  894. padding: 30rpx 10px;
  895. display: flex;
  896. .headInfo_left {
  897. width: 10%;
  898. line-height: 60px;
  899. text-align: center;
  900. }
  901. .headInfo_middle {
  902. width: 60%;
  903. padding-left: 10px;
  904. margin-top: 10px;
  905. }
  906. .headInfo_right {
  907. width: 30%;
  908. line-height: 60px;
  909. .char_a {
  910. color: #22C572;
  911. }
  912. .char_b {
  913. color: #FE6430;
  914. }
  915. .char_c {
  916. color: #FB2323;
  917. }
  918. .char_a,
  919. .char_b,
  920. .char_c {
  921. font-size: 16px;
  922. }
  923. }
  924. .adopt {
  925. position: absolute;
  926. right: 30px;
  927. top: 60px;
  928. .adopt_img {
  929. width: 90px;
  930. height: 90px;
  931. }
  932. }
  933. .headInfo_title {
  934. font-size: 19px;
  935. color: #333333;
  936. font-weight: 600;
  937. }
  938. .headInfo_No {
  939. color: #878C9C;
  940. font-size: 13px;
  941. margin-top: 6px;
  942. }
  943. }
  944. .img_item {
  945. display: flex;
  946. width: 100%;
  947. margin: 10px 0;
  948. padding: 0 10rpx;
  949. .imgsign {
  950. width: 25px;
  951. height: 25px;
  952. margin-top: 6px;
  953. }
  954. .char_css {
  955. font-size: 28rpx;
  956. font-weight: 600;
  957. display: -webkit-box;
  958. overflow: hidden;
  959. /*! autoprefixer: off; */
  960. -webkit-box-orient: vertical;
  961. -webkit-line-clamp: 1;
  962. -webkit-box-orient: vertical;
  963. text-overflow: ellipsis;
  964. word-break: break-all;
  965. }
  966. .img_size {
  967. color: #B0B3BF;
  968. font-size: 12px;
  969. margin-top: 5px;
  970. }
  971. .img_dowload {
  972. width: 14%;
  973. color: #22C572;
  974. text-align: right;
  975. }
  976. }
  977. //凭证
  978. .voucher{
  979. .voucher_tips{
  980. margin-top: 20rpx;
  981. color: #878C9C;
  982. }
  983. }
  984. .upload {
  985. margin: auto;
  986. margin-right: 0px;
  987. }
  988. </style>