freight_settlement_approval.vue 28 KB

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