warehouse_warrant_detail.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987
  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" v-if='item.desc!="_PLACEHOLDER_"'>
  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&&item.desc!='_PLACEHOLDER_'"></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. if(res1.data.data.warehousingOrderList){
  351. var datalist=JSON.parse(JSON.stringify(res1.data.data.warehousingOrderList))
  352. }
  353. var arr=[]
  354. for (var i = 0; i < datalist.length; i++) {
  355. if(arr.length==0){
  356. arr.push(datalist[i])
  357. }else{
  358. var arr1=arr.filter((item)=>{return item.goodsName==datalist[i].goodsName})
  359. if(arr1.length>0){
  360. for (var q = 0; q < arr.length; q++) {
  361. if(arr[q].goodsName==datalist[i].goodsName){console.log(22222)
  362. console.log(arr[q].inWarehouseWeight,datalist[i].inWarehouseWeight)
  363. arr[q].inWarehouseWeight+=datalist[i].inWarehouseWeight
  364. arr[q].requestFunds+=datalist[i].requestFunds
  365. }
  366. }
  367. }else{
  368. arr.push(datalist[i])
  369. }
  370. }
  371. }
  372. for (var q = 0; q < arr.length; q++) {
  373. arr[q].inWarehouseWeight=arr[q].inWarehouseWeight.toFixed(2)
  374. arr[q].requestFunds=arr[q].requestFunds.toFixed(2)
  375. }
  376. console.log(arr,1111111)
  377. this.auditInfo.goodNameList=arr
  378. if(this.auditInfo.inWarehouseWeightTotal){
  379. this.auditInfo.inWarehouseWeightTotal = this.auditInfo.inWarehouseWeightTotal.toFixed(2)
  380. }
  381. if(this.auditInfo.requestFundsTotal){
  382. this.auditInfo.requestFundsTotal = this.auditInfo.requestFundsTotal.toFixed(2)
  383. }
  384. this.auditInfo.amountIngPayableTotal1 = helper.convertCurrency(this.auditInfo
  385. .amountIngPayableTotal)
  386. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  387. businessCode: 'WAREHOUSING-ORDER-APPROVE',
  388. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  389. }).then(res1 => {
  390. this.$api.doRequest('get', '/commonUser/getHis', {
  391. workflowId: res1.data.data[0].id,
  392. businessKey: this.id,
  393. branch:that.auditInfo.jointVentureParties?that.auditInfo.jointVentureParties:'zt'
  394. }).then(response => {
  395. uni.hideLoading()
  396. for (let i = 0; i < response.data.data.length; i++) {
  397. this.$set(response.data.data[i],'status','question')
  398. console.log(response.data.data[i].workflowHistoricTasks,i)
  399. if(response.data.data[i].commonStaffs){
  400. response.data.data[i].showflow=false
  401. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  402. response.data.data[i].operatorName=response.data.data[i].desc
  403. response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
  404. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  405. if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
  406. // response.data.data[i].status='question'
  407. this.$set(response.data.data[i],'status','question')
  408. }else{
  409. this.$set(response.data.data[i],'status','success')
  410. // response.data.data[i].status='success'
  411. }
  412. response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
  413. var workflowdata=response.data.data[i].workflowHistoricTasks
  414. var staffsdata=response.data.data[i].commonStaffs
  415. for (let q = 0; q < staffsdata.length; q++) {
  416. staffsdata[q].status=false
  417. staffsdata[q].staffTitle=staffsdata[q].staffName
  418. for (let k = 0; k < workflowdata.length; k++) {
  419. if(staffsdata[q].staffId==workflowdata[k].operatorId){
  420. staffsdata[q].status=true
  421. }
  422. }
  423. }
  424. }
  425. response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
  426. }else{
  427. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  428. var len =response.data.data[i].workflowHistoricTasks.length-1
  429. if(response.data.data[i].workflowHistoricTasks[len].approved){
  430. this.$set(response.data.data[i],'status','success')
  431. }else{
  432. this.$set(response.data.data[i],'status','error')
  433. }
  434. response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[len].operatorName.substring(response.data.data[i].workflowHistoricTasks[0].operatorName.length - 2)
  435. response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[len].operatorName
  436. var time=new Date(response.data.data[i].workflowHistoricTasks[len].claimTime).getTime()
  437. response.data.data[i].updateDate=this.$u.timeFormat(time, 'mm.dd hh:MM')
  438. response.data.data[i].auditMind=response.data.data[i].workflowHistoricTasks[len].auditMind
  439. }else{
  440. this.$set(response.data.data[i],'status','question')
  441. // response.data.data[i].status='question'
  442. if(response.data.data[i].desc=='总经理助理审核'){
  443. response.data.data[i].operatorTitle='总助'
  444. }else if(response.data.data[i].desc=='杜大光审核'){
  445. response.data.data[i].operatorTitle='大光'
  446. }else{
  447. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  448. }
  449. response.data.data[i].operatorName=response.data.data[i].desc
  450. var time1=new Date(response.data.data[i].updateDate).getTime()
  451. response.data.data[i].updateDate=this.$u.timeFormat(time1, 'mm.dd hh:MM')
  452. response.data.data[i].auditMind=''
  453. }
  454. }
  455. }
  456. console.log(response.data.data)
  457. this.auditList = response.data.data
  458. var time2=new Date(this.auditInfo.createDate).getTime()
  459. var time3=this.$u.timeFormat(time2, 'mm.dd hh:MM')
  460. this.auditList.unshift({
  461. operatorTitle:this.auditInfo.creater.substring(0,2),
  462. operatorName:this.auditInfo.creater,
  463. updateDate:time3,
  464. auditMind:'',
  465. desc:'发起申请',
  466. showflow:false,
  467. commonStaffs1:null,
  468. commonStaffs:null,
  469. workflowHistoricTasks:[],
  470. status:'success'
  471. })
  472. })
  473. })
  474. }
  475. })
  476. // this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  477. // businessCode: 'WAREHOUSING-ORDER-APPROVE',
  478. // tmpCompId: uni.getStorageSync('pcUserInfo').compId
  479. // }).then(res1 => {
  480. // this.updateDate = res1.data.data[0].updateDate
  481. // this.$api.doRequest('get', '/commonUser/getHis', {
  482. // workflowId: res1.data.data[0].id,
  483. // businessKey: this.id
  484. // }).then(response => {
  485. // // uni.hideLoading()
  486. // this.auditList = response.data.data
  487. // })
  488. // })
  489. },
  490. close() {
  491. this.show = false
  492. },
  493. fanHui(){
  494. uni.navigateBack()
  495. },
  496. pass() {
  497. this.show = true
  498. this.title = '审核意见(通过)'
  499. },
  500. reject() {
  501. this.show = true
  502. this.title = '驳回原因(驳回)'
  503. },
  504. //驳回
  505. // rejectSubmit() {
  506. // if (!this.auditMind) {
  507. // this.$api.msg('驳回原因不能为空!')
  508. // } else {
  509. // var that = this
  510. // that.show = false
  511. // if (this.List.length > 0) {
  512. // uni.showModal({
  513. // content: "确定驳回付款申请?",
  514. // showCancel: true,
  515. // confirmText: '确定',
  516. // success: function(res) {
  517. // if (res.confirm) {
  518. // that.audit(that.List[0], 0, false, '', '')
  519. // }
  520. // }
  521. // })
  522. // }
  523. // }
  524. // },
  525. // audit(list, index, status, status2, reason) {
  526. // uni.showLoading({
  527. // title: "审核中"
  528. // })
  529. // if (this.List.length > 0) {
  530. // if (status == true && list.status == "已驳回") {
  531. // this.$api.doRequest('get', '/paymentManagement/api/openAuditFlow', {
  532. // compId: "2710b21efc1e4393930c5dc800010dc4",
  533. // id: list.id
  534. // }).then(res => {
  535. // if (res.data.code == 200) {
  536. // this.audit(this.List[index + 1], index + 1, status, status2, reason)
  537. // }
  538. // })
  539. // } else {
  540. // for (var i = 0; i < this.List.length; i++) {
  541. // this.$api.doRequest('post', '/newWorkflow/api/handle', {
  542. // taskId: this.List[i].taskId,
  543. // approved: status,
  544. // auditMind: this.auditMind ? this.auditMind : "",
  545. // needReapply: status2 ? true : false
  546. // }).then(res => {
  547. // if (res.data.code == 200) {
  548. // uni.hideLoading()
  549. // // this.audit(this.List[index + 1], index + 1, status, status2, reason)
  550. // this.$api.msg('通过成功')
  551. // }else{
  552. // uni.hideLoading()
  553. // this.$api.msg('审核失败')
  554. // }
  555. // })
  556. // }
  557. // }
  558. // } else {
  559. // if (status == true) {
  560. // this.$api.msg('通过成功')
  561. // } else if (status == false) {
  562. // this.$api.msg('驳回成功')
  563. // }
  564. // let that = this
  565. // setTimeout(function() {
  566. // if (that.everyCheck) {
  567. // helper.setAudit(that.list)
  568. // } else {
  569. // uni.navigateBack()
  570. // }
  571. // uni.hideLoading()
  572. // }, 1000);
  573. // }
  574. // },
  575. }
  576. }
  577. </script>
  578. <style scoped lang="scss">
  579. .warp {
  580. margin: 10rpx;
  581. padding: 20rpx 20rpx 240rpx 20rpx;
  582. }
  583. .content1 {
  584. font-size: 28rpx;
  585. color: #333333;
  586. margin-top: 30rpx;
  587. padding: 20rpx;
  588. // .content-item {
  589. border-radius: 20rpx;
  590. background: white;
  591. // padding: 40rpx 20rpx;
  592. // margin-bottom: 30rpx;
  593. // }
  594. // .title {
  595. // font-size: 32rpx;
  596. // font-weight: 600;
  597. // color: #333333;
  598. // margin: 30rpx 0;
  599. // }
  600. // .goodsInfoCss {
  601. // font-size: 28rpx;
  602. // font-weight: 600;
  603. // color: #878C9C;
  604. // margin: 26rpx 10rpx;
  605. // }
  606. // .priceCss {
  607. // font-size: 40rpx;
  608. // margin: 26rpx 10rpx;
  609. // color: #22C572;
  610. // font-weight: 600;
  611. // }
  612. .row {
  613. display: flex;
  614. justify-content: space-between;
  615. border-bottom: 1px solid #EEEEEE;
  616. padding: 20rpx 0;
  617. .right,
  618. input {
  619. font-size: 28rpx;
  620. // color: #333333;
  621. }
  622. }
  623. .img_css {
  624. width: 50rpx;
  625. height: 50rpx;
  626. }
  627. .file {
  628. display: flex;
  629. align-items: center;
  630. margin: 30rpx 0 0 20rpx;
  631. .text_css {
  632. font-size: 30rpx;
  633. margin-left: 20rpx;
  634. }
  635. }
  636. }
  637. .title {
  638. font-size: 34rpx;
  639. font-weight: 700;
  640. // margin-bottom: 20rpx;
  641. height: 70rpx;
  642. border-bottom: 2rpx solid #EEEEEE;
  643. }
  644. .titlerow {
  645. font-size: 34rpx;
  646. font-weight: 700;
  647. // margin-bottom: 20rpx;
  648. // height: 70rpx;
  649. // border-bottom: 2rpx solid #EEEEEE;
  650. }
  651. .content2 {
  652. background: white;
  653. margin: 20rpx 0;
  654. border-radius: 20rpx;
  655. padding: 20rpx;
  656. .row {
  657. display: flex;
  658. .left {
  659. display: flex;
  660. align-items: center;
  661. .item1 {
  662. position: relative;
  663. .item-content {
  664. background: #617AE0;
  665. width: 44px;
  666. height: 44px;
  667. border-radius: 22px;
  668. line-height: 44px;
  669. text-align: center;
  670. font-size: 15px;
  671. color: #fff;
  672. }
  673. .status {
  674. position: absolute;
  675. border-radius: 50%;
  676. padding: 0px 2px;
  677. right: -3px;
  678. bottom: -3px;
  679. background: #fff;
  680. }
  681. .status.success {
  682. border: 1px solid rgb(60, 156, 255);
  683. }
  684. .status.error {
  685. border: 1px solid rgb(245, 108, 108);
  686. }
  687. .status.question {
  688. border: 1px solid #f9ae3d;
  689. }
  690. }
  691. }
  692. .right {
  693. width: 80%;
  694. // color: #B0B1B5;
  695. margin-top: 10px;
  696. .right-content {
  697. background: #F2F3F7;
  698. margin-left: 10px;
  699. margin-top: 10px;
  700. padding: 10px;
  701. border-radius: 5px;
  702. color: #B0B1B5;
  703. }
  704. .right-item {
  705. display: flex;
  706. justify-content: space-between;
  707. .time {
  708. color: #999;
  709. }
  710. .item2 {
  711. margin-left: 20rpx;
  712. margin-top: -7px;
  713. .name {
  714. font-size: 28rpx;
  715. font-weight: 800;
  716. margin-bottom: 4px;
  717. }
  718. .status.success {
  719. color: #6CC48C;
  720. }
  721. .status.error {
  722. color: rgb(245, 108, 108);
  723. }
  724. .status.question {
  725. color: #f9ae3d;
  726. }
  727. }
  728. }
  729. }
  730. }
  731. .row2 {
  732. display: flex;
  733. .item-content {
  734. background: #22C572;
  735. width: 30px;
  736. height: 30px;
  737. border-radius: 50%;
  738. line-height: 30px;
  739. text-align: center;
  740. font-size: 12px;
  741. color: #fff;
  742. padding: 0 2px;
  743. margin: 0 auto;
  744. }
  745. .status {
  746. position: absolute;
  747. top: 0;
  748. right: 0;
  749. }
  750. }
  751. .row-line {
  752. width: 1px;
  753. height: 30px;
  754. background: #F2F2F2;
  755. margin: 10rpx 50rpx;
  756. }
  757. .audit {
  758. margin-top: 20rpx;
  759. }
  760. }
  761. .bottom-btn {
  762. width: 100%;
  763. position: fixed;
  764. bottom: 0;
  765. display: flex;
  766. z-index: 2;
  767. left: 0;
  768. background-color: #f8f8f8;
  769. flex-direction: column;
  770. .btn1,
  771. .btn2 {
  772. width: 100%;
  773. margin-bottom: 26rpx;
  774. border-radius: 90rpx;
  775. }
  776. .btn1 {
  777. background: white;
  778. color: #00C265;
  779. }
  780. }
  781. .row1 {
  782. border-bottom: 0 !important;
  783. }
  784. .topInfo {
  785. height: 210rpx;
  786. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  787. padding: 30rpx;
  788. .topInfo-item {
  789. height: 150rpx;
  790. background-color: #FFFFFF;
  791. border-radius: 20rpx;
  792. padding: 40rpx;
  793. .logo {
  794. width: 40rpx;
  795. height: 40rpx;
  796. margin-top: 8rpx;
  797. }
  798. .infoText {
  799. font-size: 36rpx;
  800. font-weight: 600;
  801. margin-left: 20rpx;
  802. }
  803. .infoData {
  804. color: #878C9C;
  805. font-size: 26rpx;
  806. margin-top: 10rpx;
  807. }
  808. }
  809. }
  810. .shade {
  811. position: fixed;
  812. top: 0;
  813. left: 0;
  814. height: 100%;
  815. width: 100%;
  816. background: rgba(0, 0, 0, 0.4);
  817. z-index: 3;
  818. .wrap {
  819. position: absolute;
  820. left: 0;
  821. top: 0;
  822. right: 0;
  823. bottom: 0;
  824. margin: auto;
  825. background: #fff;
  826. width: calc(100% - 198rpx);
  827. height: 700rpx;
  828. border-radius: 20rpx;
  829. .alert-top {
  830. padding: 33rpx;
  831. display: flex;
  832. justify-content: center;
  833. align-items: center;
  834. position: relative;
  835. }
  836. .title {
  837. font-size: 32rpx;
  838. font-weight: 600;
  839. color: #333333;
  840. }
  841. .close {
  842. position: absolute;
  843. right: 33rpx;
  844. }
  845. }
  846. }
  847. .cancel,
  848. .confirm {
  849. position: absolute;
  850. display: inline-block;
  851. width: 50%;
  852. text-align: center;
  853. bottom: 0;
  854. padding: 10px;
  855. border-top: 1px solid #eee;
  856. font-size: 34rpx;
  857. }
  858. .cancel {
  859. left: 0;
  860. border-right: 1px solid #eee;
  861. color: #AFB3BF;
  862. }
  863. .confirm {
  864. right: 0;
  865. color: #22C572;
  866. }
  867. .u-textarea-style {
  868. margin: 20rpx;
  869. background: #F9F9FA;
  870. border-radius: 10px;
  871. border: 1px solid #EEEEEE;
  872. padding: 10rpx 20rpx;
  873. position: relative;
  874. .right-bottom {
  875. position: absolute;
  876. right: 20rpx;
  877. bottom: 20rpx;
  878. color: #AFB3BF;
  879. }
  880. }
  881. /deep/.u-input__textarea {
  882. height: 300rpx !important;
  883. }
  884. .mx-content {
  885. background: #F9F9FA;
  886. padding: 30rpx;
  887. box-sizing: border-box;
  888. margin-top: 20rpx;
  889. border-radius: 20rpx;
  890. .name {
  891. font-size: 32rpx;
  892. font-weight: 700;
  893. border-bottom: 1px solid #EEEEEE;
  894. padding-bottom: 8rpx;
  895. }
  896. .mx-row1,
  897. .mx-row2 {
  898. display: flex;
  899. justify-content: space-between;
  900. margin-top: 20rpx;
  901. }
  902. .mx-item {
  903. text-align: left;
  904. // width: 33%;
  905. // text-align: center;
  906. }
  907. }
  908. </style>