warehouse_warrant.vue 26 KB

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