warehouse_warrant.vue 26 KB

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