charge_against_revenue_detail.vue 26 KB

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