freight_settlement_approval.vue 28 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255
  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 flex">
  32. <view>发货地址</view>
  33. <view class="top_info">{{list[0].send ? list[0].send : "暂无发货地址"}}</view>
  34. </view>
  35. <view class="top1 flex">
  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}}/1000个字
  170. </view>
  171. <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  172. maxlength="1000" />
  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. align-items: center;
  499. border-radius: 20rpx;
  500. background: white;
  501. padding: 10rpx 20rpx;
  502. font-size: 30rpx;
  503. margin-top: 20rpx;
  504. }
  505. .top_info {
  506. margin: 10rpx 0;
  507. width:70%;
  508. text-align:right;
  509. }
  510. .title {
  511. font-size: 28rpx;
  512. font-weight: 600;
  513. color: #333333;
  514. text-align: left;
  515. margin-bottom: 30rpx;
  516. }
  517. .car-container {
  518. // border-bottom: 2rpx solid #EEEEEE;
  519. }
  520. .car-container-item {
  521. background: white;
  522. padding: 10rpx 20rpx;
  523. border-radius: 20rpx;
  524. margin: 20rpx 0;
  525. }
  526. .car-type-item {
  527. display: inline-flex;
  528. // justify-content: center;
  529. width: 33.33%;
  530. margin-bottom: 40rpx;
  531. }
  532. .title {
  533. font-size: 36rpx;
  534. }
  535. }
  536. .bottom-btn {
  537. width: 100%;
  538. position: fixed;
  539. bottom: 0;
  540. display: flex;
  541. z-index: 2;
  542. left: 0;
  543. background-color: #f8f8f8;
  544. flex-direction: column;
  545. .btn1,
  546. .btn2 {
  547. width: 100%;
  548. margin-bottom: 26rpx;
  549. border-radius: 90rpx;
  550. }
  551. .btn1 {
  552. background: white;
  553. color: #00C265;
  554. }
  555. }
  556. .submit {
  557. width: 40%;
  558. background: #22C572;
  559. border-radius: 10rpx;
  560. }
  561. .left {
  562. background: #FEECE6;
  563. color: #FE6430;
  564. }
  565. .center {
  566. background: #EBEEFA;
  567. color: #5C76DF;
  568. }
  569. .right {
  570. background: #E9F8F0;
  571. color: #22C572;
  572. }
  573. .left,
  574. .center,
  575. .right {
  576. width: 50rpx;
  577. height: 50rpx;
  578. text-align: center;
  579. line-height: 50rpx;
  580. border-radius: 10rpx;
  581. }
  582. .textInfo {
  583. margin: 6rpx 0 0 10rpx;
  584. }
  585. .topInfo {
  586. height: 210rpx;
  587. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  588. padding: 30rpx;
  589. .topInfo-item {
  590. height: 158rpx;
  591. background-color: #FFFFFF;
  592. border-radius: 20rpx;
  593. padding: 40rpx;
  594. .logo {
  595. width: 40rpx;
  596. height: 40rpx;
  597. margin-top: 8rpx;
  598. }
  599. .infoText {
  600. font-size: 36rpx;
  601. font-weight: 600;
  602. margin-left: 20rpx;
  603. }
  604. .infoData {
  605. color: #878C9C;
  606. font-size: 26rpx;
  607. margin-top: 10rpx;
  608. }
  609. }
  610. }
  611. .shade {
  612. position: fixed;
  613. top: 0;
  614. left: 0;
  615. height: 100%;
  616. width: 100%;
  617. background: rgba(0, 0, 0, 0.4);
  618. z-index: 3;
  619. .wrap {
  620. position: absolute;
  621. left: 0;
  622. top: 0;
  623. right: 0;
  624. bottom: 0;
  625. margin: auto;
  626. background: #fff;
  627. width: calc(100% - 198rpx);
  628. height: 700rpx;
  629. border-radius: 20rpx;
  630. .alert-top {
  631. padding: 33rpx;
  632. display: flex;
  633. justify-content: center;
  634. align-items: center;
  635. position: relative;
  636. }
  637. .title {
  638. font-size: 32rpx;
  639. font-weight: 600;
  640. color: #333333;
  641. }
  642. .close {
  643. position: absolute;
  644. right: 33rpx;
  645. }
  646. }
  647. }
  648. .cancel,
  649. .confirm {
  650. position: absolute;
  651. display: inline-block;
  652. width: 50%;
  653. text-align: center;
  654. bottom: 0;
  655. padding: 10px;
  656. border-top: 1px solid #eee;
  657. font-size: 34rpx;
  658. }
  659. .cancel {
  660. left: 0;
  661. border-right: 1px solid #eee;
  662. color: #AFB3BF;
  663. }
  664. .confirm {
  665. right: 0;
  666. color: #22C572;
  667. }
  668. .u-textarea-style {
  669. margin: 20rpx;
  670. background: #F9F9FA;
  671. border-radius: 10px;
  672. border: 1px solid #EEEEEE;
  673. padding: 10rpx 20rpx;
  674. position: relative;
  675. .right-bottom {
  676. position: absolute;
  677. right: 20rpx;
  678. bottom: 20rpx;
  679. color: #AFB3BF;
  680. }
  681. }
  682. /deep/.u-input__textarea {
  683. height: 300rpx !important;
  684. }
  685. .person-info {
  686. background: white;
  687. padding: 20rpx 0;
  688. border-radius: 20rpx;
  689. // margin-bottom: 50rpx;
  690. margin: 20rpx 0;
  691. .tit {
  692. font-size: 36rpx;
  693. }
  694. }
  695. .c-row {
  696. display: -webkit-box;
  697. display: -webkit-flex;
  698. display: flex;
  699. -webkit-box-align: center;
  700. -webkit-align-items: center;
  701. align-items: center;
  702. padding: 20rpx 30rpx;
  703. position: relative;
  704. }
  705. .c-row1 {
  706. // display: -webkit-box;
  707. // display: -webkit-flex;
  708. // display: flex;
  709. -webkit-box-align: center;
  710. -webkit-align-items: center;
  711. align-items: center;
  712. padding: 20rpx 30rpx;
  713. position: relative;
  714. }
  715. .container {
  716. padding: 20rpx 20rpx 250rpx 20rpx;
  717. }
  718. .u-form {
  719. margin-bottom: 20rpx;
  720. background: #fff;
  721. border-radius: 10px;
  722. padding: 30rpx 10px;
  723. .u-form-item {
  724. line-height: 30px;
  725. padding: 0px 0;
  726. font-size: 26rpx;
  727. color: #878C9C;
  728. }
  729. }
  730. .content {
  731. margin-top: 30rpx;
  732. .top {
  733. display: flex;
  734. justify-content: space-between;
  735. }
  736. .content-item {
  737. border-radius: 20rpx;
  738. background: white;
  739. padding: 40rpx 20rpx;
  740. margin-bottom: 30rpx;
  741. }
  742. .title {
  743. font-size: 32rpx;
  744. font-weight: 600;
  745. color: #333333;
  746. text-align: left;
  747. margin: 20rpx 0;
  748. }
  749. .car-container {
  750. border-bottom: 2rpx solid #EEEEEE;
  751. }
  752. .car-type-item {
  753. font-size: 28rpx;
  754. margin: 20rpx 0;
  755. color: #878C9C;
  756. }
  757. .weightInfoCss {
  758. font-size: 28rpx;
  759. color: #333333;
  760. font-weight: 500;
  761. }
  762. .row {
  763. display: flex;
  764. justify-content: space-between;
  765. // .right,
  766. // input {
  767. // font-size: 28rpx;
  768. // // color: #333333;
  769. // }
  770. }
  771. .money {
  772. font-size: 32rpx;
  773. font-weight: 500;
  774. margin-bottom: 30rpx;
  775. }
  776. .moneyInfo {
  777. color: #22C572;
  778. font-size: 32rpx;
  779. }
  780. }
  781. .bottom-btn {
  782. width: 100%;
  783. position: fixed;
  784. bottom: 0;
  785. display: flex;
  786. z-index: 2;
  787. left: 0;
  788. background-color: #f8f8f8;
  789. flex-direction: column;
  790. .btn1,
  791. .btn2 {
  792. width: 100%;
  793. margin-bottom: 26rpx;
  794. border-radius: 90rpx;
  795. }
  796. .btn1 {
  797. background: white;
  798. color: #00C265;
  799. }
  800. }
  801. .topInfo {
  802. height: 210rpx;
  803. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  804. padding: 30rpx;
  805. .topInfo-item {
  806. height: 150rpx;
  807. background-color: #FFFFFF;
  808. border-radius: 20rpx;
  809. padding: 40rpx;
  810. .logo {
  811. width: 40rpx;
  812. height: 40rpx;
  813. margin-top: 8rpx;
  814. }
  815. .infoText {
  816. font-size: 36rpx;
  817. font-weight: 600;
  818. margin-left: 20rpx;
  819. }
  820. .infoData {
  821. color: #878C9C;
  822. font-size: 26rpx;
  823. margin-top: 10rpx;
  824. }
  825. }
  826. }
  827. .shade {
  828. position: fixed;
  829. top: 0;
  830. left: 0;
  831. height: 100%;
  832. width: 100%;
  833. background: rgba(0, 0, 0, 0.4);
  834. z-index: 3;
  835. .wrap {
  836. position: absolute;
  837. left: 0;
  838. top: 0;
  839. right: 0;
  840. bottom: 0;
  841. margin: auto;
  842. background: #fff;
  843. width: calc(100% - 198rpx);
  844. height: 700rpx;
  845. border-radius: 20rpx;
  846. .alert-top {
  847. padding: 33rpx;
  848. display: flex;
  849. justify-content: center;
  850. align-items: center;
  851. position: relative;
  852. }
  853. .title {
  854. font-size: 32rpx;
  855. font-weight: 600;
  856. color: #333333;
  857. }
  858. .close {
  859. position: absolute;
  860. right: 33rpx;
  861. }
  862. }
  863. }
  864. .cancel,
  865. .confirm {
  866. position: absolute;
  867. display: inline-block;
  868. width: 50%;
  869. text-align: center;
  870. bottom: 0;
  871. padding: 10px;
  872. border-top: 1px solid #eee;
  873. font-size: 34rpx;
  874. }
  875. .cancel {
  876. left: 0;
  877. border-right: 1px solid #eee;
  878. color: #AFB3BF;
  879. }
  880. .confirm {
  881. right: 0;
  882. color: #22C572;
  883. }
  884. .textarea {
  885. margin: 18rpx auto;
  886. width: 100%;
  887. background: #F9F9FA;
  888. border-radius: 10px;
  889. border: 1px solid #EEEEEE;
  890. font-size: 28rpx;
  891. padding: 10px;
  892. }
  893. .textCss {
  894. display: flex;
  895. justify-content: flex-end;
  896. width: 100%;
  897. text-align: right;
  898. color: #333333;
  899. }
  900. .u-textarea-style {
  901. margin: 20rpx;
  902. background: #F9F9FA;
  903. border-radius: 10px;
  904. border: 1px solid #EEEEEE;
  905. padding: 10rpx 20rpx;
  906. position: relative;
  907. height:240px;
  908. /deep/.uni-textarea-textarea{
  909. width: 80%;
  910. }
  911. .right-bottom {
  912. position: absolute;
  913. right: 20rpx;
  914. bottom: 20rpx;
  915. color: #AFB3BF;
  916. }
  917. }
  918. /deep/.u-input__textarea {
  919. height: 300rpx !important;
  920. }
  921. .content2 {
  922. background: white;
  923. margin: 20rpx 0;
  924. border-radius: 20rpx;
  925. padding: 20rpx;
  926. .row {
  927. display: flex;
  928. .row-left {
  929. display: flex;
  930. align-items: center;
  931. .item1 {
  932. position: relative;
  933. .item-content {
  934. background: #617AE0;
  935. width: 44px;
  936. height: 44px;
  937. border-radius: 22px;
  938. line-height: 44px;
  939. text-align: center;
  940. font-size: 15px;
  941. color: #fff;
  942. }
  943. .status {
  944. position: absolute;
  945. border-radius: 50%;
  946. padding: 0px 2px;
  947. right: -3px;
  948. bottom: -3px;
  949. background: #fff;
  950. }
  951. .status.success {
  952. border: 1px solid rgb(60, 156, 255);
  953. }
  954. .status.error {
  955. border: 1px solid rgb(245, 108, 108);
  956. }
  957. .status.question {
  958. border: 1px solid #f9ae3d;
  959. }
  960. }
  961. }
  962. .row-right {
  963. width: 80%;
  964. // color: #B0B1B5;
  965. margin-top: 10px;
  966. .right-content {
  967. background: #F2F3F7;
  968. margin-left: 10px;
  969. margin-top: 10px;
  970. padding: 10px;
  971. border-radius: 5px;
  972. color: #B0B1B5;
  973. }
  974. .right-item {
  975. display: flex;
  976. justify-content: space-between;
  977. .time {
  978. color: #999;
  979. }
  980. .item2 {
  981. margin-left: 20rpx;
  982. margin-top: -7px;
  983. .name {
  984. font-size: 28rpx;
  985. font-weight: 800;
  986. margin-bottom: 4px;
  987. }
  988. .status.success {
  989. color: #6CC48C;
  990. }
  991. .status.error {
  992. color: rgb(245, 108, 108);
  993. }
  994. .status.question {
  995. color: #f9ae3d;
  996. }
  997. }
  998. }
  999. }
  1000. }
  1001. .row2 {
  1002. display: flex;
  1003. .item-content {
  1004. background: #22C572;
  1005. width: 30px;
  1006. height: 30px;
  1007. border-radius: 50%;
  1008. line-height: 30px;
  1009. text-align: center;
  1010. font-size: 12px;
  1011. color: #fff;
  1012. padding: 0 2px;
  1013. margin: 0 auto;
  1014. }
  1015. .status {
  1016. position: absolute;
  1017. top: 0;
  1018. right: 0;
  1019. }
  1020. }
  1021. .row-line {
  1022. width: 1px;
  1023. height: 30px;
  1024. background: #F2F2F2;
  1025. margin: 10rpx 50rpx;
  1026. }
  1027. .audit {
  1028. margin-top: 20rpx;
  1029. }
  1030. }
  1031. .form_top {
  1032. border-bottom: 1px solid #C7CAD6;
  1033. padding-bottom: 10px;
  1034. font-size: 30rpx;
  1035. font-weight: 600;
  1036. }
  1037. .form_view{
  1038. margin: 20rpx 0;
  1039. border-radius: 20rpx;
  1040. background: #F9F9FA;
  1041. padding: 30rpx 20rpx;
  1042. }
  1043. .label_css{
  1044. font-size: 26rpx;
  1045. color: #878C9C;
  1046. }
  1047. .input_css{
  1048. font-size: 20rpx;
  1049. }
  1050. /deep/.uni-textarea-wrapper{
  1051. height:200px;
  1052. }
  1053. // .fujian_title{
  1054. // font-size: 34rpx;
  1055. // margin-top: 20px;
  1056. // font-weight: 600;
  1057. // // margin-left: 10px;
  1058. // }
  1059. .headInfo{
  1060. height: 100px;
  1061. background-color: #FFFFFF;
  1062. margin-bottom: 20rpx;
  1063. border-radius: 10px;
  1064. padding: 30rpx 10px;
  1065. display: flex;
  1066. .headInfo_left{
  1067. width: 10%;
  1068. line-height: 60px;
  1069. text-align: center;
  1070. }
  1071. .headInfo_middle{
  1072. width: 70%;
  1073. padding-left: 10px;
  1074. }
  1075. .headInfo_right{
  1076. width: 20%;
  1077. line-height: 60px;
  1078. .char_a{
  1079. color: #22C572;
  1080. }
  1081. .char_b{
  1082. color: #FE6430;
  1083. }
  1084. .char_c{
  1085. color: #FB2323;
  1086. }
  1087. .char_a,.char_b,.char_c{
  1088. font-size: 16px;
  1089. }
  1090. }
  1091. .adopt{
  1092. position: absolute;
  1093. right: 30px;
  1094. top: 60px;
  1095. .adopt_img{
  1096. width: 90px;
  1097. height: 90px;
  1098. }
  1099. }
  1100. .headInfo_title{
  1101. font-size: 19px;
  1102. color: #333333;
  1103. font-weight: 600;
  1104. }
  1105. .headInfo_No{
  1106. color: #878C9C;
  1107. font-size: 13px;
  1108. margin-top: 10px;
  1109. }
  1110. }
  1111. .img_item {
  1112. display: flex;
  1113. width: 100%;
  1114. margin: 10px 0;
  1115. padding: 0 10rpx;
  1116. .imgsign{
  1117. width: 25px;
  1118. height: 25px;
  1119. margin-top: 6px;
  1120. }
  1121. .char_css {
  1122. font-size: 28rpx;
  1123. font-weight: 600;
  1124. display: -webkit-box;
  1125. overflow: hidden;
  1126. /*! autoprefixer: off; */
  1127. -webkit-box-orient: vertical;
  1128. -webkit-line-clamp: 1;
  1129. -webkit-box-orient: vertical;
  1130. text-overflow: ellipsis;
  1131. word-break: break-all;
  1132. }
  1133. .img_size{
  1134. color: #B0B3BF;
  1135. font-size: 12px;
  1136. margin-top: 5px;
  1137. }
  1138. .img_dowload {
  1139. width: 14%;
  1140. color: #22C572;
  1141. text-align: right;
  1142. }
  1143. }
  1144. </style>