deliveryDetails.vue 21 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073
  1. <template>
  2. <view >
  3. <u-navbar title="归还单详情">
  4. <view class="details" slot="bottom">
  5. <view class="list">
  6. <view class="list-head">
  7. <view class="title">
  8. 扫码核验
  9. </view>
  10. <view class="amount" @click="gotoscan('')">
  11. <u-icon name="scan" color="#0051ff" ></u-icon>扫码识别
  12. </view>
  13. </view>
  14. </view>
  15. </view>
  16. </u-navbar>
  17. <u-popup v-model="showpopup" class="" mode="bottom"
  18. border-radius="14"
  19. :closeable="true" >
  20. <view class="scantitle">连续扫码</view>
  21. <view class="list">
  22. <view class=" list-infos">
  23. <view class="infos-head">
  24. <view class="name">
  25. {{nowscan.title?nowscan.title:'扫码后出当前结果'}}
  26. </view>
  27. <view class="name">
  28. 编号:{{nowscan.code}}
  29. </view>
  30. </view>
  31. <view class="infos-head infos-head2" style="margin-bottom: 12rpx;">
  32. <view class="name">
  33. 上次巡检:{{nowscan.experimentLastTime}}
  34. </view>
  35. <view class="name" v-show="nowscan.experimentPeriod">
  36. 周期:{{nowscan.experimentPeriod}}天
  37. </view>
  38. </view>
  39. <view class="infos">
  40. <view class="infos-1">
  41. <view class="infos-item">
  42. <view class="item-name">
  43. 厂家:
  44. </view>
  45. <view class="item-value">
  46. {{nowscan.manufactor}}
  47. </view>
  48. </view>
  49. <view class="infos-item">
  50. <view class="item-name">
  51. 单位:
  52. </view>
  53. <view class="item-value">
  54. {{nowscan.unit}}
  55. </view>
  56. </view>
  57. </view>
  58. <view class="infos-2">
  59. <view class="infos-item">
  60. <view class="item-name">
  61. 规格:
  62. </view>
  63. <view class="item-value">
  64. {{nowscan.specifications}}
  65. </view>
  66. </view>
  67. <view class="infos-item">
  68. <view class="item-name">
  69. 型号:
  70. </view>
  71. <view class="item-value">
  72. {{nowscan.model}}
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. </view>
  78. </view>
  79. <!-- #ifdef MP-WEIXIN -->
  80. <camera mode="scanCode" resolution='medium'
  81. @scancode="takeCode" v-if="showpopup"
  82. device-position="back" flash="off" @error="error"
  83. style="width: 100%; height: 300px;"></camera>
  84. <!-- #endif -->
  85. </u-popup>
  86. <!-- 出库单状态 -->
  87. <view class="container" style="margin-top: 60px;">
  88. <view class="head">
  89. <view class="photo">
  90. <u-avatar size="84" :src="outUser.userImg"></u-avatar>
  91. </view>
  92. <view class="name">
  93. {{info.createByName}}
  94. </view>
  95. <view class="submit">
  96. 提交了<text>入库申请</text>
  97. </view>
  98. <view class="state" :style="{
  99. color:recordStatusColor(info.status),
  100. borderColor:recordStatusColor(info.status)
  101. }">
  102. {{info.status=='1'?'已入库':'待入库'}}
  103. </view>
  104. </view>
  105. <!-- 出库单详情 -->
  106. <view class="details">
  107. <view class="item">
  108. <view class="name">
  109. 所属项目
  110. </view>
  111. <view class="value">
  112. {{info.projectName}}
  113. </view>
  114. </view>
  115. <view class="item">
  116. <view class="name">
  117. 创建时间
  118. </view>
  119. <view class="value">
  120. {{info.createTime}}
  121. </view>
  122. </view>
  123. </view>
  124. <!-- 出库设备清单 -->
  125. <view class="container">
  126. <view class="main">
  127. <view class="list-item" v-for="(item,index) in deviceInfoList" :key="index">
  128. <!--信息 -->
  129. <view class="list-infos">
  130. <view class="infos-head">
  131. <view class="name">
  132. {{item.deviceInfo.title}}
  133. </view>
  134. <template v-if="info.status==0">
  135. <view class="qr-code" v-if="deviceReList[index].deviceIdScan==0" >
  136. </view>
  137. <view class="qr-code2" v-else @click="gotoscan('')" >
  138. <text><u-icon name="checkmark-circle" color="#45BA45" ></u-icon></text >
  139. <text>扫码成功</text>
  140. </view>
  141. </template>
  142. <template v-else>
  143. <view style="color: #3385FF;" @click="ckInfo(item)" >
  144. <text>查看设备</text>
  145. </view>
  146. </template>
  147. </view>
  148. <view class="infos">
  149. <view class="infos-1">
  150. <view class="infos-item">
  151. <view class="item-name">
  152. 型号:
  153. </view>
  154. <view class="item-value">
  155. {{item.deviceInfo.model}}
  156. </view>
  157. </view>
  158. </view>
  159. <view class="infos-2">
  160. <view class="infos-item">
  161. <view class="item-name">
  162. 设备编号:
  163. </view>
  164. <view class="item-value">
  165. {{item.deviceInfo.code}}
  166. </view>
  167. </view>
  168. </view>
  169. </view>
  170. </view>
  171. <view class="receive-options">
  172. <view class="title">
  173. 是否收到
  174. </view>
  175. <view class="receive-radio">
  176. <u-radio-group v-model="deviceReList[index].status" @change="radioGroupChange">
  177. <u-radio @change="radioChange" v-for="(radio, index2) in radiolist" :key="index2"
  178. :name="radio.value" :disabled="radio.disabled">
  179. {{radio.name}}
  180. </u-radio>
  181. </u-radio-group>
  182. </view>
  183. </view>
  184. <!-- 备注 -->
  185. <textarea class="uni-textarea" v-model="deviceReList[index].remark" placeholder="备注" name="" id="" cols="30" rows="10"></textarea>
  186. <!-- 上传图片 -->
  187. <view class="upload-img" v-if="info.status=='0'">
  188. <ujp-upload width="144" height="144" :ref="'uUpload'+index"
  189. :key="index"
  190. name="photoFile" :multiple="false"
  191. :form-data="formData" :header="header" :action="action"
  192. max-count="4" upload-text=" " del-bg-color="#0051FF" ></ujp-upload>
  193. </view>
  194. <view class="upload-img" v-else >
  195. <ujp-upload width="144" height="144" :key="1"
  196. v-if="deviceReList[index].imgUrls"
  197. :fileList="deviceReList[index].imgUrls.split(',').map(item=>{return {url:item,view:1}})"
  198. name="photoFile" :multiple="false" :deletable="false"
  199. max-count="0" upload-text=" " del-bg-color="#0051FF" ></ujp-upload>
  200. </view>
  201. </view>
  202. <u-divider
  203. border-color="#CFD2D5">已经到底了</u-divider>
  204. </view>
  205. </view>
  206. </view>
  207. <view class="bottom" v-if="info.status==0" >
  208. <u-button type="primary" @click="gotoOut()" >确认归还</u-button>
  209. </view>
  210. </view>
  211. </template>
  212. <script>
  213. import * as API from '@/apis/pagejs/storeManagement.js'
  214. import ujpUpload from "@/pages/storeManagement/components/u-upload.vue"
  215. import {
  216. recordStatus,recordStatusColor
  217. } from '@/apis/status.js'
  218. export default {
  219. components:{
  220. ujpUpload
  221. },
  222. data() {
  223. return {
  224. nowscan:{
  225. "title": "",
  226. "specifications": "",
  227. "experimentLastTime":"",
  228. "manufactor": "",
  229. "unit": "",
  230. "model": "",
  231. "code": "",
  232. },
  233. scanList: [],
  234. scanFunctionIsUseable:true,
  235. showpopup:false,
  236. action:"",
  237. formData:{
  238. subFolder:"equipmentEnter"
  239. },
  240. header:{
  241. },
  242. radiolist: [{
  243. name: '已收到',
  244. value:"1",
  245. disabled: false
  246. },
  247. {
  248. name: '未收到',
  249. value:"2",
  250. disabled: false
  251. },
  252. ],
  253. value: '已收到',
  254. id:"",
  255. info:{
  256. projectName:"",
  257. startTime:"",
  258. endTime:"",
  259. createTime:"",
  260. createByName:""
  261. },
  262. outUser:{
  263. name:"",
  264. headImg:""
  265. },
  266. deviceInfoList:[],
  267. deviceReList:[],
  268. }
  269. },
  270. onLoad(op){
  271. this.id=op.id
  272. this.getInfo()
  273. this.action=process.car.BASE_URL+"uploadPicture"
  274. this.formData.subFolder="feedback"
  275. //接口应该免登陆
  276. var token=this.carhelp.getToken()
  277. this.header={
  278. 'Authorization':token
  279. }
  280. },
  281. methods:{
  282. recordStatus,recordStatusColor,
  283. ckInfo(item) {
  284. var url = "/pages/otherFunctions/equipmentRetrieval/equipmentInfo?id=" + item.deviceId;
  285. uni.navigateTo({
  286. url: url,
  287. })
  288. },
  289. getInfo(bl){
  290. uni.showLoading({
  291. title: "加载中",
  292. mask: true,
  293. })
  294. API.inRecordDetail({
  295. id:this.id,
  296. }).then((res) => {
  297. uni.hideLoading();
  298. this.info=res.data.inRecord;
  299. this.deviceInfoList=res.data.inRecordDeviceList;
  300. //this.outUser=res.data.outUser;
  301. if(bl){
  302. const eventChannel = this.getOpenerEventChannel();
  303. eventChannel.emit('refreshData');
  304. }
  305. this.deviceReList=this.deviceInfoList.map(item=>{
  306. if(this.info.status==0){
  307. return {
  308. recordDeviceId:item.id,
  309. deviceId:item.deviceInfo.id,
  310. remark:"",
  311. deviceIdScan:0,
  312. status:"2",
  313. }
  314. }else{
  315. return {
  316. recordDeviceId:item.id,
  317. deviceId:item.deviceInfo.id,
  318. remark:item.remark,
  319. imgUrls:item.imgUrls,
  320. status:item.status,
  321. }
  322. }
  323. })
  324. }).catch(error => {
  325. uni.showToast({
  326. title: error,
  327. icon: "none"
  328. })
  329. })
  330. },
  331. submitInfo(obj){
  332. uni.showLoading({
  333. title: "加载中",
  334. mask: true,
  335. })
  336. API.saveRecordIn(obj).then((res) => {
  337. uni.hideLoading();
  338. this.getInfo(true)
  339. }).catch(error => {
  340. uni.showToast({
  341. title: error,
  342. icon: "none"
  343. })
  344. })
  345. },
  346. gotoOut(){
  347. var _this=this;
  348. uni.showModal({
  349. title: '提示',
  350. content:"确认清单无误",
  351. //content: '这是一个模态弹窗',
  352. success: function(res) {
  353. if (res.confirm) {
  354. _this.gotoOutMethod()
  355. } else if (res.cancel) {
  356. console.log('用户点击取消');
  357. }
  358. }
  359. });
  360. },
  361. gotoOutMethod(){
  362. var returnObj=[...this.deviceReList]
  363. var bl=true;
  364. for(var x in this.deviceReList){
  365. var obj=returnObj[x];
  366. delete obj.deviceIdScan;
  367. var lists1=[];
  368. var lists2 =this.$refs["uUpload"+x][0].lists
  369. for(var i in lists2){
  370. var item=lists2[i]
  371. if(item.progress==100&&item.response&&item.response.result){
  372. }else{
  373. uni.showToast({
  374. title:"第"+(x+1)+"行图片上传中,请稍后"
  375. })
  376. bl=false
  377. break;
  378. }
  379. var p =item.response.data.fileUrl;
  380. lists1.push(p);
  381. }
  382. if(!bl){
  383. break;
  384. }
  385. obj.imgUrls=lists1.join()
  386. returnObj[x]=obj;
  387. }
  388. if(!bl){
  389. return;
  390. }
  391. console.log(returnObj);
  392. var json={
  393. recordId:this.id,
  394. deviceData:returnObj
  395. }
  396. this.submitInfo({
  397. recordData:JSON.stringify(json)
  398. })
  399. },// 选中某个单选框时,由radio时触发
  400. radioChange(e) {
  401. // console.log(e);
  402. },
  403. // 选中任一radio时,由radio-group触发
  404. radioGroupChange(e) {
  405. // console.log(e);
  406. },
  407. beforeUpload(index, list) {
  408. // 只上传偶数索引的文件
  409. if(index % 2 == 0) return true;
  410. else return false;
  411. }, error(e) {
  412. console.log(e);
  413. },
  414. gotoscan(val){
  415. // if(this.deviceposition=='back'){
  416. // this.deviceposition="front"
  417. // }else{
  418. // this.deviceposition="back"
  419. // }
  420. // #ifdef H5
  421. this.gotoscanH5(val)
  422. // #endif
  423. // #ifdef MP-WEIXIN
  424. this.gotoscanMP(val)
  425. // #endif
  426. },
  427. takeCode(e){
  428. console.log(e);
  429. if(this.scanFunctionIsUseable) {
  430. this.scanFunctionIsUseable = false;
  431. // 对扫码结果进行处理
  432. console.log(e.detail.result);
  433. //this.getscan(e.detail.result)
  434. this.getscan(this.takeCodeJp(e.detail.result))
  435. // 扫码间隔两秒
  436. setTimeout(() => {
  437. this.scanFunctionIsUseable = true;
  438. }, 1000)
  439. }
  440. },
  441. gotoscanMP(val){
  442. this.showpopup=true;
  443. // const ctx = uni.createCameraContext();
  444. // ctx.takePhoto({
  445. // quality: 'high',
  446. // success: (res) => {
  447. // this.src = res.tempImagePath
  448. // }
  449. // });
  450. },
  451. gotoscanH5(val) {
  452. console.log('111')
  453. var _this = this;
  454. uni.showModal({
  455. title: '提示',
  456. editable: true,
  457. //content: '这是一个模态弹窗',
  458. success: function(res) {
  459. if (res.confirm) {
  460. _this.getscan(res.content)
  461. } else if (res.cancel) {
  462. console.log('用户点击取消');
  463. }
  464. }
  465. });
  466. },getscan(val) {
  467. this.showpopup=true;
  468. uni.showLoading({
  469. title: "加载中",
  470. mask: true,
  471. })
  472. API.queryDeviceByCode({
  473. code: val,
  474. }).then((res) => {
  475. uni.hideLoading();
  476. if (res.data.deviceInfo) {
  477. console.log(res.data.deviceInfo)
  478. this.nowscan=res.data.deviceInfo;
  479. var c = this.deviceInfoList.findIndex(item => {
  480. return item.deviceInfo.id == res.data.deviceInfo.id
  481. })
  482. uni.showToast({
  483. title: "扫码成功",
  484. icon: "none"
  485. })
  486. if (c!=-1) {
  487. this.deviceReList[c].status='1'
  488. this.deviceReList[c].deviceIdScan=1;
  489. } else {
  490. }
  491. } else {
  492. uni.showToast({
  493. title: "二维码无效",
  494. icon: "none"
  495. })
  496. }
  497. }).catch(error => {
  498. uni.showToast({
  499. title: error,
  500. icon: "none"
  501. })
  502. })
  503. },
  504. }
  505. }
  506. </script>
  507. <style scoped lang="scss">
  508. page {
  509. padding-bottom: 200rpx;
  510. }
  511. .scantitle{
  512. text-align: center;
  513. font-size: 44rpx;
  514. padding-top: 20px;
  515. }
  516. .list {
  517. background-color: #fff;
  518. margin: 24rpx;
  519. padding: 22rpx 32rpx;
  520. // 清单信息
  521. .list-infos {
  522. border-radius: 8px;
  523. .infos-head {
  524. display: flex;
  525. justify-content: space-between;
  526. align-items: center;
  527. margin-bottom: 24rpx;
  528. .name {
  529. color: rgba(51, 51, 51, 1);
  530. font-size: 32rpx;
  531. }
  532. .qr-code {
  533. border-radius: 4px;
  534. background: linear-gradient(180deg, rgba(22, 119, 255, 1) 0%, rgba(16, 98, 213, 1) 100%);
  535. color: rgba(255, 255, 255, 1);
  536. font-size: 24rpx;
  537. width: 160rpx;
  538. text-align: center;
  539. line-height: 64rpx;
  540. text {
  541. img {
  542. vertical-align: middle;
  543. }
  544. }
  545. }
  546. }
  547. .infos {
  548. margin-top: 16rpx;
  549. display: flex;
  550. color: #777777;
  551. font-size: 24rpx;
  552. .infos-1 {
  553. margin-right: 68rpx;
  554. }
  555. .infos-item {
  556. display: flex;
  557. margin-bottom: 8rpx;
  558. }
  559. }
  560. .address,
  561. .remark {
  562. display: flex;
  563. color: #777777;
  564. font-size: 24rpx;
  565. margin-bottom: 8rpx;
  566. }
  567. }
  568. }
  569. .container {
  570. .main {
  571. padding: 0 24rpx;
  572. padding-bottom: 60px;
  573. .list-item {
  574. border-radius: 8px;
  575. padding: 24rpx;
  576. background-color: #fff;
  577. margin-top: 24rpx;
  578. }
  579. // 信息
  580. .list-infos {
  581. padding-bottom: 24rpx;
  582. border-bottom: 1px solid rgba(232, 232, 232, 1);
  583. .infos-head {
  584. display: flex;
  585. justify-content: space-between;
  586. align-items: center;
  587. margin-bottom: 24rpx;
  588. .name {
  589. color: rgba(51, 51, 51, 1);
  590. font-size: 32rpx;
  591. }
  592. .state {
  593. border: 1px solid rgba(69, 186, 69, 1);
  594. border-radius: 4px;
  595. color: rgba(69, 186, 69, 1);
  596. font-size: 24rpx;
  597. line-height: 48rpx;
  598. width: 160rpx;
  599. text-align: center;
  600. text {
  601. img {
  602. vertical-align: middle;
  603. margin-right: 4rpx;
  604. }
  605. }
  606. }
  607. .qr-code2 {
  608. border-radius: 4px;
  609. //background: linear-gradient(180deg, rgba(22, 119, 255, 1) 0%, rgba(16, 98, 213, 1) 100%);
  610. color: #45BA45 ;
  611. border: 1px solid rgba(69, 186, 69, 1);
  612. font-size: 24rpx;
  613. width: 160rpx;
  614. text-align: center;
  615. line-height: 48rpx;
  616. text {
  617. img {
  618. vertical-align: middle;
  619. }
  620. }
  621. }
  622. .qr-code {
  623. border-radius: 4px;
  624. background: linear-gradient(180deg, rgba(22, 119, 255, 1) 0%, rgba(16, 98, 213, 1) 100%);
  625. color: rgba(255, 255, 255, 1);
  626. font-size: 24rpx;
  627. width: 160rpx;
  628. text-align: center;
  629. line-height: 48rpx;
  630. text {
  631. img {
  632. vertical-align: middle;
  633. }
  634. }
  635. }
  636. }
  637. .infos {
  638. margin-top: 16rpx;
  639. display: flex;
  640. justify-content: space-between;
  641. color: #777777;
  642. font-size: 24rpx;
  643. .infos-1 {}
  644. .infos-item {
  645. display: flex;
  646. margin-bottom: 8rpx;
  647. }
  648. }
  649. }
  650. // 接收选项
  651. .receive-options {
  652. display: flex;
  653. align-items: center;
  654. padding: 24rpx 0;
  655. .title {
  656. color: #333333;
  657. margin-right: 24rpx;
  658. }
  659. .receive-radio {
  660. flex: 1;
  661. /deep/.u-radio-group {
  662. width: 100%;
  663. }
  664. /deep/.u-radio {
  665. margin-right: 48rpx;
  666. }
  667. }
  668. }
  669. // 备注
  670. uni-textarea,.uni-textarea{
  671. width: 100%;
  672. height: 80rpx;
  673. line-height: 80rpx;
  674. text-indent: 24rpx;
  675. background-color: rgba(241, 242, 245, 1);
  676. color: rgba(136, 136, 136, 1);
  677. border-radius: 8px;
  678. font-family: Microsoft Yahei;
  679. font-size: 28rpx;
  680. }
  681. // 上传图片
  682. .upload-img{
  683. margin-top: 24rpx;
  684. /deep/.u-add-tips{
  685. margin-top: 0;
  686. }
  687. // 右上角删除图标
  688. /deep/.u-delete-icon{
  689. top: -8rpx;
  690. right: -8rpx;
  691. width: 36rpx;
  692. height: 36rpx;
  693. }
  694. /deep/.u-list-item{
  695. overflow: inherit;
  696. }
  697. /deep/.u-list-item{
  698. margin-right: 8rpx;
  699. }
  700. }
  701. }
  702. }
  703. // 出库单状态
  704. .head {
  705. background-color: #fff;
  706. padding: 24rpx 32rpx;
  707. display: flex;
  708. align-items: center;
  709. color: #101010;
  710. font-size: 32rpx;
  711. .photo {
  712. width: 84rpx;
  713. height: 84rpx;
  714. border-radius: 100rpx;
  715. img {
  716. width: 100%;
  717. height: 100%;
  718. overflow: hidden;
  719. }
  720. }
  721. .name {
  722. color: #101010;
  723. font-size: 32rpx;
  724. margin-right: 8rpx;
  725. margin-left: 24rpx;
  726. max-width: 200rpx;
  727. overflow: hidden;
  728. text-overflow: ellipsis;
  729. white-space: nowrap
  730. }
  731. .submit {
  732. text {
  733. color: #3385FF;
  734. }
  735. }
  736. .state {
  737. line-height: 48rpx;
  738. padding: 0 24rpx;
  739. border-radius: 50px;
  740. background-color: rgba(255, 255, 255, 1);
  741. color: rgba(51, 133, 255, 1);
  742. font-size: 12px;
  743. text-align: center;
  744. font-family: Arial;
  745. border: 1px solid rgba(51, 133, 255, 1);
  746. margin-left: auto;
  747. }
  748. }
  749. // 出库单详情
  750. .details {
  751. background-color: #fff;
  752. margin-top: 24rpx;
  753. padding: 0 32rpx;
  754. .item {
  755. display: flex;
  756. justify-content: space-between;
  757. padding: 22rpx 0;
  758. border-bottom: 1px solid rgba(244, 244, 244, 1);
  759. .name {
  760. color: rgba(119, 119, 119, 1);
  761. }
  762. .value {
  763. color: #101010;
  764. }
  765. }
  766. }
  767. // 出库单列表
  768. .list {
  769. background-color: #fff;
  770. margin-top: 24rpx;
  771. padding: 22rpx 32rpx;
  772. .list-head {
  773. display: flex;
  774. justify-content: space-between;
  775. align-items: center;
  776. .title {
  777. color: #333333;
  778. font-size: 32rpx
  779. }
  780. .amount {
  781. color: #777777;
  782. font-size: 24rpx;
  783. text {
  784. color: #3385FF;
  785. }
  786. /deep/.u-icon--right {
  787. margin-left: 8rpx;
  788. }
  789. }
  790. }
  791. // 清单信息
  792. .list-infos {
  793. border-radius: 8px;
  794. background-color: #F5F6F9;
  795. margin-top: 24rpx;
  796. padding: 24rpx;
  797. .infos-head {
  798. display: flex;
  799. justify-content: space-between;
  800. align-items: center;
  801. margin-bottom: 24rpx;
  802. .name {
  803. color: rgba(51, 51, 51, 1);
  804. font-size: 32rpx;
  805. }
  806. .state {
  807. color: rgba(0, 81, 255, 1);
  808. }
  809. }
  810. .infos {
  811. margin-top: 16rpx;
  812. display: flex;
  813. color: #777777;
  814. font-size: 24rpx;
  815. .infos-1 {
  816. margin-right: 68rpx;
  817. }
  818. .infos-item {
  819. display: flex;
  820. margin-bottom: 8rpx;
  821. }
  822. }
  823. }
  824. }
  825. // 流程
  826. .process {
  827. background-color: #fff;
  828. margin-top: 24rpx;
  829. padding: 24rpx 32rpx;
  830. .title {
  831. color: rgba(51, 51, 51, 1);
  832. font-size: 32rpx;
  833. }
  834. .u-time-axis-item{
  835. //margin-bottom: 76rpx;
  836. }
  837. .u-time-axis {
  838. //padding: 18rpx 40rpx;
  839. }
  840. .u-node {
  841. width: 18rpx;
  842. height: 18rpx;
  843. border-radius: 100rpx !important;
  844. display: flex;
  845. justify-content: center;
  846. align-items: center;
  847. background: #d0d0d0;
  848. }
  849. .u-order{
  850. margin-bottom: 32rpx;
  851. }
  852. .u-order-title {
  853. color: #333333;
  854. font-weight: bold;
  855. font-size: 32rpx;
  856. }
  857. .u-order-desc {
  858. margin-bottom: 16rpx;
  859. display: flex;
  860. justify-content: space-between;
  861. align-items: center;
  862. .level {
  863. color: #333333;
  864. font-size: 32rpx;
  865. font-weight: bold;
  866. }
  867. .date {
  868. color: rgba(119, 119, 119, 1);
  869. }
  870. .state {
  871. color: rgba(255, 121, 0, 1);
  872. }
  873. }
  874. .u-order-time {
  875. width: 90rpx;
  876. color: #777777;
  877. font-size: 28rpx;
  878. margin-top: 16rpx;
  879. display: flex;
  880. flex-direction: column;
  881. align-items: center;
  882. .photo {
  883. width: 56rpx;
  884. height: 56rpx;
  885. border-radius: 100px;
  886. margin-bottom: 4rpx;
  887. img {
  888. width: 100%;
  889. height: 100%;
  890. overflow: hidden;
  891. position: relative;
  892. }
  893. }
  894. .confirm {
  895. position: absolute;
  896. top: 46rpx;
  897. left: 56rpx;
  898. }
  899. .name {
  900. color: rgba(51, 51, 51, 1);
  901. font-size: 24rpx;
  902. }
  903. }
  904. }
  905. // .u-time-axis{
  906. // .u-time-axis-item:last-of-type{
  907. // margin-bottom: 0;
  908. // }
  909. // }
  910. // 确认出库
  911. .bottom{
  912. background-color: #fff;
  913. margin-top: 44rpx;
  914. padding: 16rpx 32rpx;
  915. z-index: 999;
  916. position: fixed;
  917. left: 0;
  918. right: 0;
  919. bottom: 0;
  920. uni-button{
  921. border-radius: 8px;
  922. background: linear-gradient(180deg, rgba(22,119,255,1) 0%,rgba(16,98,213,1) 100%);
  923. color: rgba(255, 255, 255, 1);
  924. font-size: 32rpx;
  925. line-height: 88rpx;
  926. }
  927. }
  928. </style>