Issueandreceipt_task_details.vue 26 KB

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