warehouse_warrant_detail.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975
  1. <template>
  2. <view class="warp">
  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="status == '已驳回'"
  8. style="height: 40rpx;"></image><!-- 驳回 -->
  9. <image src="../../../static/img/tongguo.png" mode="" v-if="status == '已通过'"
  10. style="height: 40rpx;"></image><!-- 通过 -->
  11. <!-- v-if="status == '审核中' || status == '待决策人审核'" -->
  12. <image src="../../../static/img/daishenhe.png" mode="" style="height: 40rpx;"></image>
  13. <!-- 待审核 -->
  14. </view>
  15. <!-- {{auditList.length > 0 ?auditList[auditList.length - 1].operatorMajorRoleName:""}} -->
  16. <view class="infoText">{{auditInfo.approveStatus?auditInfo.approveStatus:'已完成'}}</view>
  17. </view>
  18. <view class="infoData">{{updateDate}}</view>
  19. </view>
  20. </view>
  21. <view class="content1">
  22. <view class="title ">
  23. 基本信息
  24. </view>
  25. <view class="row">
  26. <view class="left">请款日期</view>
  27. <view class="right">{{auditInfo.requestDate}}</view>
  28. </view>
  29. <view class="row">
  30. <view class="left">请款人</view>
  31. <view class="right">{{auditInfo.requestPerson}}</view>
  32. </view>
  33. <view class="row">
  34. <view class="left">所属仓库 </view>
  35. <view class="right">{{auditInfo.warehouseName}}</view>
  36. </view>
  37. <view class="row">
  38. <view class="left" style='width:33.3333%;text-align:center;border-right:1px solid #ccc;'>货名 </view>
  39. <view class="right" style='width:33.3333%;text-align:center;border-right:1px solid #ccc;'>重量(吨)</view>
  40. <view class="right" style='width:33.3333%;text-align:center;'>金额(元)</view>
  41. </view>
  42. <view class="row" v-for='item in auditInfo.goodNameList'>
  43. <view class="left" style='width:33.3333%;text-align:center;border-right:1px solid #ccc;'>{{item.goodsName}}</view>
  44. <view class="right" style='width:33.3333%;text-align:center;border-right:1px solid #ccc;'>{{item.inWarehouseWeight}}</view>
  45. <view class="right" style='width:33.3333%;text-align:center;'>{{item.requestFunds}}</view>
  46. </view>
  47. <view @click="detailed('',1)" class="row">
  48. <view class="left">合计重量(吨)</view>
  49. <view class="right" style='color:red;'>{{auditInfo.inWarehouseWeightTotal}}</view>
  50. </view>
  51. <view @click="detailed('',1)" class="row">
  52. <view class="left">合计金额(元)</view>
  53. <view class="right" style='color:red;'>{{auditInfo.requestFundsTotal}}</view>
  54. </view>
  55. <!-- <view class="row">
  56. <view class="left">仓库名称</view>
  57. <view class="right">{{auditInfo.warehouseName}}</view>
  58. </view>
  59. <view class="row">
  60. <view class="left">入库日期</view>
  61. <view class="right">{{auditInfo.issuingTime}}</view>
  62. </view>
  63. <view class="row" style="border-bottom:0">
  64. <view class="left">车数</view>
  65. <view class="right">{{auditInfo.count}}</view>
  66. </view> -->
  67. </view>
  68. <view class="content1">
  69. <view class="title ">
  70. 支付明细
  71. </view>
  72. <view class="mx-content" v-for="item in auditInfo.warehousingOrderList" @click="detailed(item,2)">
  73. <view class='flex align-center justify-between'>
  74. <view class="name">
  75. {{item.customer}}
  76. </view>
  77. <view class="mx-item">
  78. {{item.goodsName}}
  79. </view>
  80. </view>
  81. <view class="mx-bottom">
  82. <view class="mx-row1">
  83. <!-- <view class="mx-item">
  84. 平均容重
  85. </view>
  86. <view class="mx-item">
  87. 平均水分
  88. </view> -->
  89. </view>
  90. <view class="mx-row2">
  91. <view class="mx-item">
  92. {{item.inWarehouseWeight}}吨
  93. </view>
  94. <view class="mx-item">
  95. <!-- 2000元/吨 -->
  96. {{item.avgCost}}元/吨
  97. </view>
  98. <view class="mx-item">
  99. {{item.requestFunds}}元
  100. </view>
  101. </view>
  102. </view>
  103. </view>
  104. </view>
  105. <view class="content1" v-if="url && url != 'ng'">
  106. <view class="title ">
  107. 附件
  108. </view>
  109. <view class="file" @click="openXls">
  110. <image src="../../../static/img/excle.png" mode="" class="img_css"></image>
  111. <text class="text_css">付款明细.xls</text>
  112. </view>
  113. <view class="file" @click="openXls2">
  114. <image src="../../../static/img/excle.png" mode="" class="img_css"></image>
  115. <text class="text_css">粮食指标.xls</text>
  116. </view>
  117. </view>
  118. <view class="content2">
  119. <view class="title row">
  120. 流程
  121. </view>
  122. <view v-for="(item,index) in auditList" :key='index' class="audit">
  123. <view class="row">
  124. <view class="left">
  125. <view class="item1">
  126. <view class="item-content">{{item.operatorTitle}}</view>
  127. <view v-if="item.status=='success'" class='status success'>
  128. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  129. </view>
  130. <view v-if="item.status=='error'" class='status error'>
  131. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  132. </view>
  133. <view v-if="item.status=='question'" class='status question'>
  134. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  135. </view>
  136. </view>
  137. </view>
  138. <view class="right">
  139. <view class="right-item">
  140. <view class="item2">
  141. <view class="name">{{item.desc}}
  142. </view>
  143. <!-- <view class='time'>{{item.updateDate}}</view> -->
  144. <view v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1&&index!=0'>已审核</text></view>
  145. <view v-if="item.status=='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text></view>
  146. <view v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
  147. <!-- <view class="status success">吕波(已审核)</view> -->
  148. </view>
  149. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0' class='time'>
  150. {{item.updateDate}}
  151. </view>
  152. </view>
  153. <view v-if='item.auditMind' class="right-content">
  154. {{item.auditMind}}
  155. </view>
  156. </view>
  157. <view v-if='item.commonStaffs1' class="right">
  158. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28"></u-icon>
  159. </view>
  160. </view>
  161. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  162. <view class='row2'>
  163. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  164. <view class="item-content">
  165. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  166. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  167. </view>
  168. <view class="name">{{item1.staffName}}</view>
  169. </view>
  170. </view>
  171. </view>
  172. <view class="row-line" v-if="index!= auditList.length - 1"></view>
  173. </view>
  174. </view>
  175. <view v-if='show' class="shade">
  176. <view class="wrap">
  177. <view class="alert-top">
  178. <view class="title">
  179. {{title}}
  180. </view>
  181. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  182. </view>
  183. <view class="u-textarea-style">
  184. <view class="right-bottom">
  185. {{auditMind.length}}/100个字
  186. </view>
  187. <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  188. maxlength="100" />
  189. </view>
  190. <view @click='close()' class="cancel">取消</view>
  191. <view @click='passSubmit()' class="confirm">确定</view>
  192. </view>
  193. </view>
  194. <u-toast ref="uToast" />
  195. <view style='padding:10px;' class='flex bottom-btn'>
  196. <u-button @click='fanhui' type="success" class="btn2">返回</u-button>
  197. </view>
  198. </view>
  199. </template>
  200. <script>
  201. import helper from '@/common/helper.js';
  202. import {
  203. mapState
  204. } from 'vuex';
  205. export default {
  206. data() {
  207. return {
  208. src: '../../../static/img/myimg/LiangShang@2x.png',
  209. isSHowBtn: true,
  210. height: 200,
  211. autoHeight: true,
  212. border: false,
  213. title: '',
  214. show: false,
  215. auditMind: '',
  216. id: "",
  217. currentPage: 1,
  218. pageSize: 100,
  219. List: [],
  220. status: "",
  221. updateDate: "",
  222. warehouseName: "",
  223. everyCheck: '',
  224. auditInfo: {},
  225. id: "",
  226. auditList: [],
  227. url: "11",
  228. url2: "11",
  229. }
  230. },
  231. onBackPress(e) {
  232. if (this.everyCheck) {
  233. uni.navigateTo({
  234. url: "/pages/task/my_task"
  235. })
  236. return true;
  237. }
  238. },
  239. onLoad(options) {
  240. this.id = options.id
  241. this.vesselId = options.vesselId
  242. this.everyCheck = uni.getStorageSync("everyTask")
  243. this.isSHowBtn = options.isShowbtn
  244. },
  245. onShow(options) {
  246. this.getList()
  247. },
  248. computed: {
  249. ...mapState(['hasLogin', 'userInfo']),
  250. },
  251. methods: {
  252. detailed(data,status){
  253. let obj
  254. if(status==1){
  255. obj= JSON.stringify(this.auditInfo.warehousingOrderList)
  256. }else{
  257. obj = JSON.stringify([data])
  258. }
  259. uni.navigateTo({
  260. url: '/pages/task/audit/viewDetail?data='+obj
  261. });
  262. },
  263. showcontent(item){
  264. item.showflow=!item.showflow
  265. },
  266. openXls() {
  267. if (this.url && this.url != "ng") {
  268. uni.downloadFile({
  269. url: this.url,
  270. success: function(res) {
  271. var filePath = res.tempFilePath;
  272. uni.openDocument({
  273. filePath: filePath,
  274. showMenu: true,
  275. success: function(res) {
  276. console.log('打开文档成功');
  277. }
  278. });
  279. }
  280. });
  281. }
  282. },
  283. openXls2() {
  284. if (this.url2 && this.url2 != "ng") {
  285. uni.downloadFile({
  286. url: this.url2,
  287. success: function(res) {
  288. var filePath = res.tempFilePath;
  289. uni.openDocument({
  290. filePath: filePath,
  291. showMenu: true,
  292. success: function(res) {
  293. console.log('打开文档成功');
  294. }
  295. });
  296. }
  297. });
  298. }
  299. },
  300. getList() {
  301. uni.showLoading({
  302. title: "加载中...",
  303. mask: true
  304. })
  305. var that =this
  306. // this.$api.doRequest('get', '/warehousingOrder/selectInfo', {
  307. // currentPage: 1,
  308. // pageSize: 100,
  309. // searchType: '2', //searchType:1待审核
  310. // // warehouseName: this.vesselId,
  311. // managementType: 1
  312. // }).then(res1 => {
  313. // uni.hideLoading()
  314. // if (res1.data.code == 200) {
  315. // this.List = res1.data.data.records
  316. // }
  317. // })
  318. // this.$api.doRequest('get', '/paymentManagement/getInfo', {
  319. // id: this.id
  320. // }).then(res => {
  321. // if (res.data.code == 200) {
  322. // uni.showLoading({
  323. // title: "加载中...",
  324. // mask: true
  325. // })
  326. // }
  327. // })
  328. this.$api.doRequest('post', '/warehousingOrder/exportPhone', {
  329. batchId: this.id,
  330. // searchType: 1,
  331. }).then(res1 => {
  332. if (res1.data.code == 200) {
  333. this.url = res1.data.data
  334. }
  335. })
  336. this.$api.doRequest('post', '/paymentManagement/exportPhoneOrder', {
  337. orderId: this.id,
  338. // searchType: 1,
  339. }).then(res1 => {
  340. if (res1.data.code == 200) {
  341. this.url2 = res1.data.data
  342. }
  343. })
  344. this.$api.doRequest('post', '/warehousingOrder/exportPhoneDataHis', {
  345. // searchType: 1,
  346. batchId: this.id
  347. }).then(res1 => {
  348. if (res1.data.code == 200) {
  349. this.auditInfo = res1.data.data
  350. var arr=[]
  351. for (var i = 0; i < this.auditInfo.warehousingOrderList.length; i++) {
  352. if(arr.length==0){
  353. arr.push(this.auditInfo.warehousingOrderList[i])
  354. }else{
  355. for (var q = 0; q < arr.length; q++) {
  356. if(arr[q].goodsName==this.auditInfo.warehousingOrderList[i].goodName){
  357. arr[q].inWarehouseWeight+=this.auditInfo.warehousingOrderList[i].inWarehouseWeight
  358. arr[q].requestFunds+=this.auditInfo.warehousingOrderList[i].requestFunds
  359. }else{
  360. arr.push(this.auditInfo.warehousingOrderList[i])
  361. }
  362. }
  363. }
  364. }
  365. console.log(arr,1111111)
  366. this.auditInfo.goodNameList=arr
  367. if(this.auditInfo.inWarehouseWeightTotal){
  368. this.auditInfo.inWarehouseWeightTotal = this.auditInfo.inWarehouseWeightTotal.toFixed(2)
  369. }
  370. if(this.auditInfo.requestFundsTotal){
  371. this.auditInfo.requestFundsTotal = this.auditInfo.requestFundsTotal.toFixed(2)
  372. }
  373. this.auditInfo.amountIngPayableTotal1 = helper.convertCurrency(this.auditInfo
  374. .amountIngPayableTotal)
  375. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  376. businessCode: 'WAREHOUSING-ORDER-APPROVE',
  377. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  378. }).then(res1 => {
  379. this.$api.doRequest('get', '/commonUser/getHis', {
  380. workflowId: res1.data.data[0].id,
  381. businessKey: this.id,
  382. branch:that.auditInfo.jointVentureParties?that.auditInfo.jointVentureParties:'zt'
  383. }).then(response => {
  384. uni.hideLoading()
  385. for (let i = 0; i < response.data.data.length; i++) {
  386. this.$set(response.data.data[i],'status','question')
  387. console.log(response.data.data[i].workflowHistoricTasks,i)
  388. if(response.data.data[i].commonStaffs){
  389. response.data.data[i].showflow=false
  390. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  391. response.data.data[i].operatorName=response.data.data[i].desc
  392. response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
  393. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  394. if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
  395. // response.data.data[i].status='question'
  396. this.$set(response.data.data[i],'status','question')
  397. }else{
  398. this.$set(response.data.data[i],'status','success')
  399. // response.data.data[i].status='success'
  400. }
  401. response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
  402. var workflowdata=response.data.data[i].workflowHistoricTasks
  403. var staffsdata=response.data.data[i].commonStaffs
  404. for (let q = 0; q < staffsdata.length; q++) {
  405. staffsdata[q].status=false
  406. staffsdata[q].staffTitle=staffsdata[q].staffName
  407. for (let k = 0; k < workflowdata.length; k++) {
  408. if(staffsdata[q].staffId==workflowdata[k].operatorId){
  409. staffsdata[q].status=true
  410. }
  411. }
  412. }
  413. }
  414. response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
  415. }else{
  416. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  417. var len =response.data.data[i].workflowHistoricTasks.length-1
  418. if(response.data.data[i].workflowHistoricTasks[len].approved){
  419. this.$set(response.data.data[i],'status','success')
  420. }else{
  421. this.$set(response.data.data[i],'status','error')
  422. }
  423. response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[len].operatorName.substring(response.data.data[i].workflowHistoricTasks[0].operatorName.length - 2)
  424. response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[len].operatorName
  425. var time=new Date(response.data.data[i].workflowHistoricTasks[len].claimTime).getTime()
  426. response.data.data[i].updateDate=this.$u.timeFormat(time, 'mm.dd hh:MM')
  427. response.data.data[i].auditMind=response.data.data[i].workflowHistoricTasks[len].auditMind
  428. }else{
  429. this.$set(response.data.data[i],'status','question')
  430. // response.data.data[i].status='question'
  431. if(response.data.data[i].desc=='总经理助理审核'){
  432. response.data.data[i].operatorTitle='总助'
  433. }else if(response.data.data[i].desc=='杜大光审核'){
  434. response.data.data[i].operatorTitle='大光'
  435. }else{
  436. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  437. }
  438. response.data.data[i].operatorName=response.data.data[i].desc
  439. var time1=new Date(response.data.data[i].updateDate).getTime()
  440. response.data.data[i].updateDate=this.$u.timeFormat(time1, 'mm.dd hh:MM')
  441. response.data.data[i].auditMind=''
  442. }
  443. }
  444. }
  445. console.log(response.data.data)
  446. this.auditList = response.data.data
  447. var time2=new Date(this.auditInfo.createDate).getTime()
  448. var time3=this.$u.timeFormat(time2, 'mm.dd hh:MM')
  449. this.auditList.unshift({
  450. operatorTitle:this.auditInfo.creater.substring(0,2),
  451. operatorName:this.auditInfo.creater,
  452. updateDate:time3,
  453. auditMind:'',
  454. desc:'发起申请',
  455. showflow:false,
  456. commonStaffs1:null,
  457. commonStaffs:null,
  458. workflowHistoricTasks:[],
  459. status:'success'
  460. })
  461. })
  462. })
  463. }
  464. })
  465. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  466. businessCode: 'WAREHOUSING-ORDER-APPROVE',
  467. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  468. }).then(res1 => {
  469. this.updateDate = res1.data.data[0].updateDate
  470. this.$api.doRequest('get', '/commonUser/getHis', {
  471. workflowId: res1.data.data[0].id,
  472. businessKey: this.id
  473. }).then(response => {
  474. // uni.hideLoading()
  475. this.auditList = response.data.data
  476. })
  477. })
  478. },
  479. close() {
  480. this.show = false
  481. },
  482. fanHui(){
  483. uni.navigateBack()
  484. },
  485. pass() {
  486. this.show = true
  487. this.title = '审核意见(通过)'
  488. },
  489. reject() {
  490. this.show = true
  491. this.title = '驳回原因(驳回)'
  492. },
  493. //驳回
  494. // rejectSubmit() {
  495. // if (!this.auditMind) {
  496. // this.$api.msg('驳回原因不能为空!')
  497. // } else {
  498. // var that = this
  499. // that.show = false
  500. // if (this.List.length > 0) {
  501. // uni.showModal({
  502. // content: "确定驳回付款申请?",
  503. // showCancel: true,
  504. // confirmText: '确定',
  505. // success: function(res) {
  506. // if (res.confirm) {
  507. // that.audit(that.List[0], 0, false, '', '')
  508. // }
  509. // }
  510. // })
  511. // }
  512. // }
  513. // },
  514. // audit(list, index, status, status2, reason) {
  515. // uni.showLoading({
  516. // title: "审核中"
  517. // })
  518. // if (this.List.length > 0) {
  519. // if (status == true && list.status == "已驳回") {
  520. // this.$api.doRequest('get', '/paymentManagement/api/openAuditFlow', {
  521. // compId: "2710b21efc1e4393930c5dc800010dc4",
  522. // id: list.id
  523. // }).then(res => {
  524. // if (res.data.code == 200) {
  525. // this.audit(this.List[index + 1], index + 1, status, status2, reason)
  526. // }
  527. // })
  528. // } else {
  529. // for (var i = 0; i < this.List.length; i++) {
  530. // this.$api.doRequest('post', '/newWorkflow/api/handle', {
  531. // taskId: this.List[i].taskId,
  532. // approved: status,
  533. // auditMind: this.auditMind ? this.auditMind : "",
  534. // needReapply: status2 ? true : false
  535. // }).then(res => {
  536. // if (res.data.code == 200) {
  537. // uni.hideLoading()
  538. // // this.audit(this.List[index + 1], index + 1, status, status2, reason)
  539. // this.$api.msg('通过成功')
  540. // }else{
  541. // uni.hideLoading()
  542. // this.$api.msg('审核失败')
  543. // }
  544. // })
  545. // }
  546. // }
  547. // } else {
  548. // if (status == true) {
  549. // this.$api.msg('通过成功')
  550. // } else if (status == false) {
  551. // this.$api.msg('驳回成功')
  552. // }
  553. // let that = this
  554. // setTimeout(function() {
  555. // if (that.everyCheck) {
  556. // helper.setAudit(that.list)
  557. // } else {
  558. // uni.navigateBack()
  559. // }
  560. // uni.hideLoading()
  561. // }, 1000);
  562. // }
  563. // },
  564. }
  565. }
  566. </script>
  567. <style scoped lang="scss">
  568. .warp {
  569. margin: 10rpx;
  570. padding: 20rpx 20rpx 240rpx 20rpx;
  571. }
  572. .content1 {
  573. font-size: 28rpx;
  574. color: #333333;
  575. margin-top: 30rpx;
  576. padding: 20rpx;
  577. // .content-item {
  578. border-radius: 20rpx;
  579. background: white;
  580. // padding: 40rpx 20rpx;
  581. // margin-bottom: 30rpx;
  582. // }
  583. // .title {
  584. // font-size: 32rpx;
  585. // font-weight: 600;
  586. // color: #333333;
  587. // margin: 30rpx 0;
  588. // }
  589. // .goodsInfoCss {
  590. // font-size: 28rpx;
  591. // font-weight: 600;
  592. // color: #878C9C;
  593. // margin: 26rpx 10rpx;
  594. // }
  595. // .priceCss {
  596. // font-size: 40rpx;
  597. // margin: 26rpx 10rpx;
  598. // color: #22C572;
  599. // font-weight: 600;
  600. // }
  601. .row {
  602. display: flex;
  603. justify-content: space-between;
  604. border-bottom: 1px solid #EEEEEE;
  605. padding: 20rpx 0;
  606. .right,
  607. input {
  608. font-size: 28rpx;
  609. // color: #333333;
  610. }
  611. }
  612. .img_css {
  613. width: 50rpx;
  614. height: 50rpx;
  615. }
  616. .file {
  617. display: flex;
  618. align-items: center;
  619. margin: 30rpx 0 0 20rpx;
  620. .text_css {
  621. font-size: 30rpx;
  622. margin-left: 20rpx;
  623. }
  624. }
  625. }
  626. .title {
  627. font-size: 34rpx;
  628. font-weight: 700;
  629. // margin-bottom: 20rpx;
  630. height: 70rpx;
  631. border-bottom: 2rpx solid #EEEEEE;
  632. }
  633. .titlerow {
  634. font-size: 34rpx;
  635. font-weight: 700;
  636. // margin-bottom: 20rpx;
  637. // height: 70rpx;
  638. // border-bottom: 2rpx solid #EEEEEE;
  639. }
  640. .content2 {
  641. background: white;
  642. margin: 20rpx 0;
  643. border-radius: 20rpx;
  644. padding: 20rpx;
  645. .row {
  646. display: flex;
  647. .left {
  648. display: flex;
  649. align-items: center;
  650. .item1 {
  651. position: relative;
  652. .item-content {
  653. background: #617AE0;
  654. width: 44px;
  655. height: 44px;
  656. border-radius: 22px;
  657. line-height: 44px;
  658. text-align: center;
  659. font-size: 15px;
  660. color: #fff;
  661. }
  662. .status {
  663. position: absolute;
  664. border-radius: 50%;
  665. padding: 0px 2px;
  666. right: -3px;
  667. bottom: -3px;
  668. background: #fff;
  669. }
  670. .status.success {
  671. border: 1px solid rgb(60, 156, 255);
  672. }
  673. .status.error {
  674. border: 1px solid rgb(245, 108, 108);
  675. }
  676. .status.question {
  677. border: 1px solid #f9ae3d;
  678. }
  679. }
  680. }
  681. .right {
  682. width: 80%;
  683. // color: #B0B1B5;
  684. margin-top: 10px;
  685. .right-content {
  686. background: #F2F3F7;
  687. margin-left: 10px;
  688. margin-top: 10px;
  689. padding: 10px;
  690. border-radius: 5px;
  691. color: #B0B1B5;
  692. }
  693. .right-item {
  694. display: flex;
  695. justify-content: space-between;
  696. .time {
  697. color: #999;
  698. }
  699. .item2 {
  700. margin-left: 20rpx;
  701. margin-top: -7px;
  702. .name {
  703. font-size: 28rpx;
  704. font-weight: 800;
  705. margin-bottom: 4px;
  706. }
  707. .status.success {
  708. color: #6CC48C;
  709. }
  710. .status.error {
  711. color: rgb(245, 108, 108);
  712. }
  713. .status.question {
  714. color: #f9ae3d;
  715. }
  716. }
  717. }
  718. }
  719. }
  720. .row2 {
  721. display: flex;
  722. .item-content {
  723. background: #22C572;
  724. width: 30px;
  725. height: 30px;
  726. border-radius: 50%;
  727. line-height: 30px;
  728. text-align: center;
  729. font-size: 12px;
  730. color: #fff;
  731. padding: 0 2px;
  732. margin: 0 auto;
  733. }
  734. .status {
  735. position: absolute;
  736. top: 0;
  737. right: 0;
  738. }
  739. }
  740. .row-line {
  741. width: 1px;
  742. height: 30px;
  743. background: #F2F2F2;
  744. margin: 10rpx 50rpx;
  745. }
  746. .audit {
  747. margin-top: 20rpx;
  748. }
  749. }
  750. .bottom-btn {
  751. width: 100%;
  752. position: fixed;
  753. bottom: 0;
  754. display: flex;
  755. z-index: 2;
  756. left: 0;
  757. background-color: #f8f8f8;
  758. flex-direction: column;
  759. .btn1,
  760. .btn2 {
  761. width: 100%;
  762. margin-bottom: 26rpx;
  763. border-radius: 90rpx;
  764. }
  765. .btn1 {
  766. background: white;
  767. color: #00C265;
  768. }
  769. }
  770. .row1 {
  771. border-bottom: 0 !important;
  772. }
  773. .topInfo {
  774. height: 210rpx;
  775. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  776. padding: 30rpx;
  777. .topInfo-item {
  778. height: 150rpx;
  779. background-color: #FFFFFF;
  780. border-radius: 20rpx;
  781. padding: 40rpx;
  782. .logo {
  783. width: 40rpx;
  784. height: 40rpx;
  785. margin-top: 8rpx;
  786. }
  787. .infoText {
  788. font-size: 36rpx;
  789. font-weight: 600;
  790. margin-left: 20rpx;
  791. }
  792. .infoData {
  793. color: #878C9C;
  794. font-size: 26rpx;
  795. margin-top: 10rpx;
  796. }
  797. }
  798. }
  799. .shade {
  800. position: fixed;
  801. top: 0;
  802. left: 0;
  803. height: 100%;
  804. width: 100%;
  805. background: rgba(0, 0, 0, 0.4);
  806. z-index: 3;
  807. .wrap {
  808. position: absolute;
  809. left: 0;
  810. top: 0;
  811. right: 0;
  812. bottom: 0;
  813. margin: auto;
  814. background: #fff;
  815. width: calc(100% - 198rpx);
  816. height: 700rpx;
  817. border-radius: 20rpx;
  818. .alert-top {
  819. padding: 33rpx;
  820. display: flex;
  821. justify-content: center;
  822. align-items: center;
  823. position: relative;
  824. }
  825. .title {
  826. font-size: 32rpx;
  827. font-weight: 600;
  828. color: #333333;
  829. }
  830. .close {
  831. position: absolute;
  832. right: 33rpx;
  833. }
  834. }
  835. }
  836. .cancel,
  837. .confirm {
  838. position: absolute;
  839. display: inline-block;
  840. width: 50%;
  841. text-align: center;
  842. bottom: 0;
  843. padding: 10px;
  844. border-top: 1px solid #eee;
  845. font-size: 34rpx;
  846. }
  847. .cancel {
  848. left: 0;
  849. border-right: 1px solid #eee;
  850. color: #AFB3BF;
  851. }
  852. .confirm {
  853. right: 0;
  854. color: #22C572;
  855. }
  856. .u-textarea-style {
  857. margin: 20rpx;
  858. background: #F9F9FA;
  859. border-radius: 10px;
  860. border: 1px solid #EEEEEE;
  861. padding: 10rpx 20rpx;
  862. position: relative;
  863. .right-bottom {
  864. position: absolute;
  865. right: 20rpx;
  866. bottom: 20rpx;
  867. color: #AFB3BF;
  868. }
  869. }
  870. /deep/.u-input__textarea {
  871. height: 300rpx !important;
  872. }
  873. .mx-content {
  874. background: #F9F9FA;
  875. padding: 30rpx;
  876. box-sizing: border-box;
  877. margin-top: 20rpx;
  878. border-radius: 20rpx;
  879. .name {
  880. font-size: 32rpx;
  881. font-weight: 700;
  882. border-bottom: 1px solid #EEEEEE;
  883. padding-bottom: 8rpx;
  884. }
  885. .mx-row1,
  886. .mx-row2 {
  887. display: flex;
  888. justify-content: space-between;
  889. margin-top: 20rpx;
  890. }
  891. .mx-item {
  892. text-align: left;
  893. // width: 33%;
  894. // text-align: center;
  895. }
  896. }
  897. </style>