purchasecontract.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852
  1. <template>
  2. <view class="container">
  3. <u-form ref="uForm">
  4. <u-form-item label-width='260' label="合同编号">
  5. <u-input v-model="list.contractNo" input-align="right" placeholder="" disabled />
  6. </u-form-item>
  7. <u-form-item label-width='260' label="交易主体">
  8. <u-input v-model="list.transactionSubject" input-align="right" placeholder="" disabled />
  9. </u-form-item>
  10. <u-form-item label-width='260' label="买方">
  11. <u-input v-model="list.buyer" input-align="right" placeholder="" disabled />
  12. </u-form-item>
  13. <u-form-item label-width='260' label="买方电话">
  14. <u-input v-model="list.buyerPhone" input-align="right" placeholder="" disabled />
  15. </u-form-item>
  16. <u-form-item label-width='260' label="卖方">
  17. <u-input v-model="list.seller" input-align="right" placeholder="" disabled />
  18. </u-form-item>
  19. <u-form-item label-width='260' label="卖方电话">
  20. <u-input v-model="list.sellerPhone" input-align="right" placeholder="" disabled />
  21. </u-form-item>
  22. <u-form-item label-width='260' label="结算方式">
  23. <u-input v-model="list.settlementMethod" input-align="right" placeholder="" disabled />
  24. </u-form-item>
  25. <u-form-item label-width='260' label="交货方式">
  26. <u-input v-model="list.deliverType1" input-align="right" placeholder="" disabled />
  27. </u-form-item>
  28. <u-form-item label-width='260' label="运输方式">
  29. <u-input v-model="list.shippingType" input-align="right" placeholder="" disabled />
  30. </u-form-item>
  31. <u-form-item label-width='260' label="包装方式">
  32. <u-input v-model="list.packingMethod" input-align="right" placeholder="" disabled />
  33. </u-form-item>
  34. <u-form-item label-width='260' label="验收方式">
  35. <u-input v-model="list.acceptanceMethod" input-align="right" placeholder="" disabled />
  36. </u-form-item>
  37. <u-form-item label-width='260' label="重量(吨)">
  38. <u-input v-model="list.weight" input-align="right" placeholder="" disabled />
  39. </u-form-item>
  40. <u-form-item label-width='260' label="交货日期(起)">
  41. <u-input v-model="list.deliveryDateStart" input-align="right" placeholder="" disabled />
  42. </u-form-item>
  43. <u-form-item label-width='260' label="溢短装(%)">
  44. <u-input v-model="list.overShort" input-align="right" placeholder="" disabled />
  45. </u-form-item>
  46. <u-form-item label-width='260' label="交货日期(止)">
  47. <u-input v-model="list.deliveryDateEnd" input-align="right" placeholder="" disabled />
  48. </u-form-item>
  49. <u-form-item label-width='260' label="合同单价(元/吨)">
  50. <u-input v-model="list.unitContractPrice" input-align="right" placeholder="" disabled />
  51. </u-form-item>
  52. <u-form-item label-width='260' label="合同总价(元)">
  53. <u-input v-model="list.totalContractPrice" input-align="right" placeholder="" disabled />
  54. </u-form-item>
  55. <u-form-item label-width='260' label="货源所在地区">
  56. <view class="textCss">
  57. {{list.sourceProvince}}{{list.sourceCity}}{{list.sourceArea}}
  58. </view>
  59. </u-form-item>
  60. <u-form-item label-width='260' label="货源详细地址">
  61. <u-input v-model="list.sourceGoods" input-align="right" placeholder="" disabled />
  62. </u-form-item>
  63. <u-form-item label-width='260' label="交货地所在地区">
  64. <view class="textCss">
  65. {{list.deliveryProvince}}{{list.deliveryCity}}{{list.deliveryArea}}
  66. </view>
  67. </u-form-item>
  68. <u-form-item label-width='260' label="交货地详细地址">
  69. <u-input v-model="list.placeDelivery" input-align="right" placeholder="" disabled />
  70. </u-form-item>
  71. <u-form-item label-width='260' label="签订日期">
  72. <u-input v-model="list.signingDate" input-align="right" placeholder="" disabled />
  73. </u-form-item>
  74. <u-form-item label-width='300' label="最终实际交易量(吨)">
  75. <u-input v-model="list.finalTradingVolume" input-align="right" placeholder="" disabled />
  76. </u-form-item>
  77. <u-form-item v-if='list.deliverType == 1' label-width='260' label="临时仓库负责人">
  78. <u-input v-model="list.personCharge" input-align="right" placeholder="" disabled />
  79. </u-form-item>
  80. <u-form-item label-width='300' label="结算单价(元/吨)">
  81. <u-input v-model="list.settlementPrice" input-align="right" placeholder="" disabled />
  82. </u-form-item>
  83. <u-form-item label-width='260' label="货名">
  84. <u-input v-model="list.contractGoodsInfo.goodsName" input-align="right" placeholder="" disabled />
  85. </u-form-item>
  86. <u-form-item label-width='260' label="水分(%)<=">
  87. <u-input v-model="list.contractGoodsInfo.waterContent" input-align="right" placeholder="" disabled />
  88. </u-form-item>
  89. <u-form-item label-width='260' label="品级">
  90. <u-input v-model="list.contractGoodsInfo.grade" input-align="right" placeholder="" disabled />
  91. </u-form-item>
  92. <u-form-item label-width='260' label="杂质(%)<=">
  93. <u-input v-model="list.contractGoodsInfo.impurity" input-align="right" placeholder="" disabled />
  94. </u-form-item>
  95. <u-form-item label-width='260' label="容重(克/升)>=">
  96. <u-input v-model="list.contractGoodsInfo.bulkDensity" input-align="right" placeholder="" disabled />
  97. </u-form-item>
  98. <u-form-item label-width='260' label="霉变粒(%)<=">
  99. <u-input v-model="list.contractGoodsInfo.mildewGrain" input-align="right" placeholder="" disabled />
  100. </u-form-item>
  101. <u-form-item label-width='260' label="热损伤(%)<=">
  102. <u-input v-model="list.contractGoodsInfo.jiaorenli" input-align="right" placeholder="" disabled />
  103. </u-form-item>
  104. <u-form-item label-width='260' label="不完善粒(%)<=">
  105. <u-input v-model="list.contractGoodsInfo.imperfectGrain" input-align="right" placeholder="" disabled />
  106. </u-form-item>
  107. <u-form-item label-width='260' label="合同收入(元)">
  108. <u-input v-model="list.contractProcessInfo.goodsNameKey" input-align="right" placeholder="" disabled />
  109. </u-form-item>
  110. <u-form-item label-width='260' label="已开发票(元)">
  111. <u-input v-model="list.contractProcessInfo.goodsName" input-align="right" placeholder="" disabled />
  112. </u-form-item>
  113. <u-form-item label-width='260' label="费用支出(元)">
  114. <u-input v-model="list.contractProcessInfo.waterContent" input-align="right" placeholder="" disabled />
  115. </u-form-item>
  116. <u-form-item label-width='260' label="未开发票(元)">
  117. <u-input v-model="list.contractProcessInfo.impurity" input-align="right" placeholder="" disabled />
  118. </u-form-item>
  119. <u-form-item label-width='260' label="未回款(元)">
  120. <u-input v-model="list.contractProcessInfo.mildewGrain" input-align="right" placeholder="" disabled />
  121. </u-form-item>
  122. <u-form-item label-width='260' label="双章原件回收情况">
  123. <u-input v-model="list.contractProcessInfo.grade" input-align="right" placeholder="" disabled />
  124. </u-form-item>
  125. <u-form-item label-width='260' label="备注信息">
  126. </u-form-item>
  127. <u-form-item>
  128. <textarea class='textarea' v-model="list.remarks" input-align="right" placeholder="" disabled />
  129. </u-form-item>
  130. <u-form-item label-width='260' label="附件">
  131. <!-- <view class="textCss">
  132. <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="1"
  133. :file-list="imglist" :size-type="['compressed']" @on-success="getImgUrl" @on-error="onError"
  134. @on-remove="onRemove" @on-uploaded="isAdd = true" :before-upload="filterFileType"
  135. @on-progress="onProgress" :deletable="false" :showProgress = "false"></upload>
  136. </view> -->
  137. <view v-for='item in imglist'>
  138. <view @click='shadeshow(item)'>
  139. <image style='width: 200rpx;height: 200rpx;' :src="item" mode=""></image>
  140. </view>
  141. </view>
  142. </u-form-item>
  143. <view class="content2">
  144. <view class="title row">
  145. 流程
  146. </view>
  147. <view v-for="(item,index) in auditList" :key='index' class="audit">
  148. <view class="row">
  149. <view class="left">
  150. <view class="item1">
  151. <view class="item-content">{{item.operatorTitle}}</view>
  152. <view v-if="item.status=='success'" class='status success'>
  153. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  154. </view>
  155. <view v-if="item.status=='error'" class='status error'>
  156. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  157. </view>
  158. <view v-if="item.status=='question'" class='status question'>
  159. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  160. </view>
  161. </view>
  162. </view>
  163. <view class="right">
  164. <view class="right-item">
  165. <view class="item2">
  166. <view class="name">{{item.desc}}
  167. </view>
  168. <!-- <view class='time'>{{item.updateDate}}</view> -->
  169. <view v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1&&index!=0'>已审核</text></view>
  170. <view v-if="item.status=='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text></view>
  171. <view v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
  172. <!-- <view class="status success">吕波(已审核)</view> -->
  173. </view>
  174. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0' class='time'>
  175. {{item.updateDate}}
  176. </view>
  177. </view>
  178. <view v-if='item.auditMind' class="right-content">
  179. {{item.auditMind}}
  180. </view>
  181. </view>
  182. <view v-if='item.commonStaffs1' class="right">
  183. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28"></u-icon>
  184. </view>
  185. </view>
  186. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  187. <view class='row2'>
  188. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  189. <view class="item-content">
  190. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  191. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  192. </view>
  193. <view class="name">{{item1.staffName}}</view>
  194. </view>
  195. </view>
  196. </view>
  197. <view class="row-line" v-if="index!= auditList.length - 1"></view>
  198. </view>
  199. </view>
  200. </u-form>
  201. <view v-if='list.taskId' style='padding:10px;' class='flex bottom-btn'>
  202. <u-button v-if='list.approveStatus||isSHowBtn' @click='reject' type="error" class="btn1" hover-class='none'>
  203. 驳回
  204. </u-button>
  205. <u-button v-if='list.approveStatus||isSHowBtn' @click='pass' type="success" class="btn2">通过</u-button>
  206. </view>
  207. <view v-if='show' class="shade">
  208. <view class="wrap">
  209. <view class="alert-top">
  210. <view class="title">
  211. {{title}}
  212. </view>
  213. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  214. </view>
  215. <view class="u-textarea-style">
  216. <view class="right-bottom">
  217. {{auditMind.length}}/100个字
  218. </view>
  219. <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  220. maxlength="100" />
  221. </view>
  222. <view @click='close()' class="cancel">取消</view>
  223. <view @click='passSubmit()' class="confirm">确定</view>
  224. </view>
  225. </view>
  226. <view @click='imgShow=false' v-if="imgShow" class="shade">
  227. <image style='position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;' :src="url" mode=""></image>
  228. </view>
  229. </view>
  230. </template>
  231. <script>
  232. import upload from '@/components/upload.vue';
  233. import helper from '@/common/helper.js';
  234. export default {
  235. components: {
  236. upload
  237. },
  238. data() {
  239. return {
  240. isSHowBtn: true,
  241. id: "",
  242. currentPage: 1,
  243. pageSize: 10,
  244. list: {
  245. status: "",
  246. contractGoodsInfo: {},
  247. contractProcessInfo: {}
  248. },
  249. imglist: [],
  250. auditList:[],
  251. auditMind: '',
  252. show: false,
  253. title: '',
  254. contractNo: "",
  255. action: this.$uploadUrl,
  256. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  257. isAdd: true,
  258. imgShow: false,
  259. url: "",
  260. everyCheck: ''
  261. }
  262. },
  263. onBackPress(e) {
  264. if(this.everyCheck){
  265. uni.navigateTo({
  266. url: "/pages/task/my_task"
  267. })
  268. return true;
  269. }
  270. },
  271. onLoad(options) {
  272. this.id = options.id
  273. this.getList()
  274. this.everyCheck = uni.getStorageSync("everyTask")
  275. this.isSHowBtn = options.isShowbtn
  276. },
  277. methods: {
  278. shadeshow(url) {
  279. this.imgShow = true
  280. this.url = url
  281. },
  282. showcontent(item){
  283. item.showflow=!item.showflow
  284. },
  285. getList(id) {
  286. uni.showLoading({
  287. title:'加载中',
  288. mask:true
  289. })
  290. var that = this
  291. this.$api.doRequest('get', '/contractManagementInfo/getInfo', {
  292. id: this.id
  293. }).then(res => {
  294. if (res.data.code == 200) {
  295. this.list = res.data.data
  296. if (this.list.deliverType == 1) {
  297. this.list.deliverType1 = '我方自提'
  298. } else if (this.list.deliverType == 2) {
  299. this.list.deliverType1 = '对方送货'
  300. }else if (this.list.deliverType == 3) {
  301. this.list.deliverType1 = '对方送货(临时库)'
  302. }
  303. this.$api.doRequest('get', '/appendix/query/getFileList', {
  304. appendixIds: that.list.addressUrl
  305. }).then(res1 => {
  306. for (var i = 0; i < res1.data.data.length; i++) {
  307. that.imglist.push(res1.data.data[i].appendixPath)
  308. }
  309. })
  310. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  311. businessCode: 'BUY-CONTRACT-APPROVE',
  312. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  313. }).then(res1 => {
  314. this.$api.doRequest('get', '/commonUser/getHis', {
  315. workflowId: res1.data.data[0].id,
  316. businessKey: this.id
  317. }).then(response => {
  318. uni.hideLoading()
  319. for (let i = 0; i < response.data.data.length; i++) {
  320. this.$set(response.data.data[i],'status','question')
  321. // console.log(response.data.data[i].workflowHistoricTasks,i)
  322. if(response.data.data[i].commonStaffs){
  323. response.data.data[i].showflow=false
  324. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  325. response.data.data[i].operatorName=response.data.data[i].desc
  326. response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
  327. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  328. if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
  329. // response.data.data[i].status='question'
  330. this.$set(response.data.data[i],'status','question')
  331. }else{
  332. this.$set(response.data.data[i],'status','success')
  333. // response.data.data[i].status='success'
  334. }
  335. response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
  336. var workflowdata=response.data.data[i].workflowHistoricTasks
  337. var staffsdata=response.data.data[i].commonStaffs
  338. for (let q = 0; q < staffsdata.length; q++) {
  339. staffsdata[q].status=false
  340. staffsdata[q].staffTitle=staffsdata[q].staffName
  341. for (let k = 0; k < workflowdata.length; k++) {
  342. if(staffsdata[q].staffId==workflowdata[k].operatorId){
  343. staffsdata[q].status=true
  344. }
  345. }
  346. }
  347. }
  348. response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
  349. }else{
  350. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  351. var len =response.data.data[i].workflowHistoricTasks.length-1
  352. if(response.data.data[i].workflowHistoricTasks[len].approved){
  353. this.$set(response.data.data[i],'status','success')
  354. }else{
  355. this.$set(response.data.data[i],'status','error')
  356. }
  357. response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[len].operatorName.substring(response.data.data[i].workflowHistoricTasks[0].operatorName.length - 2)
  358. response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[len].operatorName
  359. var time=new Date(response.data.data[i].workflowHistoricTasks[len].claimTime).getTime()
  360. response.data.data[i].updateDate=this.$u.timeFormat(time, 'mm.dd hh:MM')
  361. response.data.data[i].auditMind=response.data.data[i].workflowHistoricTasks[len].auditMind
  362. }else{
  363. this.$set(response.data.data[i],'status','question')
  364. // response.data.data[i].status='question'
  365. if(response.data.data[i].desc=='总经理助理审核'){
  366. response.data.data[i].operatorTitle='总助'
  367. }else if(response.data.data[i].desc=='杜大光审核'){
  368. response.data.data[i].operatorTitle='大光'
  369. }else{
  370. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  371. }
  372. response.data.data[i].operatorName=response.data.data[i].desc
  373. var time1=new Date(response.data.data[i].updateDate).getTime()
  374. response.data.data[i].updateDate=this.$u.timeFormat(time1, 'mm.dd hh:MM')
  375. response.data.data[i].auditMind=''
  376. }
  377. }
  378. }
  379. console.log(response.data.data)
  380. this.auditList = response.data.data
  381. var time2=new Date(this.auditList[0].createDate).getTime()
  382. var time3=this.$u.timeFormat(time2, 'mm.dd hh:MM')
  383. this.auditList.unshift({
  384. operatorTitle:this.list.creater.substring(0,2),
  385. operatorName:this.list.creater,
  386. updateDate:time3,
  387. auditMind:'',
  388. desc:'发起申请',
  389. showflow:false,
  390. commonStaffs1:null,
  391. commonStaffs:null,
  392. workflowHistoricTasks:[],
  393. status:'success'
  394. })
  395. })
  396. })
  397. }
  398. })
  399. },
  400. filterFileType(index, lists) {
  401. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  402. lists.splice(index, 1);
  403. // 当前文件不支持
  404. uni.showModal({
  405. title: '暂不支持当前图片类型',
  406. showCancel: false
  407. });
  408. } else {
  409. this.isAdd = false;
  410. }
  411. },
  412. //驳回
  413. rejectSubmit() {
  414. uni.showLoading({
  415. title: '加载中',
  416. mask: true
  417. });
  418. var that = this
  419. that.$api.doRequest('post', '/workflow/api/handle', {
  420. taskId: that.list.taskId,
  421. approved: false,
  422. auditMind: this.auditMind,
  423. needReapply: true,
  424. }).then(res => {
  425. that.$api.msg('驳回成功')
  426. that.show = false
  427. setTimeout(function() {
  428. if (that.everyCheck) {
  429. helper.setAudit(that.list)
  430. } else {
  431. uni.navigateBack()
  432. }
  433. uni.hideLoading()
  434. }, 1000);
  435. })
  436. },
  437. close() {
  438. this.show = false
  439. },
  440. pass() {
  441. this.show = true
  442. this.title = '审核意见(通过)'
  443. },
  444. reject() {
  445. this.show = true
  446. this.title = '驳回原因(驳回)'
  447. },
  448. //通过
  449. passSubmit() {
  450. var that = this
  451. if (this.title == '驳回原因(驳回)') {
  452. this.rejectSubmit()
  453. } else {
  454. uni.showLoading({
  455. title: '加载中',
  456. mask: true
  457. });
  458. that.$api.doRequest('post', '/workflow/api/handle', {
  459. taskId: that.list.taskId,
  460. approved: true,
  461. auditMind: this.auditMind,
  462. needReapply: true,
  463. }).then(res => {
  464. that.$api.msg('通过成功')
  465. that.show = false
  466. setTimeout(function() {
  467. if (that.everyCheck) {
  468. helper.setAudit(that.list)
  469. } else {
  470. uni.navigateBack()
  471. }
  472. uni.hideLoading()
  473. }, 1000);
  474. })
  475. }
  476. },
  477. //审核方法
  478. audit(item, index, status, status2, reason) {
  479. if (index < this.list.length) {
  480. this.$api.doRequest('post', '/workflow/api/handle', {
  481. taskId: item.taskId,
  482. approved: status,
  483. auditMind: reason != undefined ? '已驳回' : '34',
  484. needReapply: status2 != undefined ? true : false,
  485. }).then(res => {
  486. this.audit(this.list[index + 1], index + 1, status)
  487. })
  488. } else {
  489. if (status == true) {
  490. that.$api.msg('通过成功')
  491. this.getList()
  492. } else if (status == false) {
  493. that.$api.msg('驳回成功')
  494. this.getList()
  495. }
  496. }
  497. },
  498. }
  499. }
  500. </script>
  501. <style scoped lang="scss">
  502. .container {
  503. padding: 20rpx 20rpx 250rpx 20rpx;
  504. }
  505. .u-form {
  506. background: #fff;
  507. border-radius: 10px;
  508. padding: 0 10px;
  509. .u-form-item {
  510. line-height: 30px;
  511. padding: 5px 0;
  512. }
  513. }
  514. .content {
  515. margin-top: 30rpx;
  516. .top {
  517. display: flex;
  518. justify-content: space-between;
  519. }
  520. .content-item {
  521. border-radius: 20rpx;
  522. background: white;
  523. padding: 40rpx 20rpx;
  524. margin-bottom: 30rpx;
  525. }
  526. .title {
  527. font-size: 32rpx;
  528. font-weight: 600;
  529. color: #333333;
  530. text-align: left;
  531. margin: 20rpx 0;
  532. }
  533. .car-container {
  534. border-bottom: 2rpx solid #EEEEEE;
  535. }
  536. .car-type-item {
  537. font-size: 28rpx;
  538. margin: 20rpx 0;
  539. color: #878C9C;
  540. }
  541. .weightInfoCss {
  542. font-size: 28rpx;
  543. color: #333333;
  544. font-weight: 500;
  545. }
  546. .row {
  547. display: flex;
  548. justify-content: space-between;
  549. // .right,
  550. // input {
  551. // font-size: 28rpx;
  552. // // color: #333333;
  553. // }
  554. }
  555. .money {
  556. font-size: 32rpx;
  557. font-weight: 500;
  558. margin-bottom: 30rpx;
  559. }
  560. .moneyInfo {
  561. color: #22C572;
  562. font-size: 32rpx;
  563. }
  564. }
  565. .bottom-btn {
  566. width: 100%;
  567. position: fixed;
  568. bottom: 0;
  569. display: flex;
  570. z-index: 2;
  571. left: 0;
  572. background-color: #f8f8f8;
  573. flex-direction: column;
  574. .btn1,
  575. .btn2 {
  576. width: 100%;
  577. margin-bottom: 26rpx;
  578. border-radius: 90rpx;
  579. }
  580. .btn1 {
  581. background: white;
  582. color: #00C265;
  583. }
  584. }
  585. .topInfo {
  586. height: 210rpx;
  587. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  588. padding: 30rpx;
  589. .topInfo-item {
  590. height: 150rpx;
  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. .textCss {
  669. display: flex;
  670. justify-content: flex-end;
  671. width: 100%;
  672. text-align: right;
  673. }
  674. .textarea {
  675. margin: 20px auto;
  676. width: 100%;
  677. background: #F9F9FA;
  678. border-radius: 10px;
  679. border: 1px solid #EEEEEE;
  680. font-size: 28rpx;
  681. padding: 10px;
  682. }
  683. .u-textarea-style {
  684. margin: 20rpx;
  685. background: #F9F9FA;
  686. border-radius: 10px;
  687. border: 1px solid #EEEEEE;
  688. padding: 10rpx 20rpx;
  689. position: relative;
  690. .right-bottom {
  691. position: absolute;
  692. right: 20rpx;
  693. bottom: 20rpx;
  694. color: #AFB3BF;
  695. }
  696. }
  697. .content2 {
  698. background: white;
  699. margin: 20rpx 0;
  700. border-radius: 20rpx;
  701. padding: 20rpx;
  702. .row {
  703. display: flex;
  704. .left {
  705. display: flex;
  706. align-items: center;
  707. .item1{
  708. position:relative;
  709. .item-content{
  710. background:#22C572;
  711. width: 50px;
  712. height: 50px;
  713. border-radius: 10px;
  714. line-height: 50px;
  715. text-align: center;
  716. font-size: 18px;
  717. color: #fff;
  718. }
  719. .status{
  720. position:absolute;
  721. border-radius: 50%;
  722. padding: 0px 2px;
  723. right: -3px;
  724. bottom: -3px;
  725. background:#fff;
  726. }
  727. .status.success{
  728. border:1px solid rgb(60, 156, 255);
  729. }
  730. .status.error{
  731. border:1px solid rgb(245, 108, 108);
  732. }
  733. .status.question{
  734. border:1px solid #f9ae3d;
  735. }
  736. }
  737. }
  738. .right {
  739. width:80%;
  740. // color: #B0B1B5;
  741. margin-top: 10px;
  742. .right-content{
  743. background:#F2F3F7;
  744. margin-left:10px;
  745. margin-top:10px;
  746. padding:10px;
  747. border-radius:5px;
  748. color: #B0B1B5;
  749. }
  750. .right-item{
  751. display: flex;
  752. justify-content: space-between;
  753. .time{
  754. color:#999;
  755. }
  756. .item2 {
  757. margin-left: 20rpx;
  758. .name {
  759. font-size: 28rpx;
  760. font-weight: 800;
  761. }
  762. .status.success {
  763. color: #6CC48C;
  764. }
  765. .status.error {
  766. color: rgb(245, 108, 108);
  767. }
  768. .status.question {
  769. color: #f9ae3d;
  770. }
  771. }
  772. }
  773. }
  774. }
  775. .row2{
  776. display:flex;
  777. .item-content{
  778. background:#22C572;
  779. width: 30px;
  780. height: 30px;
  781. border-radius: 50%;
  782. line-height: 30px;
  783. text-align: center;
  784. font-size: 12px;
  785. color: #fff;
  786. padding:0 2px;
  787. margin:0 auto;
  788. }
  789. .status{
  790. position:absolute;
  791. top:0;right:0;
  792. }
  793. }
  794. .row-line {
  795. width: 1px;
  796. height: 30px;
  797. background: #F2F2F2;
  798. margin: 10rpx 50rpx;
  799. }
  800. .audit {
  801. margin-top: 20rpx;
  802. }
  803. }
  804. </style>