freight_settlement_approval.vue 28 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252
  1. <template>
  2. <view class="container">
  3. <view class="topInfo">
  4. <view class="topInfo-item">
  5. <view class="flex info">
  6. <view class="logo">
  7. <image src="../../../static/img/reject.png" mode="" v-if="list[0].approveStatus == '已驳回'"
  8. style="height: 40rpx;"></image><!-- 驳回 -->
  9. <image src="../../../static/img/tongguo.png" mode="" v-if="list[0].approveStatus == '已通过'"
  10. style="height: 40rpx;"></image><!-- 通过 -->
  11. <image src="../../../static/img/daishenhe.png" mode=""
  12. v-if="list[0].approveStatus == '待决策人审核'|| list[0].approveStatus == '待财务审核'"
  13. style="height: 40rpx;"></image><!-- 待审核 -->
  14. </view>
  15. <view class="infoText">{{list[0].approveStatus?list[0].approveStatus:list[0].status}}</view>
  16. </view>
  17. <view class="infoData">{{list[0].updateDate}}</view>
  18. </view>
  19. </view>
  20. <view class="content">
  21. <view class="top">
  22. <view v-if='list[0].contractFlag=="1"'>合同编号</view>
  23. <view v-if='list[0].contractFlag=="0"'>移库编号</view>
  24. <view>{{list[0].contractNo}}</view>
  25. </view>
  26. <view class="person-info">
  27. <view v-if='list[0].contractFlag=="1"' class="top1" style="display: flex;">
  28. <view>客户</view>
  29. <view>{{list[0].customer}}</view>
  30. </view>
  31. <view class="top1">
  32. <view>发货地址</view>
  33. <view class="top_info">{{list[0].send ? list[0].send : "暂无发货地址"}}</view>
  34. </view>
  35. <view class="top1">
  36. <view>收货地址</view>
  37. <view class="top_info">{{list[0].receive ? list[0].receive : "暂无收货地址"}}</view>
  38. </view>
  39. </view>
  40. <view class="car-container">
  41. <view v-for="item in list" class="car-container-item">
  42. <view class="car-num title" v-if="item.tranTypeKey== '1'">{{item.carNo}} ({{item.tranCarNo}})</view>
  43. <view class="car-num title" v-if="item.tranTypeKey== '2'">车厢号{{item.boxNo}}</view>
  44. <view class="car-num title" v-if="item.tranTypeKey== '3'&&item.shipType== '散船'">仓位号{{item.boxNo}}
  45. </view>
  46. <view class="car-num title" v-if="item.tranTypeKey== '3'&&item.shipType== '集装箱'">箱号{{item.boxNo}}
  47. </view>
  48. <view class="car-type-item">
  49. <view class="left">装</view>
  50. <view class="textInfo">{{item.loadingWeight}}吨</view>
  51. </view>
  52. <view class="car-type-item">
  53. <view class="center">卸</view>
  54. <view class="textInfo">{{item.unloadingWeight}}吨</view>
  55. </view>
  56. <view class="car-type-item">
  57. <view class="right">结</view>
  58. <view class="textInfo">{{item.settlementWeight}}吨</view>
  59. </view>
  60. <view class="car-type-item">
  61. <view class="left">预</view>
  62. <view class="textInfo">{{item.transportPrice}}元/吨</view>
  63. </view>
  64. <view class="car-type-item">
  65. <view class="center">算</view>
  66. <view class="textInfo">{{item.settlementPrice}}元/吨</view>
  67. </view>
  68. <view class="car-type-item">
  69. <view v-if='item.deductionAmount>=0' class="right">扣</view>
  70. <view v-if='item.deductionAmount<0' class="right">加</view>
  71. <view v-if='item.deductionAmount<0' class="textInfo">{{-item.deductionAmount}}元</view>
  72. <view v-if='item.deductionAmount>=0' class="textInfo">{{item.deductionAmount}}元</view>
  73. </view>
  74. <view class="car-type-item">
  75. <view class="left">服</view>
  76. <view class="textInfo">{{item.serviceCharge}}元</view>
  77. </view>
  78. <view class="car-type-item">
  79. <view class="center">税</view>
  80. <view class="textInfo">{{item.taxPoint}}元</view>
  81. </view>
  82. <view class="car-type-item">
  83. <view class="right">实</view>
  84. <view class="textInfo">{{item.amountActuallyPaid}}元</view>
  85. </view>
  86. <view class="car-type-item">
  87. <view class="left">合</view>
  88. <view class="textInfo">{{item.totalPayable}}元</view>
  89. </view>
  90. </view>
  91. </view>
  92. </view>
  93. <u-form ref="uForm">
  94. <view class="form_top">流程</view>
  95. <view class="content2">
  96. <view v-for="(item,index) in auditList" :key='index' class="audit">
  97. <view class="row" v-if='item.desc!="_PLACEHOLDER_"'>
  98. <view class="row-left">
  99. <view class="item1">
  100. <view class="item-content">{{item.operatorTitle}}</view>
  101. <view v-if="item.status=='success'" class='status success'>
  102. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  103. </view>
  104. <view v-if="item.status=='error'" class='status error'>
  105. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  106. </view>
  107. <view v-if="item.status=='question'" class='status question'>
  108. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  109. </view>
  110. </view>
  111. </view>
  112. <view class="row-right">
  113. <view class="right-item">
  114. <view class="item2">
  115. <view class="name">{{item.desc}}
  116. </view>
  117. <!-- <view class='time'>{{item.updateDate}}</view> -->
  118. <view v-if="item.status=='success'" class="status success">
  119. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  120. v-if='!item.commonStaffs1&&index!=0'>已审核</text></view>
  121. <view v-if="item.status=='error'" class="status error">
  122. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  123. v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text>
  124. </view>
  125. <view v-if="item.status=='question'" class="status question">
  126. {{item.commonStaffs1?item.staffscontent:''}}<text
  127. v-if='!item.commonStaffs1'>未审核</text></view>
  128. <!-- <view class="status success">吕波(已审核)</view> -->
  129. </view>
  130. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0'
  131. class='time'>
  132. {{item.updateDate}}
  133. </view>
  134. </view>
  135. <view v-if='item.auditMind' class="right-content">
  136. {{item.auditMind}}
  137. </view>
  138. </view>
  139. <view v-if='item.commonStaffs1' class="right">
  140. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28">
  141. </u-icon>
  142. </view>
  143. </view>
  144. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  145. <view class='row2'>
  146. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  147. <view class="item-content">
  148. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  149. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  150. </view>
  151. <view class="name">{{item1.staffName}}</view>
  152. </view>
  153. </view>
  154. </view>
  155. <view class="row-line" v-if="index!= auditList.length - 1 &&item.desc!='_PLACEHOLDER_'"></view>
  156. </view>
  157. </view>
  158. </u-form>
  159. <view v-if='show' class="shade">
  160. <view class="wrap">
  161. <view class="alert-top">
  162. <view class="title">
  163. {{title}}
  164. </view>
  165. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  166. </view>
  167. <view class="u-textarea-style">
  168. <view class="right-bottom">
  169. {{auditMind.length}}/100个字
  170. </view>
  171. <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  172. maxlength="100" />
  173. </view>
  174. <view @click='close()' class="cancel">取消</view>
  175. <view @click='passSubmit()' class="confirm">确定</view>
  176. </view>
  177. </view>
  178. <u-toast ref="uToast" />
  179. <view style='padding:10px;' class='flex bottom-btn'>
  180. <u-button v-if='isSHowBtn' @click='reject' type="error" class="btn1" hover-class='none'>驳回</u-button>
  181. <u-button v-if='isSHowBtn' @click='pass' type="success" class="btn2">通过</u-button>
  182. </view>
  183. </view>
  184. </template>
  185. <script>
  186. import helper from '@/common/helper.js';
  187. export default {
  188. data() {
  189. return {
  190. isSHowBtn: true,
  191. currentPage: 1,
  192. pageSize: 10,
  193. list: {
  194. approveStatus: "",
  195. },
  196. title: '',
  197. show: false,
  198. height: 200,
  199. auditList:[],
  200. auditMind: '',
  201. autoHeight: true,
  202. border: false,
  203. everyCheck: '',
  204. customerName: "", //客户
  205. shippingAddress: "", //发货地址
  206. receivingAddress: "", //收货地址
  207. }
  208. },
  209. onBackPress(e) {
  210. if (this.everyCheck) {
  211. uni.navigateTo({
  212. url: "/pages/task/my_task"
  213. })
  214. return true;
  215. }
  216. },
  217. onLoad(options) {
  218. this.id = options.id
  219. this.everyCheck = uni.getStorageSync("everyTask")
  220. this.isSHowBtn = options.isShowbtn
  221. this.getList()
  222. },
  223. methods: {
  224. getList() {
  225. var that =this
  226. this.$api.doRequest('get', '/tranSettlementReport/getTranSettlementReport', {
  227. batchId: this.id
  228. }).then(res => {
  229. if (res.data.code == 200) {
  230. this.list = res.data.data
  231. // console.log(this.list, 124)
  232. // 查流程
  233. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  234. businessCode: 'TRANSPORTATION-SETTLEMENT-REPORT',
  235. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  236. }).then(res1 => {
  237. this.$api.doRequest('get', '/commonUser/getHis', {
  238. workflowId: res1.data.data[0].id,
  239. businessKey: this.id,
  240. branch:that.list[0].jointVentureParties?that.list[0].jointVentureParties:'zt'
  241. }).then(response => {
  242. uni.hideLoading()
  243. for (let i = 0; i < response.data.data.length; i++) {
  244. this.$set(response.data.data[i], 'status', 'question')
  245. console.log(response.data.data[i].workflowHistoricTasks, i)
  246. if (response.data.data[i].commonStaffs) {
  247. response.data.data[i].showflow = false
  248. response.data.data[i].operatorTitle = response.data.data[i]
  249. .desc.substring(0, 2)
  250. response.data.data[i].operatorName = response.data.data[i]
  251. .desc
  252. response.data.data[i].staffscontent = '共' + response.data
  253. .data[i].commonStaffs.length + '人,当前审核' + response.data
  254. .data[i].workflowHistoricTasks.length + '人'
  255. if (response.data.data[i].workflowHistoricTasks && response
  256. .data.data[i].workflowHistoricTasks.length > 0) {
  257. if (response.data.data[i].workflowHistoricTasks
  258. .length != response.data.data[i].commonStaffs
  259. .length) {
  260. // response.data.data[i].status='question'
  261. this.$set(response.data.data[i], 'status',
  262. 'question')
  263. } else {
  264. this.$set(response.data.data[i], 'status',
  265. 'success')
  266. // response.data.data[i].status='success'
  267. }
  268. response.data.data[i].workflowlen = response.data.data[
  269. i].workflowHistoricTasks.length
  270. var workflowdata = response.data.data[i]
  271. .workflowHistoricTasks
  272. var staffsdata = response.data.data[i].commonStaffs
  273. for (let q = 0; q < staffsdata.length; q++) {
  274. staffsdata[q].status = false
  275. staffsdata[q].staffTitle = staffsdata[q].staffName
  276. for (let k = 0; k < workflowdata.length; k++) {
  277. if (staffsdata[q].staffId == workflowdata[k]
  278. .operatorId) {
  279. staffsdata[q].status = true
  280. }
  281. }
  282. }
  283. }
  284. response.data.data[i].commonStaffs1 = response.data.data[i]
  285. .commonStaffs
  286. } else {
  287. if (response.data.data[i].workflowHistoricTasks && response
  288. .data.data[i].workflowHistoricTasks.length > 0) {
  289. var len = response.data.data[i].workflowHistoricTasks
  290. .length - 1
  291. if (response.data.data[i].workflowHistoricTasks[len]
  292. .approved) {
  293. this.$set(response.data.data[i], 'status',
  294. 'success')
  295. } else {
  296. this.$set(response.data.data[i], 'status', 'error')
  297. }
  298. response.data.data[i].operatorTitle = response.data
  299. .data[i].workflowHistoricTasks[len].operatorName
  300. .substring(response.data.data[i]
  301. .workflowHistoricTasks[0].operatorName.length -
  302. 2)
  303. response.data.data[i].operatorName = response.data
  304. .data[i].workflowHistoricTasks[len].operatorName
  305. var time = new Date(response.data.data[i]
  306. .workflowHistoricTasks[len].claimTime)
  307. .getTime()
  308. response.data.data[i].updateDate = this.$u.timeFormat(
  309. time, 'mm.dd hh:MM')
  310. response.data.data[i].auditMind = response.data.data[i]
  311. .workflowHistoricTasks[len].auditMind
  312. } else {
  313. this.$set(response.data.data[i], 'status', 'question')
  314. // response.data.data[i].status='question'
  315. if (response.data.data[i].desc == '总经理助理审核') {
  316. response.data.data[i].operatorTitle = '总助'
  317. } else if (response.data.data[i].desc == '杜大光审核') {
  318. response.data.data[i].operatorTitle = '大光'
  319. } else {
  320. response.data.data[i].operatorTitle = response.data
  321. .data[i].desc.substring(0, 2)
  322. }
  323. response.data.data[i].operatorName = response.data
  324. .data[i].desc
  325. var time1 = new Date(response.data.data[i].updateDate)
  326. .getTime()
  327. response.data.data[i].updateDate = this.$u.timeFormat(
  328. time1, 'mm.dd hh:MM')
  329. response.data.data[i].auditMind = ''
  330. }
  331. }
  332. }
  333. console.log(response.data.data)
  334. for(let i = 0 ;i<response.data.data.length;i++){
  335. if(response.data.data[i].status == "error"){
  336. this.auditCheck = "error"
  337. break;
  338. }else if(response.data.data[i].status == "question"){
  339. this.auditCheck = "question"
  340. break;
  341. }else{
  342. this.auditCheck = "success"
  343. }
  344. }
  345. this.auditList = response.data.data
  346. var time2 = new Date(this.list[0].createDate).getTime()
  347. var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
  348. this.auditList.unshift({
  349. operatorTitle: this.list[0].requester.substring(0, 2),
  350. operatorName: this.list[0].requester,
  351. updateDate: time3,
  352. auditMind: '',
  353. desc: '发起申请',
  354. showflow: false,
  355. commonStaffs1: null,
  356. commonStaffs: null,
  357. workflowHistoricTasks: [],
  358. status: 'success'
  359. })
  360. })
  361. })
  362. }
  363. })
  364. // this.$api.doRequest('get', '/tranSettlementReport/getInfo', {
  365. // id: this.id
  366. // }).then(res => {
  367. // this.contractNo = res.data.data.contractNo
  368. // this.carId = res.data.data.carId
  369. // this.customerName = res.data.data.customer
  370. // this.shippingAddress = res.data.data.send
  371. // this.receivingAddress = res.data.data.receive
  372. // if (res.data.code == 200) {
  373. // this.$api.doRequest('get', '/tranSettlementReport/getTranSettlementReport', {
  374. // compId: "2710b21efc1e4393930c5dc800010dc4",
  375. // currentPage: this.currentPage,
  376. // pageSize: this.pageSize,
  377. // contractNo: this.contractNo,
  378. // carId: this.carId,
  379. // }).then(res => {
  380. // if (res.data.code == 200) {
  381. // this.list = res.data.data.records[0]
  382. // console.log(this.list, 124)
  383. // }
  384. // })
  385. // }
  386. // })
  387. },
  388. close() {
  389. this.show = false
  390. },
  391. pass() {
  392. this.show = true
  393. this.title = '审核意见(通过)'
  394. },
  395. reject() {
  396. this.show = true
  397. this.title = '驳回原因(驳回)'
  398. },
  399. // 驳回
  400. rejectSubmit() {
  401. var that = this
  402. if (!this.auditMind) {
  403. this.$api.msg('驳回原因不能为空!')
  404. } else {
  405. this.show = false
  406. uni.showModal({
  407. content: "是否确定驳回?",
  408. showCancel: true,
  409. confirmText: '确定',
  410. success: function(res) {
  411. if (res.confirm) {
  412. that.audit(that.list[0], 0, false, true, that.auditMind)
  413. }
  414. }
  415. })
  416. }
  417. },
  418. //通过
  419. passSubmit() {
  420. var that = this
  421. if (this.title == '驳回原因(驳回)') {
  422. this.rejectSubmit()
  423. } else {
  424. this.show = false
  425. uni.showModal({
  426. content: "是否确定通过?",
  427. showCancel: true,
  428. confirmText: '确定',
  429. success: function(res) {
  430. if (res.confirm) {
  431. that.audit(that.list[0], 0, true, 2, that.auditMind)
  432. }
  433. }
  434. })
  435. }
  436. },
  437. //审核方法
  438. audit(list, index, status, status2, reason) {
  439. uni.showLoading({
  440. title: "审核中"
  441. })
  442. let that = this
  443. if (this.list) {
  444. this.$api.doRequest('post', '/newWorkflow/api/handle', {
  445. taskId: list.taskId,
  446. approved: status,
  447. auditMind: this.auditMind ,
  448. needReapply: status2 != undefined ? true : false,
  449. }).then(res => {
  450. if (status == true) {
  451. this.$api.msg('通过成功')
  452. } else if (status == false) {
  453. this.$api.msg('驳回成功')
  454. }
  455. setTimeout(function() {
  456. if (that.everyCheck) {
  457. helper.setAudit(that.list[0])
  458. } else {
  459. uni.navigateBack()
  460. }
  461. }, 1000);
  462. })
  463. }
  464. },
  465. }
  466. }
  467. </script>
  468. <style scoped lang="scss">
  469. .container {
  470. margin: 10rpx;
  471. padding: 20rpx 20rpx 230rpx 20rpx;
  472. }
  473. .u-form {
  474. margin-bottom: 20rpx;
  475. background: #fff;
  476. border-radius: 10px;
  477. padding: 30rpx 10px;
  478. .u-form-item {
  479. line-height: 30px;
  480. padding: 0px 0;
  481. font-size: 26rpx;
  482. color: #878C9C;
  483. }
  484. }
  485. .content {
  486. .top {
  487. display: flex;
  488. justify-content: space-between;
  489. border-radius: 20rpx;
  490. background: white;
  491. padding: 30rpx 20rpx;
  492. font-size: 36rpx;
  493. margin-top: 20rpx;
  494. }
  495. .top1 {
  496. // display: flex;
  497. justify-content: space-between;
  498. border-radius: 20rpx;
  499. background: white;
  500. padding: 10rpx 20rpx;
  501. font-size: 30rpx;
  502. margin-top: 20rpx;
  503. }
  504. .top_info {
  505. margin: 10rpx 0;
  506. }
  507. .title {
  508. font-size: 28rpx;
  509. font-weight: 600;
  510. color: #333333;
  511. text-align: left;
  512. margin-bottom: 30rpx;
  513. }
  514. .car-container {
  515. // border-bottom: 2rpx solid #EEEEEE;
  516. }
  517. .car-container-item {
  518. background: white;
  519. padding: 10rpx 20rpx;
  520. border-radius: 20rpx;
  521. margin: 20rpx 0;
  522. }
  523. .car-type-item {
  524. display: inline-flex;
  525. // justify-content: center;
  526. width: 33.33%;
  527. margin-bottom: 40rpx;
  528. }
  529. .title {
  530. font-size: 36rpx;
  531. }
  532. }
  533. .bottom-btn {
  534. width: 100%;
  535. position: fixed;
  536. bottom: 0;
  537. display: flex;
  538. z-index: 2;
  539. left: 0;
  540. background-color: #f8f8f8;
  541. flex-direction: column;
  542. .btn1,
  543. .btn2 {
  544. width: 100%;
  545. margin-bottom: 26rpx;
  546. border-radius: 90rpx;
  547. }
  548. .btn1 {
  549. background: white;
  550. color: #00C265;
  551. }
  552. }
  553. .submit {
  554. width: 40%;
  555. background: #22C572;
  556. border-radius: 10rpx;
  557. }
  558. .left {
  559. background: #FEECE6;
  560. color: #FE6430;
  561. }
  562. .center {
  563. background: #EBEEFA;
  564. color: #5C76DF;
  565. }
  566. .right {
  567. background: #E9F8F0;
  568. color: #22C572;
  569. }
  570. .left,
  571. .center,
  572. .right {
  573. width: 50rpx;
  574. height: 50rpx;
  575. text-align: center;
  576. line-height: 50rpx;
  577. border-radius: 10rpx;
  578. }
  579. .textInfo {
  580. margin: 6rpx 0 0 10rpx;
  581. }
  582. .topInfo {
  583. height: 210rpx;
  584. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  585. padding: 30rpx;
  586. .topInfo-item {
  587. height: 158rpx;
  588. background-color: #FFFFFF;
  589. border-radius: 20rpx;
  590. padding: 40rpx;
  591. .logo {
  592. width: 40rpx;
  593. height: 40rpx;
  594. margin-top: 8rpx;
  595. }
  596. .infoText {
  597. font-size: 36rpx;
  598. font-weight: 600;
  599. margin-left: 20rpx;
  600. }
  601. .infoData {
  602. color: #878C9C;
  603. font-size: 26rpx;
  604. margin-top: 10rpx;
  605. }
  606. }
  607. }
  608. .shade {
  609. position: fixed;
  610. top: 0;
  611. left: 0;
  612. height: 100%;
  613. width: 100%;
  614. background: rgba(0, 0, 0, 0.4);
  615. z-index: 3;
  616. .wrap {
  617. position: absolute;
  618. left: 0;
  619. top: 0;
  620. right: 0;
  621. bottom: 0;
  622. margin: auto;
  623. background: #fff;
  624. width: calc(100% - 198rpx);
  625. height: 700rpx;
  626. border-radius: 20rpx;
  627. .alert-top {
  628. padding: 33rpx;
  629. display: flex;
  630. justify-content: center;
  631. align-items: center;
  632. position: relative;
  633. }
  634. .title {
  635. font-size: 32rpx;
  636. font-weight: 600;
  637. color: #333333;
  638. }
  639. .close {
  640. position: absolute;
  641. right: 33rpx;
  642. }
  643. }
  644. }
  645. .cancel,
  646. .confirm {
  647. position: absolute;
  648. display: inline-block;
  649. width: 50%;
  650. text-align: center;
  651. bottom: 0;
  652. padding: 10px;
  653. border-top: 1px solid #eee;
  654. font-size: 34rpx;
  655. }
  656. .cancel {
  657. left: 0;
  658. border-right: 1px solid #eee;
  659. color: #AFB3BF;
  660. }
  661. .confirm {
  662. right: 0;
  663. color: #22C572;
  664. }
  665. .u-textarea-style {
  666. margin: 20rpx;
  667. background: #F9F9FA;
  668. border-radius: 10px;
  669. border: 1px solid #EEEEEE;
  670. padding: 10rpx 20rpx;
  671. position: relative;
  672. .right-bottom {
  673. position: absolute;
  674. right: 20rpx;
  675. bottom: 20rpx;
  676. color: #AFB3BF;
  677. }
  678. }
  679. /deep/.u-input__textarea {
  680. height: 300rpx !important;
  681. }
  682. .person-info {
  683. background: white;
  684. padding: 20rpx 0;
  685. border-radius: 20rpx;
  686. // margin-bottom: 50rpx;
  687. margin: 20rpx 0;
  688. .tit {
  689. font-size: 36rpx;
  690. }
  691. }
  692. .c-row {
  693. display: -webkit-box;
  694. display: -webkit-flex;
  695. display: flex;
  696. -webkit-box-align: center;
  697. -webkit-align-items: center;
  698. align-items: center;
  699. padding: 20rpx 30rpx;
  700. position: relative;
  701. }
  702. .c-row1 {
  703. // display: -webkit-box;
  704. // display: -webkit-flex;
  705. // display: flex;
  706. -webkit-box-align: center;
  707. -webkit-align-items: center;
  708. align-items: center;
  709. padding: 20rpx 30rpx;
  710. position: relative;
  711. }
  712. .container {
  713. padding: 20rpx 20rpx 250rpx 20rpx;
  714. }
  715. .u-form {
  716. margin-bottom: 20rpx;
  717. background: #fff;
  718. border-radius: 10px;
  719. padding: 30rpx 10px;
  720. .u-form-item {
  721. line-height: 30px;
  722. padding: 0px 0;
  723. font-size: 26rpx;
  724. color: #878C9C;
  725. }
  726. }
  727. .content {
  728. margin-top: 30rpx;
  729. .top {
  730. display: flex;
  731. justify-content: space-between;
  732. }
  733. .content-item {
  734. border-radius: 20rpx;
  735. background: white;
  736. padding: 40rpx 20rpx;
  737. margin-bottom: 30rpx;
  738. }
  739. .title {
  740. font-size: 32rpx;
  741. font-weight: 600;
  742. color: #333333;
  743. text-align: left;
  744. margin: 20rpx 0;
  745. }
  746. .car-container {
  747. border-bottom: 2rpx solid #EEEEEE;
  748. }
  749. .car-type-item {
  750. font-size: 28rpx;
  751. margin: 20rpx 0;
  752. color: #878C9C;
  753. }
  754. .weightInfoCss {
  755. font-size: 28rpx;
  756. color: #333333;
  757. font-weight: 500;
  758. }
  759. .row {
  760. display: flex;
  761. justify-content: space-between;
  762. // .right,
  763. // input {
  764. // font-size: 28rpx;
  765. // // color: #333333;
  766. // }
  767. }
  768. .money {
  769. font-size: 32rpx;
  770. font-weight: 500;
  771. margin-bottom: 30rpx;
  772. }
  773. .moneyInfo {
  774. color: #22C572;
  775. font-size: 32rpx;
  776. }
  777. }
  778. .bottom-btn {
  779. width: 100%;
  780. position: fixed;
  781. bottom: 0;
  782. display: flex;
  783. z-index: 2;
  784. left: 0;
  785. background-color: #f8f8f8;
  786. flex-direction: column;
  787. .btn1,
  788. .btn2 {
  789. width: 100%;
  790. margin-bottom: 26rpx;
  791. border-radius: 90rpx;
  792. }
  793. .btn1 {
  794. background: white;
  795. color: #00C265;
  796. }
  797. }
  798. .topInfo {
  799. height: 210rpx;
  800. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  801. padding: 30rpx;
  802. .topInfo-item {
  803. height: 150rpx;
  804. background-color: #FFFFFF;
  805. border-radius: 20rpx;
  806. padding: 40rpx;
  807. .logo {
  808. width: 40rpx;
  809. height: 40rpx;
  810. margin-top: 8rpx;
  811. }
  812. .infoText {
  813. font-size: 36rpx;
  814. font-weight: 600;
  815. margin-left: 20rpx;
  816. }
  817. .infoData {
  818. color: #878C9C;
  819. font-size: 26rpx;
  820. margin-top: 10rpx;
  821. }
  822. }
  823. }
  824. .shade {
  825. position: fixed;
  826. top: 0;
  827. left: 0;
  828. height: 100%;
  829. width: 100%;
  830. background: rgba(0, 0, 0, 0.4);
  831. z-index: 3;
  832. .wrap {
  833. position: absolute;
  834. left: 0;
  835. top: 0;
  836. right: 0;
  837. bottom: 0;
  838. margin: auto;
  839. background: #fff;
  840. width: calc(100% - 198rpx);
  841. height: 700rpx;
  842. border-radius: 20rpx;
  843. .alert-top {
  844. padding: 33rpx;
  845. display: flex;
  846. justify-content: center;
  847. align-items: center;
  848. position: relative;
  849. }
  850. .title {
  851. font-size: 32rpx;
  852. font-weight: 600;
  853. color: #333333;
  854. }
  855. .close {
  856. position: absolute;
  857. right: 33rpx;
  858. }
  859. }
  860. }
  861. .cancel,
  862. .confirm {
  863. position: absolute;
  864. display: inline-block;
  865. width: 50%;
  866. text-align: center;
  867. bottom: 0;
  868. padding: 10px;
  869. border-top: 1px solid #eee;
  870. font-size: 34rpx;
  871. }
  872. .cancel {
  873. left: 0;
  874. border-right: 1px solid #eee;
  875. color: #AFB3BF;
  876. }
  877. .confirm {
  878. right: 0;
  879. color: #22C572;
  880. }
  881. .textarea {
  882. margin: 18rpx auto;
  883. width: 100%;
  884. background: #F9F9FA;
  885. border-radius: 10px;
  886. border: 1px solid #EEEEEE;
  887. font-size: 28rpx;
  888. padding: 10px;
  889. }
  890. .textCss {
  891. display: flex;
  892. justify-content: flex-end;
  893. width: 100%;
  894. text-align: right;
  895. color: #333333;
  896. }
  897. .u-textarea-style {
  898. margin: 20rpx;
  899. background: #F9F9FA;
  900. border-radius: 10px;
  901. border: 1px solid #EEEEEE;
  902. padding: 10rpx 20rpx;
  903. position: relative;
  904. height:240px;
  905. /deep/.uni-textarea-textarea{
  906. width: 80%;
  907. }
  908. .right-bottom {
  909. position: absolute;
  910. right: 20rpx;
  911. bottom: 20rpx;
  912. color: #AFB3BF;
  913. }
  914. }
  915. /deep/.u-input__textarea {
  916. height: 300rpx !important;
  917. }
  918. .content2 {
  919. background: white;
  920. margin: 20rpx 0;
  921. border-radius: 20rpx;
  922. padding: 20rpx;
  923. .row {
  924. display: flex;
  925. .row-left {
  926. display: flex;
  927. align-items: center;
  928. .item1 {
  929. position: relative;
  930. .item-content {
  931. background: #617AE0;
  932. width: 44px;
  933. height: 44px;
  934. border-radius: 22px;
  935. line-height: 44px;
  936. text-align: center;
  937. font-size: 15px;
  938. color: #fff;
  939. }
  940. .status {
  941. position: absolute;
  942. border-radius: 50%;
  943. padding: 0px 2px;
  944. right: -3px;
  945. bottom: -3px;
  946. background: #fff;
  947. }
  948. .status.success {
  949. border: 1px solid rgb(60, 156, 255);
  950. }
  951. .status.error {
  952. border: 1px solid rgb(245, 108, 108);
  953. }
  954. .status.question {
  955. border: 1px solid #f9ae3d;
  956. }
  957. }
  958. }
  959. .row-right {
  960. width: 80%;
  961. // color: #B0B1B5;
  962. margin-top: 10px;
  963. .right-content {
  964. background: #F2F3F7;
  965. margin-left: 10px;
  966. margin-top: 10px;
  967. padding: 10px;
  968. border-radius: 5px;
  969. color: #B0B1B5;
  970. }
  971. .right-item {
  972. display: flex;
  973. justify-content: space-between;
  974. .time {
  975. color: #999;
  976. }
  977. .item2 {
  978. margin-left: 20rpx;
  979. margin-top: -7px;
  980. .name {
  981. font-size: 28rpx;
  982. font-weight: 800;
  983. margin-bottom: 4px;
  984. }
  985. .status.success {
  986. color: #6CC48C;
  987. }
  988. .status.error {
  989. color: rgb(245, 108, 108);
  990. }
  991. .status.question {
  992. color: #f9ae3d;
  993. }
  994. }
  995. }
  996. }
  997. }
  998. .row2 {
  999. display: flex;
  1000. .item-content {
  1001. background: #22C572;
  1002. width: 30px;
  1003. height: 30px;
  1004. border-radius: 50%;
  1005. line-height: 30px;
  1006. text-align: center;
  1007. font-size: 12px;
  1008. color: #fff;
  1009. padding: 0 2px;
  1010. margin: 0 auto;
  1011. }
  1012. .status {
  1013. position: absolute;
  1014. top: 0;
  1015. right: 0;
  1016. }
  1017. }
  1018. .row-line {
  1019. width: 1px;
  1020. height: 30px;
  1021. background: #F2F2F2;
  1022. margin: 10rpx 50rpx;
  1023. }
  1024. .audit {
  1025. margin-top: 20rpx;
  1026. }
  1027. }
  1028. .form_top {
  1029. border-bottom: 1px solid #C7CAD6;
  1030. padding-bottom: 10px;
  1031. font-size: 30rpx;
  1032. font-weight: 600;
  1033. }
  1034. .form_view{
  1035. margin: 20rpx 0;
  1036. border-radius: 20rpx;
  1037. background: #F9F9FA;
  1038. padding: 30rpx 20rpx;
  1039. }
  1040. .label_css{
  1041. font-size: 26rpx;
  1042. color: #878C9C;
  1043. }
  1044. .input_css{
  1045. font-size: 20rpx;
  1046. }
  1047. /deep/.uni-textarea-wrapper{
  1048. height:200px;
  1049. }
  1050. // .fujian_title{
  1051. // font-size: 34rpx;
  1052. // margin-top: 20px;
  1053. // font-weight: 600;
  1054. // // margin-left: 10px;
  1055. // }
  1056. .headInfo{
  1057. height: 100px;
  1058. background-color: #FFFFFF;
  1059. margin-bottom: 20rpx;
  1060. border-radius: 10px;
  1061. padding: 30rpx 10px;
  1062. display: flex;
  1063. .headInfo_left{
  1064. width: 10%;
  1065. line-height: 60px;
  1066. text-align: center;
  1067. }
  1068. .headInfo_middle{
  1069. width: 70%;
  1070. padding-left: 10px;
  1071. }
  1072. .headInfo_right{
  1073. width: 20%;
  1074. line-height: 60px;
  1075. .char_a{
  1076. color: #22C572;
  1077. }
  1078. .char_b{
  1079. color: #FE6430;
  1080. }
  1081. .char_c{
  1082. color: #FB2323;
  1083. }
  1084. .char_a,.char_b,.char_c{
  1085. font-size: 16px;
  1086. }
  1087. }
  1088. .adopt{
  1089. position: absolute;
  1090. right: 30px;
  1091. top: 60px;
  1092. .adopt_img{
  1093. width: 90px;
  1094. height: 90px;
  1095. }
  1096. }
  1097. .headInfo_title{
  1098. font-size: 19px;
  1099. color: #333333;
  1100. font-weight: 600;
  1101. }
  1102. .headInfo_No{
  1103. color: #878C9C;
  1104. font-size: 13px;
  1105. margin-top: 10px;
  1106. }
  1107. }
  1108. .img_item {
  1109. display: flex;
  1110. width: 100%;
  1111. margin: 10px 0;
  1112. padding: 0 10rpx;
  1113. .imgsign{
  1114. width: 25px;
  1115. height: 25px;
  1116. margin-top: 6px;
  1117. }
  1118. .char_css {
  1119. font-size: 28rpx;
  1120. font-weight: 600;
  1121. display: -webkit-box;
  1122. overflow: hidden;
  1123. /*! autoprefixer: off; */
  1124. -webkit-box-orient: vertical;
  1125. -webkit-line-clamp: 1;
  1126. -webkit-box-orient: vertical;
  1127. text-overflow: ellipsis;
  1128. word-break: break-all;
  1129. }
  1130. .img_size{
  1131. color: #B0B3BF;
  1132. font-size: 12px;
  1133. margin-top: 5px;
  1134. }
  1135. .img_dowload {
  1136. width: 14%;
  1137. color: #22C572;
  1138. text-align: right;
  1139. }
  1140. }
  1141. </style>