freight_settlement_approval.vue 29 KB

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