Issueandreceipt_task_details.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773
  1. <template>
  2. <view class="warp">
  3. <view class="topInfo" v-if='retreatList.inOutType!="退库"'>
  4. <view class="topInfo-item">
  5. <view class="flex info">
  6. <view class="logo">
  7. <image src="../../../static/img/reject.png" mode=""
  8. v-if="OutList.taskStatus == '已驳回'||EnterList.taskStatus == '已驳回'" style="height: 40rpx;">
  9. </image><!-- 驳回 -->
  10. <image src="../../../static/img/tongguo.png" mode=""
  11. v-else-if="OutList.taskStatus == '已通过'||EnterList.taskStatus == '已通过'||OutList.taskStatus == '执行中'"
  12. style="height: 40rpx;"></image><!-- 通过 -->
  13. <image src="../../../static/img/daishenhe.png" mode=""
  14. v-else-if="OutList.taskStatus == '审核中'||OutList.taskStatus == '待审核'||EnterList.taskStatus == '待审核'"
  15. style="height: 40rpx;"></image><!-- 待审核 -->
  16. </view>
  17. <view class="infoText" v-if="OutList.taskStatus">{{OutList.approveStatus?OutList.approveStatus:OutList.taskStatus}}</view>
  18. <view class="infoText" v-else>{{EnterList.approveStatus?EnterList.approveStatus:EnterList.taskStatus}}</view>
  19. </view>
  20. <view class="infoData" v-if="OutList.updateDate">{{OutList.updateDate}}</view>
  21. <view class="infoData" v-else>{{EnterList.updateDate}}</view>
  22. </view>
  23. </view>
  24. <view class="content1">
  25. <u-form :model="OutList" ref="uForm">
  26. <u-form-item label="任务类型" prop="inOutType" label-width="140" class="uForm_item">
  27. <u-input v-model="OutList.inOutType" input-align="right" disabled v-if="OutList.inOutType" />
  28. <u-input v-model="EnterList.inOutType" input-align="right" disabled v-else />
  29. </u-form-item>
  30. <view v-if="retreatList.judge == 3 && retreatList">
  31. <!-- 退库 -->
  32. <view class="uForm_item">
  33. <view class="title part2">{{retreatList.inOutType}}</view>
  34. <view class='row'>
  35. <view class="left">编号</view>
  36. <text selectable="true" class="right">退库({{retreatList.inOutTaskNo}})</text>
  37. </view>
  38. <view class='row'>
  39. <view class="left">仓库</view>
  40. <view class="right">{{retreatList.warehouseName}}</view>
  41. </view>
  42. <view class='row'>
  43. <view class="left">出库类型</view>
  44. <view class="right">{{retreatList.inOutType}}</view>
  45. </view>
  46. <view class='row' v-if="retreatList.inOutType == '移库出库'">
  47. <view class="left" style="width: 180rpx;">移库任务编号</view>
  48. <text selectable="true" class="right">{{retreatList.moveTaskNo}}</text>
  49. </view>
  50. <view class='row' v-if="retreatList.inOutType != '移库出库'">
  51. <view class="left">合同编号</view>
  52. <text selectable="true" class="right">退库({{retreatList.contractNo}}}</text>
  53. </view>
  54. <view class='row'>
  55. <view class="left">货名</view>
  56. <view class="right">{{retreatList.goodsName}}</view>
  57. </view>
  58. <view class='row'>
  59. <view class="left">重量(吨)</view>
  60. <view class="right">{{retreatList.weight}}</view>
  61. </view>
  62. <view class='row'>
  63. <view class="left">预计出库日期</view>
  64. <view class="right">{{retreatList.predictDate}}</view>
  65. </view>
  66. <!-- <view class='row'>
  67. <view class="left">预估运费(元/吨)</view>
  68. <view class="right">{{retreatList.estimatedFreight}}</view>
  69. </view> -->
  70. <view class='row'>
  71. <view class="left">收货人</view>
  72. <view class="right">{{retreatList.agent}}</view>
  73. </view>
  74. </view>
  75. <view class="uForm_item">
  76. <u-form-item label="品级" prop="grade" label-width="150" disabled>
  77. <u-input v-model="retreatList.grade" input-align="right" placeholder="" @click='show=true'
  78. disabled />
  79. </u-picker>
  80. </u-form-item>
  81. <u-form-item label="容重(克/升)>=" prop="bulkDensity" label-width="190">
  82. <u-input v-model="retreatList.bulkDensity" input-align="right" placeholder="" disabled />
  83. </u-form-item>
  84. <u-form-item label="水分(%)<=" prop="waterContent" label-width="160">
  85. <u-input v-model="retreatList.waterContent" input-align="right" placeholder="" disabled />
  86. </u-form-item>
  87. <u-form-item label="单价(元/吨)" prop="unitPrice" label-width="160">
  88. <u-input v-model="retreatList.unitPrice" input-align="right" placeholder="" disabled />
  89. </u-form-item>
  90. </view>
  91. </view>
  92. <view v-if="OutList.judge == 1">
  93. <view class="uForm_item">
  94. <!-- 出库 -->
  95. <view class="title part2">{{OutList.inOutType}}</view>
  96. <view class='row'>
  97. <view class="left">编号</view>
  98. <text selectable="true" class="right">出库({{OutList.inOutTaskNo}})</text>
  99. </view>
  100. <view class='row'>
  101. <view class="left">仓库</view>
  102. <view class="right">{{OutList.warehouseName}}</view>
  103. </view>
  104. <view class='row'>
  105. <view class="left">出库类型</view>
  106. <view class="right">{{OutList.inOutType}}</view>
  107. </view>
  108. <view class='row' v-if="OutList.inOutType == '移库出库'">
  109. <view class="left" style="width: 180rpx;">移库任务编号</view>
  110. <text selectable="true" class="right">{{OutList.moveTaskNo}}</text>
  111. </view>
  112. <view class='row' v-if="OutList.inOutType != '移库出库'">
  113. <view class="left">合同编号</view>
  114. <text selectable="true" class="right">{{OutList.contractNo}}</text>
  115. </view>
  116. <view class='row'>
  117. <view class="left">货名</view>
  118. <view class="right">{{OutList.goodsName}}</view>
  119. </view>
  120. <view class='row'>
  121. <view class="left">重量(吨)</view>
  122. <view class="right">{{OutList.weight}}</view>
  123. </view>
  124. <view class='row'>
  125. <view class="left">预计出库日期</view>
  126. <view class="right">{{OutList.predictDate}}</view>
  127. </view>
  128. <!-- <view class='row'>
  129. <view class="left">预估运费(元/吨)</view>
  130. <view class="right">{{OutList.estimatedFreight}}</view>
  131. </view> -->
  132. <view class='row'>
  133. <view class="left">发货人</view>
  134. <view class="right">{{OutList.agent}}</view>
  135. </view>
  136. </view>
  137. <view class="uForm_item">
  138. <u-form-item label="品级" prop="grade" label-width="150" v-if="retreatList.inOutType != '退库'">
  139. <u-input v-model="OutList.grade" input-align="right" placeholder="" disabled />
  140. </u-form-item>
  141. <u-form-item label="容重(克/升)>=" prop="bulkDensity" label-width="190"
  142. v-if="retreatList.inOutType != '退库'">
  143. <u-input v-model="OutList.bulkDensity" input-align="right" placeholder="" disabled />
  144. </u-form-item>
  145. <u-form-item label="水分(%)<=" prop="waterContent" label-width="160"
  146. v-if="retreatList.inOutType != '退库'">
  147. <u-input v-model="OutList.waterContent" input-align="right" placeholder="" disabled />
  148. </u-form-item>
  149. <u-form-item label="单价(元/吨)" prop="unitPrice" label-width="160"
  150. v-if="retreatList.inOutType != '退库'">
  151. <u-input v-model="OutList.unitPrice" input-align="right" placeholder="" disabled />
  152. </u-form-item>
  153. <u-form-item label="业务描述" prop="businessDescribe" label-width="160" label-position="top"
  154. v-if="OutList.inOutType != '移库出库'">
  155. <u-input v-model="OutList.businessDescribe" input-align="left" placeholder="请输入业务描述"
  156. type="textarea" class="textarea" maxlength="150" disabled />
  157. </u-form-item>
  158. <u-form-item v-if="retreatList.inOutType!='退库'" label="仓位号(选填)" prop="binNumber"
  159. label-width="170">
  160. <u-input v-model="OutList.binNumber" input-align="right" placeholder="未指定" disabled />
  161. </u-form-item>
  162. </view>
  163. </view>
  164. <view v-if="EnterList.judge == 2 && EnterList">
  165. <view class="uForm_item">
  166. <!-- 入库 -->
  167. <view class="title part2">{{EnterList.inOutType}}</view>
  168. <view class='row'>
  169. <view class="left">编号</view>
  170. <text selectable="true" class="right">入库({{EnterList.inOutTaskNo}})</text>
  171. </view>
  172. <view class='row'>
  173. <view class="left">仓库</view>
  174. <view class="right">{{EnterList.warehouseName}}</view>
  175. </view>
  176. <view class='row'>
  177. <view class="left">入库类型</view>
  178. <view class="right">{{EnterList.inOutType}}</view>
  179. </view>
  180. <view class='row' v-if="EnterList.inOutType == '移库入库'">
  181. <view class="left" style="width: 180rpx;">移库任务编号</view>
  182. <text selectable="true" class="right">{{EnterList.moveTaskNo}}</text>
  183. </view>
  184. <view class='row' v-if="EnterList.inOutType != '移库入库'">
  185. <view class="left">合同编号</view>
  186. <text selectable="true" class="right">{{EnterList.contractNo}}</text>
  187. </view>
  188. <view class='row'>
  189. <view class="left">货名</view>
  190. <view class="right">{{EnterList.goodsName}}</view>
  191. </view>
  192. <view class='row'>
  193. <view class="left">重量(吨)</view>
  194. <view class="right">{{EnterList.weight}}</view>
  195. </view>
  196. <view class='row'>
  197. <view class="left">预计入库日期</view>
  198. <view class="right">{{EnterList.predictDate}}</view>
  199. </view>
  200. <!-- <view class='row'>
  201. <view class="left">预估运费(元/吨)</view>
  202. <view class="right">{{EnterList.estimatedFreight}}</view>
  203. </view> -->
  204. <view class='row'>
  205. <view class="left">收货人</view>
  206. <view class="right">{{EnterList.agent}}</view>
  207. </view>
  208. </view>
  209. <view class="uForm_item">
  210. <u-form-item label="品级" prop="grade" label-width="150" v-if="EnterList.inOutType != '移库入库' ">
  211. <u-input v-model="EnterList.grade" input-align="right" placeholder="请选择品级"
  212. @click='show=true' disabled />
  213. </u-picker>
  214. </u-form-item>
  215. <u-form-item label="容重(克/升)>=" prop="bulkDensity" label-width="190"
  216. v-if="EnterList.inOutType != '移库入库'">
  217. <u-input v-model="EnterList.bulkDensity" input-align="right" placeholder="请输入容重占比"
  218. disabled />
  219. </u-form-item>
  220. <u-form-item label="水分(%)<=" prop="waterContent" label-width="160"
  221. v-if="EnterList.inOutType != '移库入库'">
  222. <u-input v-model="EnterList.waterContent" input-align="right" placeholder="请输入水分占比"
  223. disabled />
  224. </u-form-item>
  225. <u-form-item label="单价(元/吨)" prop="unitPrice" label-width="160"
  226. v-if="EnterList.inOutType != '移库入库'">
  227. <u-input v-model="EnterList.unitPrice" input-align="right" placeholder="请输入单价" disabled />
  228. </u-form-item>
  229. <u-form-item label="业务描述" prop="businessDescribe" label-width="160" label-position="top">
  230. <u-input v-model="EnterList.businessDescribe" input-align="left" placeholder="请输入业务描述"
  231. type="textarea" class="textarea" maxlength="150" disabled />
  232. </u-form-item>
  233. <u-form-item v-if="OutList.inOutType!='退库'" label="仓位号(选填)" prop="binNumber" label-width="170">
  234. <u-input v-model="EnterList.binNumber" input-align="right" placeholder="未指定" disabled />
  235. </u-form-item>
  236. </view>
  237. </view>
  238. <view class="uForm_item" v-if="OutList.taskTypeKey == 3 && !EnterList.judge">
  239. <view class="deleteText">移库入库(已删除)</view>
  240. </view>
  241. <view class="content2">
  242. <view class="title row">
  243. 流程
  244. </view>
  245. <view v-for="(item,index) in auditList" :key='index' class="audit">
  246. <view class="row" v-if='item.desc!="_PLACEHOLDER_"'>
  247. <view class="left">
  248. <view class="item1">
  249. <view class="item-content">{{item.operatorTitle}}</view>
  250. <view v-if="item.status=='success'" class='status success'>
  251. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  252. </view>
  253. <view v-if="item.status=='error'" class='status error'>
  254. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  255. </view>
  256. <view v-if="item.status=='question'" class='status question'>
  257. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  258. </view>
  259. </view>
  260. </view>
  261. <view class="right">
  262. <view class="right-item">
  263. <view class="item2">
  264. <view class="name">{{item.desc}}
  265. </view>
  266. <!-- <view class='time'>{{item.updateDate}}</view> -->
  267. <view v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1&&index!=0'>已审核</text></view>
  268. <view v-if="item.status=='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text></view>
  269. <view v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
  270. <!-- <view class="status success">吕波(已审核)</view> -->
  271. </view>
  272. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0' class='time'>
  273. {{item.updateDate}}
  274. </view>
  275. </view>
  276. <view v-if='item.auditMind' class="right-content">
  277. {{item.auditMind}}
  278. </view>
  279. </view>
  280. <view v-if='item.commonStaffs1' class="right">
  281. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28"></u-icon>
  282. </view>
  283. </view>
  284. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  285. <view class='row2'>
  286. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  287. <view class="item-content">
  288. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  289. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  290. </view>
  291. <view class="name">{{item1.staffName}}</view>
  292. </view>
  293. </view>
  294. </view>
  295. <view class="row-line" v-if="index!= auditList.length - 1&&item.desc!='_PLACEHOLDER_'"></view>
  296. </view>
  297. </view>
  298. </u-form>
  299. </view>
  300. <view style='padding:10px;' class='flex bottom-btn'>
  301. <u-button @click='fanHui' type="success" class="btn1" hover-class='none'>返回</u-button>
  302. </view>
  303. </view>
  304. </template>
  305. <script>
  306. import {
  307. mapState
  308. } from 'vuex';
  309. export default {
  310. data() {
  311. return {
  312. id: "",
  313. OutList: {}, //出
  314. EnterList: {}, //入
  315. retreatList: {}, //退
  316. type: '移库',
  317. show: false,
  318. show1: false,
  319. border: false,
  320. auditList:[],
  321. list:{},
  322. rejectInfo: "", //驳回原因
  323. pjList: [{
  324. type: '一等品'
  325. },
  326. {
  327. type: '二等品'
  328. },
  329. {
  330. type: '三等品'
  331. },
  332. {
  333. type: '等外'
  334. }
  335. ],
  336. }
  337. },
  338. // onReady() {
  339. // this.$refs.uForm.setRules(this.rules);
  340. // },
  341. onLoad(options) {
  342. this.id = options.id
  343. this.getList()
  344. },
  345. computed: {
  346. ...mapState(['hasLogin', 'userInfo']),
  347. },
  348. methods: {
  349. showcontent(item){
  350. item.showflow=!item.showflow
  351. },
  352. getList() {
  353. var that = this
  354. uni.showLoading({
  355. title:'加载中',
  356. mask:true
  357. })
  358. this.$api.doRequest('get', '/inOutWarehouseTask/getTask', {
  359. id: this.id
  360. }).then(res => {
  361. if (res.data.code == 200) {
  362. this.list=res.data.data
  363. this.$api.doRequest('get', '/inOutWarehouseTask/getInOutWarehouseTask', {
  364. relevanceId: res.data.data.relevanceId
  365. }).then(res => {
  366. if (res.data.code == 200) {
  367. for (let i = 0; i < res.data.data.length; i++) {
  368. if (res.data.data[i].inOutType == "移库出库" || res.data.data[i]
  369. .inOutType == "贸易服务出库" || res.data.data[i].inOutType == "销售出库" ||
  370. res.data.data[i].inOutType == "暂存出库") {
  371. this.OutList = res.data.data[i]
  372. this.OutList.judge = 1
  373. } else if (res.data.data[i].inOutType == "移库入库" || res.data.data[i]
  374. .inOutType == "暂存入库" || res
  375. .data.data[i].inOutType == "采购入库" || res.data.data[i].inOutType ==
  376. "贸易服务入库"|| res.data.data[i].inOutType ==
  377. "收购入库") {
  378. this.EnterList = res.data.data[i]
  379. this.EnterList.judge = 2
  380. } else if (res.data.data[i].inOutType == "退库") {
  381. this.retreatList = res.data.data[i]
  382. this.retreatList.judge = 3
  383. }
  384. }
  385. }
  386. //审核流程
  387. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  388. businessCode: 'INOUTTASK-TASK-APPROVE',
  389. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  390. }).then(res1 => {
  391. this.$api.doRequest('get', '/commonUser/getHis', {
  392. workflowId: res1.data.data[0].id,
  393. businessKey: this.id,
  394. branch:that.list.jointVentureParties?that.list.jointVentureParties:'zt'
  395. }).then(response => {
  396. uni.hideLoading()
  397. for (let i = 0; i < response.data.data.length; i++) {
  398. this.$set(response.data.data[i],'status','question')
  399. console.log(response.data.data[i].workflowHistoricTasks,i)
  400. if(response.data.data[i].commonStaffs){
  401. response.data.data[i].showflow=false
  402. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  403. response.data.data[i].operatorName=response.data.data[i].desc
  404. response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
  405. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  406. if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
  407. // response.data.data[i].status='question'
  408. this.$set(response.data.data[i],'status','question')
  409. }else{
  410. this.$set(response.data.data[i],'status','success')
  411. // response.data.data[i].status='success'
  412. }
  413. response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
  414. var workflowdata=response.data.data[i].workflowHistoricTasks
  415. var staffsdata=response.data.data[i].commonStaffs
  416. for (let q = 0; q < staffsdata.length; q++) {
  417. staffsdata[q].status=false
  418. staffsdata[q].staffTitle=staffsdata[q].staffName
  419. for (let k = 0; k < workflowdata.length; k++) {
  420. if(staffsdata[q].staffId==workflowdata[k].operatorId){
  421. staffsdata[q].status=true
  422. }
  423. }
  424. }
  425. }
  426. response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
  427. }else{
  428. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  429. var len =response.data.data[i].workflowHistoricTasks.length-1
  430. if(response.data.data[i].workflowHistoricTasks[len].approved){
  431. this.$set(response.data.data[i],'status','success')
  432. }else{
  433. this.$set(response.data.data[i],'status','error')
  434. }
  435. response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[len].operatorName.substring(response.data.data[i].workflowHistoricTasks[0].operatorName.length - 2)
  436. response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[len].operatorName
  437. var time=new Date(response.data.data[i].workflowHistoricTasks[len].claimTime).getTime()
  438. response.data.data[i].updateDate=this.$u.timeFormat(time, 'mm.dd hh:MM')
  439. response.data.data[i].auditMind=response.data.data[i].workflowHistoricTasks[len].auditMind
  440. }else{
  441. this.$set(response.data.data[i],'status','question')
  442. // response.data.data[i].status='question'
  443. if(response.data.data[i].desc=='总经理助理审核'){
  444. response.data.data[i].operatorTitle='总助'
  445. }else if(response.data.data[i].desc=='杜大光审核'){
  446. response.data.data[i].operatorTitle='大光'
  447. }else{
  448. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  449. }
  450. response.data.data[i].operatorName=response.data.data[i].desc
  451. var time1=new Date(response.data.data[i].updateDate).getTime()
  452. response.data.data[i].updateDate=this.$u.timeFormat(time1, 'mm.dd hh:MM')
  453. response.data.data[i].auditMind=''
  454. }
  455. }
  456. }
  457. console.log(response.data.data)
  458. this.auditList = response.data.data
  459. var time2=new Date(this.list.createDate).getTime()
  460. var time3=this.$u.timeFormat(time2, 'mm.dd hh:MM')
  461. this.auditList.unshift({
  462. operatorTitle:this.list.creater.substring(0,2),
  463. operatorName:this.list.creater,
  464. updateDate:time3,
  465. auditMind:'',
  466. desc:'发起申请',
  467. showflow:false,
  468. commonStaffs1:null,
  469. commonStaffs:null,
  470. workflowHistoricTasks:[],
  471. status:'success'
  472. })
  473. })
  474. })
  475. })
  476. }
  477. })
  478. },
  479. // pjPicker(e) {
  480. // this.OutList.grade = this.pjList[e[0]].type
  481. // this.OutList.gradeKey = e[0] + 1
  482. // },
  483. // pjPicker1(e) {
  484. // this.EnterList.grade = this.pjList[e[0]].type
  485. // this.EnterList.gradeKey = e[0] + 1
  486. // },
  487. fanHui() {
  488. uni.navigateBack()
  489. }
  490. }
  491. }
  492. </script>
  493. <style scoped lang="scss">
  494. .content1 {
  495. margin: 10rpx;
  496. padding-bottom: 120rpx;
  497. .title {
  498. height: 70rpx;
  499. line-height: 60rpx;
  500. font-size: 32rpx;
  501. font-weight: 600;
  502. color: #333333;
  503. border-bottom: 2rpx solid #EEEEEE;
  504. }
  505. }
  506. .uForm {
  507. padding: 0 40rpx;
  508. }
  509. .u-form-item {
  510. padding: 0;
  511. }
  512. .bottom-btn {
  513. width: 100%;
  514. position: fixed;
  515. bottom: 0;
  516. display: flex;
  517. z-index: 2;
  518. left: 0;
  519. background-color: #f8f8f8;
  520. flex-direction: column;
  521. .btn1,
  522. .btn2 {
  523. width: 100%;
  524. margin-bottom: 26rpx;
  525. border-radius: 90rpx;
  526. }
  527. .btn1 {
  528. background: white;
  529. color: #00C265;
  530. }
  531. }
  532. .submit {
  533. width: 50%;
  534. background: #22C572;
  535. border-radius: 10rpx;
  536. }
  537. .part2 {
  538. margin-top: 20rpx;
  539. }
  540. .textarea {
  541. border: 1px solid #ccc;
  542. border-radius: 10rpx;
  543. background-color: #F9F9FA;
  544. height: 100px;
  545. }
  546. .row {
  547. display: flex;
  548. justify-content: space-between;
  549. // border-bottom: 1px solid #EEEEEE;
  550. padding: 21rpx 0;
  551. .right,
  552. input {
  553. font-size: 28rpx;
  554. color: #333333;
  555. }
  556. }
  557. //弹出框
  558. // .popup {
  559. // padding: 30rpx;
  560. // border-radius: 20rpx;
  561. // }
  562. .rejectInfoCss {
  563. border: 1px solid #ccc;
  564. border-radius: 10rpx;
  565. background-color: #F9F9FA;
  566. height: 100px;
  567. margin: 30rpx;
  568. }
  569. .uForm_item {
  570. padding: 20rpx;
  571. background-color: #FFFFFF;
  572. margin: 20rpx;
  573. border-radius: 20rpx;
  574. }
  575. .rejectText {
  576. text-align: center;
  577. }
  578. .topInfo {
  579. height: 210rpx;
  580. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  581. padding: 30rpx;
  582. .topInfo-item {
  583. height: 150rpx;
  584. background-color: #FFFFFF;
  585. border-radius: 20rpx;
  586. padding: 40rpx;
  587. .logo {
  588. width: 40rpx;
  589. height: 40rpx;
  590. margin-top: 8rpx;
  591. }
  592. .infoText {
  593. font-size: 36rpx;
  594. font-weight: 600;
  595. margin-left: 20rpx;
  596. }
  597. .infoData {
  598. color: #878C9C;
  599. font-size: 26rpx;
  600. margin-top: 10rpx;
  601. }
  602. }
  603. }
  604. .deleteText {
  605. text-align: center;
  606. color: #AFB3BF;
  607. }
  608. .content2 {
  609. background: white;
  610. margin: 20rpx 0;
  611. border-radius: 20rpx;
  612. padding: 20rpx;
  613. .row {
  614. display: flex;
  615. .left {
  616. display: flex;
  617. align-items: center;
  618. .item1 {
  619. position: relative;
  620. .item-content {
  621. background: #617AE0;
  622. width: 44px;
  623. height: 44px;
  624. border-radius: 22px;
  625. line-height: 44px;
  626. text-align: center;
  627. font-size: 15px;
  628. color: #fff;
  629. }
  630. .status {
  631. position: absolute;
  632. border-radius: 50%;
  633. padding: 0px 2px;
  634. right: -3px;
  635. bottom: -3px;
  636. background: #fff;
  637. }
  638. .status.success {
  639. border: 1px solid rgb(60, 156, 255);
  640. }
  641. .status.error {
  642. border: 1px solid rgb(245, 108, 108);
  643. }
  644. .status.question {
  645. border: 1px solid #f9ae3d;
  646. }
  647. }
  648. }
  649. .right {
  650. width: 80%;
  651. // color: #B0B1B5;
  652. margin-top: 10px;
  653. .right-content {
  654. background: #F2F3F7;
  655. margin-left: 10px;
  656. margin-top: 10px;
  657. padding: 10px;
  658. border-radius: 5px;
  659. color: #B0B1B5;
  660. }
  661. .right-item {
  662. display: flex;
  663. justify-content: space-between;
  664. .time {
  665. color: #999;
  666. }
  667. .item2 {
  668. margin-left: 20rpx;
  669. margin-top: -7px;
  670. .name {
  671. font-size: 28rpx;
  672. font-weight: 800;
  673. margin-bottom: 4px;
  674. }
  675. .status.success {
  676. color: #6CC48C;
  677. }
  678. .status.error {
  679. color: rgb(245, 108, 108);
  680. }
  681. .status.question {
  682. color: #f9ae3d;
  683. }
  684. }
  685. }
  686. }
  687. }
  688. .row2 {
  689. display: flex;
  690. .item-content {
  691. background: #22C572;
  692. width: 30px;
  693. height: 30px;
  694. border-radius: 50%;
  695. line-height: 30px;
  696. text-align: center;
  697. font-size: 12px;
  698. color: #fff;
  699. padding: 0 2px;
  700. margin: 0 auto;
  701. }
  702. .status {
  703. position: absolute;
  704. top: 0;
  705. right: 0;
  706. }
  707. }
  708. .row-line {
  709. width: 1px;
  710. height: 30px;
  711. background: #F2F2F2;
  712. margin: 10rpx 50rpx;
  713. }
  714. .audit {
  715. margin-top: 20rpx;
  716. }
  717. }
  718. </style>