purchasecontract.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856
  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-if='imglist.length>0'>
  138. <view v-for='item in imglist'>
  139. <view class="" style="color: #19be6b;text-decoration:underline;" @click="openDocument(item)">
  140. 点击下载
  141. </view>
  142. <!-- <u-icon name="attach" ></u-icon> -->
  143. <!-- <image style='width: 200rpx;height: 200rpx;' :src="item" mode=""></image> -->
  144. </view>
  145. </view>
  146. </u-form-item>
  147. <view class="content2">
  148. <view class="title row">
  149. 流程
  150. </view>
  151. <view v-for="(item,index) in auditList" :key='index' class="audit">
  152. <view class="row">
  153. <view class="left">
  154. <view class="item1">
  155. <view class="item-content">{{item.operatorTitle}}</view>
  156. <view v-if="item.status=='success'" class='status success'>
  157. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  158. </view>
  159. <view v-if="item.status=='error'" class='status error'>
  160. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  161. </view>
  162. <view v-if="item.status=='question'" class='status question'>
  163. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  164. </view>
  165. </view>
  166. </view>
  167. <view class="right">
  168. <view class="right-item">
  169. <view class="item2">
  170. <view class="name">{{item.desc}}
  171. </view>
  172. <!-- <view class='time'>{{item.updateDate}}</view> -->
  173. <view v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1&&index!=0'>已审核</text></view>
  174. <view v-if="item.status=='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text></view>
  175. <view v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
  176. <!-- <view class="status success">吕波(已审核)</view> -->
  177. </view>
  178. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0' class='time'>
  179. {{item.updateDate}}
  180. </view>
  181. </view>
  182. <view v-if='item.auditMind' class="right-content">
  183. {{item.auditMind}}
  184. </view>
  185. </view>
  186. <view v-if='item.commonStaffs1' class="right">
  187. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28"></u-icon>
  188. </view>
  189. </view>
  190. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  191. <view class='row2'>
  192. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  193. <view class="item-content">
  194. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  195. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  196. </view>
  197. <view class="name">{{item1.staffName}}</view>
  198. </view>
  199. </view>
  200. </view>
  201. <view class="row-line" v-if="index!= auditList.length - 1"></view>
  202. </view>
  203. </view>
  204. </u-form>
  205. <view v-if='list.taskId' style='padding:10px;' class='flex bottom-btn'>
  206. <u-button v-if='list.approveStatus||isSHowBtn' @click='reject' type="error" class="btn1" hover-class='none'>
  207. 驳回
  208. </u-button>
  209. <u-button v-if='list.approveStatus||isSHowBtn' @click='pass' type="success" class="btn2">通过</u-button>
  210. </view>
  211. <view v-if='show' class="shade">
  212. <view class="wrap">
  213. <view class="alert-top">
  214. <view class="title">
  215. {{title}}
  216. </view>
  217. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  218. </view>
  219. <view class="u-textarea-style">
  220. <view class="right-bottom">
  221. {{auditMind.length}}/100个字
  222. </view>
  223. <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  224. maxlength="100" />
  225. </view>
  226. <view @click='close()' class="cancel">取消</view>
  227. <view @click='passSubmit()' class="confirm">确定</view>
  228. </view>
  229. </view>
  230. <view @click='imgShow=false' v-if="imgShow" class="shade">
  231. <image style='position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;' :src="url" mode=""></image>
  232. </view>
  233. </view>
  234. </template>
  235. <script>
  236. import upload from '@/components/upload.vue';
  237. import helper from '@/common/helper.js';
  238. export default {
  239. components: {
  240. upload
  241. },
  242. data() {
  243. return {
  244. isSHowBtn: true,
  245. id: "",
  246. currentPage: 1,
  247. pageSize: 10,
  248. list: {
  249. status: "",
  250. contractGoodsInfo: {},
  251. contractProcessInfo: {}
  252. },
  253. imglist: [],
  254. auditList:[],
  255. auditMind: '',
  256. show: false,
  257. title: '',
  258. contractNo: "",
  259. action: this.$uploadUrl,
  260. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  261. isAdd: true,
  262. imgShow: false,
  263. url: "",
  264. everyCheck: ''
  265. }
  266. },
  267. onBackPress(e) {
  268. if(this.everyCheck){
  269. uni.navigateTo({
  270. url: "/pages/task/my_task"
  271. })
  272. return true;
  273. }
  274. },
  275. onLoad(options) {
  276. this.id = options.id
  277. this.getList()
  278. this.everyCheck = uni.getStorageSync("everyTask")
  279. this.isSHowBtn = options.isShowbtn
  280. },
  281. methods: {
  282. shadeshow(url) {
  283. this.imgShow = true
  284. this.url = url
  285. },
  286. showcontent(item){
  287. item.showflow=!item.showflow
  288. },
  289. getList(id) {
  290. uni.showLoading({
  291. title:'加载中',
  292. mask:true
  293. })
  294. var that = this
  295. this.$api.doRequest('get', '/contractManagementInfo/getInfo', {
  296. id: this.id
  297. }).then(res => {
  298. if (res.data.code == 200) {
  299. this.list = res.data.data
  300. if (this.list.deliverType == 1) {
  301. this.list.deliverType1 = '我方自提'
  302. } else if (this.list.deliverType == 2) {
  303. this.list.deliverType1 = '对方送货'
  304. }else if (this.list.deliverType == 3) {
  305. this.list.deliverType1 = '对方送货(临时库)'
  306. }
  307. this.$api.doRequest('get', '/appendix/query/getFileList', {
  308. appendixIds: that.list.addressUrl
  309. }).then(res1 => {
  310. for (var i = 0; i < res1.data.data.length; i++) {
  311. that.imglist.push(res1.data.data[i].appendixPath)
  312. }
  313. })
  314. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  315. businessCode: 'BUY-CONTRACT-APPROVE',
  316. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  317. }).then(res1 => {
  318. this.$api.doRequest('get', '/commonUser/getHis', {
  319. workflowId: res1.data.data[0].id,
  320. businessKey: this.id
  321. }).then(response => {
  322. uni.hideLoading()
  323. for (let i = 0; i < response.data.data.length; i++) {
  324. this.$set(response.data.data[i],'status','question')
  325. // console.log(response.data.data[i].workflowHistoricTasks,i)
  326. if(response.data.data[i].commonStaffs){
  327. response.data.data[i].showflow=false
  328. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  329. response.data.data[i].operatorName=response.data.data[i].desc
  330. response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
  331. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  332. if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
  333. // response.data.data[i].status='question'
  334. this.$set(response.data.data[i],'status','question')
  335. }else{
  336. this.$set(response.data.data[i],'status','success')
  337. // response.data.data[i].status='success'
  338. }
  339. response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
  340. var workflowdata=response.data.data[i].workflowHistoricTasks
  341. var staffsdata=response.data.data[i].commonStaffs
  342. for (let q = 0; q < staffsdata.length; q++) {
  343. staffsdata[q].status=false
  344. staffsdata[q].staffTitle=staffsdata[q].staffName
  345. for (let k = 0; k < workflowdata.length; k++) {
  346. if(staffsdata[q].staffId==workflowdata[k].operatorId){
  347. staffsdata[q].status=true
  348. }
  349. }
  350. }
  351. }
  352. response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
  353. }else{
  354. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  355. var len =response.data.data[i].workflowHistoricTasks.length-1
  356. if(response.data.data[i].workflowHistoricTasks[len].approved){
  357. this.$set(response.data.data[i],'status','success')
  358. }else{
  359. this.$set(response.data.data[i],'status','error')
  360. }
  361. response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[len].operatorName.substring(response.data.data[i].workflowHistoricTasks[0].operatorName.length - 2)
  362. response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[len].operatorName
  363. var time=new Date(response.data.data[i].workflowHistoricTasks[len].claimTime).getTime()
  364. response.data.data[i].updateDate=this.$u.timeFormat(time, 'mm.dd hh:MM')
  365. response.data.data[i].auditMind=response.data.data[i].workflowHistoricTasks[len].auditMind
  366. }else{
  367. this.$set(response.data.data[i],'status','question')
  368. // response.data.data[i].status='question'
  369. if(response.data.data[i].desc=='总经理助理审核'){
  370. response.data.data[i].operatorTitle='总助'
  371. }else if(response.data.data[i].desc=='杜大光审核'){
  372. response.data.data[i].operatorTitle='大光'
  373. }else{
  374. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  375. }
  376. response.data.data[i].operatorName=response.data.data[i].desc
  377. var time1=new Date(response.data.data[i].updateDate).getTime()
  378. response.data.data[i].updateDate=this.$u.timeFormat(time1, 'mm.dd hh:MM')
  379. response.data.data[i].auditMind=''
  380. }
  381. }
  382. }
  383. console.log(response.data.data)
  384. this.auditList = response.data.data
  385. var time2=new Date(this.list.createDate).getTime()
  386. var time3=this.$u.timeFormat(time2, 'mm.dd hh:MM')
  387. this.auditList.unshift({
  388. operatorTitle:this.list.creater.substring(0,2),
  389. operatorName:this.list.creater,
  390. updateDate:time3,
  391. auditMind:'',
  392. desc:'发起申请',
  393. showflow:false,
  394. commonStaffs1:null,
  395. commonStaffs:null,
  396. workflowHistoricTasks:[],
  397. status:'success'
  398. })
  399. })
  400. })
  401. }
  402. })
  403. },
  404. filterFileType(index, lists) {
  405. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  406. lists.splice(index, 1);
  407. // 当前文件不支持
  408. uni.showModal({
  409. title: '暂不支持当前图片类型',
  410. showCancel: false
  411. });
  412. } else {
  413. this.isAdd = false;
  414. }
  415. },
  416. //驳回
  417. rejectSubmit() {
  418. uni.showLoading({
  419. title: '加载中',
  420. mask: true
  421. });
  422. var that = this
  423. that.$api.doRequest('post', '/workflow/api/handle', {
  424. taskId: that.list.taskId,
  425. approved: false,
  426. auditMind: this.auditMind,
  427. needReapply: true,
  428. }).then(res => {
  429. that.$api.msg('驳回成功')
  430. that.show = false
  431. setTimeout(function() {
  432. if (that.everyCheck) {
  433. helper.setAudit(that.list)
  434. } else {
  435. uni.navigateBack()
  436. }
  437. uni.hideLoading()
  438. }, 1000);
  439. })
  440. },
  441. close() {
  442. this.show = false
  443. },
  444. pass() {
  445. this.show = true
  446. this.title = '审核意见(通过)'
  447. },
  448. reject() {
  449. this.show = true
  450. this.title = '驳回原因(驳回)'
  451. },
  452. //通过
  453. passSubmit() {
  454. var that = this
  455. if (this.title == '驳回原因(驳回)') {
  456. this.rejectSubmit()
  457. } else {
  458. uni.showLoading({
  459. title: '加载中',
  460. mask: true
  461. });
  462. that.$api.doRequest('post', '/workflow/api/handle', {
  463. taskId: that.list.taskId,
  464. approved: true,
  465. auditMind: this.auditMind,
  466. needReapply: true,
  467. }).then(res => {
  468. that.$api.msg('通过成功')
  469. that.show = false
  470. setTimeout(function() {
  471. if (that.everyCheck) {
  472. helper.setAudit(that.list)
  473. } else {
  474. uni.navigateBack()
  475. }
  476. uni.hideLoading()
  477. }, 1000);
  478. })
  479. }
  480. },
  481. //审核方法
  482. audit(item, index, status, status2, reason) {
  483. if (index < this.list.length) {
  484. this.$api.doRequest('post', '/workflow/api/handle', {
  485. taskId: item.taskId,
  486. approved: status,
  487. auditMind: reason != undefined ? '已驳回' : '34',
  488. needReapply: status2 != undefined ? true : false,
  489. }).then(res => {
  490. this.audit(this.list[index + 1], index + 1, status)
  491. })
  492. } else {
  493. if (status == true) {
  494. that.$api.msg('通过成功')
  495. this.getList()
  496. } else if (status == false) {
  497. that.$api.msg('驳回成功')
  498. this.getList()
  499. }
  500. }
  501. },
  502. }
  503. }
  504. </script>
  505. <style scoped lang="scss">
  506. .container {
  507. padding: 20rpx 20rpx 250rpx 20rpx;
  508. }
  509. .u-form {
  510. background: #fff;
  511. border-radius: 10px;
  512. padding: 0 10px;
  513. .u-form-item {
  514. line-height: 30px;
  515. padding: 5px 0;
  516. }
  517. }
  518. .content {
  519. margin-top: 30rpx;
  520. .top {
  521. display: flex;
  522. justify-content: space-between;
  523. }
  524. .content-item {
  525. border-radius: 20rpx;
  526. background: white;
  527. padding: 40rpx 20rpx;
  528. margin-bottom: 30rpx;
  529. }
  530. .title {
  531. font-size: 32rpx;
  532. font-weight: 600;
  533. color: #333333;
  534. text-align: left;
  535. margin: 20rpx 0;
  536. }
  537. .car-container {
  538. border-bottom: 2rpx solid #EEEEEE;
  539. }
  540. .car-type-item {
  541. font-size: 28rpx;
  542. margin: 20rpx 0;
  543. color: #878C9C;
  544. }
  545. .weightInfoCss {
  546. font-size: 28rpx;
  547. color: #333333;
  548. font-weight: 500;
  549. }
  550. .row {
  551. display: flex;
  552. justify-content: space-between;
  553. // .right,
  554. // input {
  555. // font-size: 28rpx;
  556. // // color: #333333;
  557. // }
  558. }
  559. .money {
  560. font-size: 32rpx;
  561. font-weight: 500;
  562. margin-bottom: 30rpx;
  563. }
  564. .moneyInfo {
  565. color: #22C572;
  566. font-size: 32rpx;
  567. }
  568. }
  569. .bottom-btn {
  570. width: 100%;
  571. position: fixed;
  572. bottom: 0;
  573. display: flex;
  574. z-index: 2;
  575. left: 0;
  576. background-color: #f8f8f8;
  577. flex-direction: column;
  578. .btn1,
  579. .btn2 {
  580. width: 100%;
  581. margin-bottom: 26rpx;
  582. border-radius: 90rpx;
  583. }
  584. .btn1 {
  585. background: white;
  586. color: #00C265;
  587. }
  588. }
  589. .topInfo {
  590. height: 210rpx;
  591. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  592. padding: 30rpx;
  593. .topInfo-item {
  594. height: 150rpx;
  595. background-color: #FFFFFF;
  596. border-radius: 20rpx;
  597. padding: 40rpx;
  598. .logo {
  599. width: 40rpx;
  600. height: 40rpx;
  601. margin-top: 8rpx;
  602. }
  603. .infoText {
  604. font-size: 36rpx;
  605. font-weight: 600;
  606. margin-left: 20rpx;
  607. }
  608. .infoData {
  609. color: #878C9C;
  610. font-size: 26rpx;
  611. margin-top: 10rpx;
  612. }
  613. }
  614. }
  615. .shade {
  616. position: fixed;
  617. top: 0;
  618. left: 0;
  619. height: 100%;
  620. width: 100%;
  621. background: rgba(0, 0, 0, 0.4);
  622. z-index: 3;
  623. .wrap {
  624. position: absolute;
  625. left: 0;
  626. top: 0;
  627. right: 0;
  628. bottom: 0;
  629. margin: auto;
  630. background: #fff;
  631. width: calc(100% - 198rpx);
  632. height: 700rpx;
  633. border-radius: 20rpx;
  634. .alert-top {
  635. padding: 33rpx;
  636. display: flex;
  637. justify-content: center;
  638. align-items: center;
  639. position: relative;
  640. }
  641. .title {
  642. font-size: 32rpx;
  643. font-weight: 600;
  644. color: #333333;
  645. }
  646. .close {
  647. position: absolute;
  648. right: 33rpx;
  649. }
  650. }
  651. }
  652. .cancel,
  653. .confirm {
  654. position: absolute;
  655. display: inline-block;
  656. width: 50%;
  657. text-align: center;
  658. bottom: 0;
  659. padding: 10px;
  660. border-top: 1px solid #eee;
  661. font-size: 34rpx;
  662. }
  663. .cancel {
  664. left: 0;
  665. border-right: 1px solid #eee;
  666. color: #AFB3BF;
  667. }
  668. .confirm {
  669. right: 0;
  670. color: #22C572;
  671. }
  672. .textCss {
  673. display: flex;
  674. justify-content: flex-end;
  675. width: 100%;
  676. text-align: right;
  677. }
  678. .textarea {
  679. margin: 20px auto;
  680. width: 100%;
  681. background: #F9F9FA;
  682. border-radius: 10px;
  683. border: 1px solid #EEEEEE;
  684. font-size: 28rpx;
  685. padding: 10px;
  686. }
  687. .u-textarea-style {
  688. margin: 20rpx;
  689. background: #F9F9FA;
  690. border-radius: 10px;
  691. border: 1px solid #EEEEEE;
  692. padding: 10rpx 20rpx;
  693. position: relative;
  694. .right-bottom {
  695. position: absolute;
  696. right: 20rpx;
  697. bottom: 20rpx;
  698. color: #AFB3BF;
  699. }
  700. }
  701. .content2 {
  702. background: white;
  703. margin: 20rpx 0;
  704. border-radius: 20rpx;
  705. padding: 20rpx;
  706. .row {
  707. display: flex;
  708. .left {
  709. display: flex;
  710. align-items: center;
  711. .item1{
  712. position:relative;
  713. .item-content{
  714. background:#22C572;
  715. width: 50px;
  716. height: 50px;
  717. border-radius: 10px;
  718. line-height: 50px;
  719. text-align: center;
  720. font-size: 18px;
  721. color: #fff;
  722. }
  723. .status{
  724. position:absolute;
  725. border-radius: 50%;
  726. padding: 0px 2px;
  727. right: -3px;
  728. bottom: -3px;
  729. background:#fff;
  730. }
  731. .status.success{
  732. border:1px solid rgb(60, 156, 255);
  733. }
  734. .status.error{
  735. border:1px solid rgb(245, 108, 108);
  736. }
  737. .status.question{
  738. border:1px solid #f9ae3d;
  739. }
  740. }
  741. }
  742. .right {
  743. width:80%;
  744. // color: #B0B1B5;
  745. margin-top: 10px;
  746. .right-content{
  747. background:#F2F3F7;
  748. margin-left:10px;
  749. margin-top:10px;
  750. padding:10px;
  751. border-radius:5px;
  752. color: #B0B1B5;
  753. }
  754. .right-item{
  755. display: flex;
  756. justify-content: space-between;
  757. .time{
  758. color:#999;
  759. }
  760. .item2 {
  761. margin-left: 20rpx;
  762. .name {
  763. font-size: 28rpx;
  764. font-weight: 800;
  765. }
  766. .status.success {
  767. color: #6CC48C;
  768. }
  769. .status.error {
  770. color: rgb(245, 108, 108);
  771. }
  772. .status.question {
  773. color: #f9ae3d;
  774. }
  775. }
  776. }
  777. }
  778. }
  779. .row2{
  780. display:flex;
  781. .item-content{
  782. background:#22C572;
  783. width: 30px;
  784. height: 30px;
  785. border-radius: 50%;
  786. line-height: 30px;
  787. text-align: center;
  788. font-size: 12px;
  789. color: #fff;
  790. padding:0 2px;
  791. margin:0 auto;
  792. }
  793. .status{
  794. position:absolute;
  795. top:0;right:0;
  796. }
  797. }
  798. .row-line {
  799. width: 1px;
  800. height: 30px;
  801. background: #F2F2F2;
  802. margin: 10rpx 50rpx;
  803. }
  804. .audit {
  805. margin-top: 20rpx;
  806. }
  807. }
  808. </style>