acquisitioncontract.vue 25 KB

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