freight_settlement_approvalcopy.vue 29 KB

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