warehouse_warrant_detail.vue 26 KB

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