Issueandreceipt_task_details.vue 26 KB

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