deliveryFrom.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998
  1. <template>
  2. <view >
  3. <u-navbar title="申请归还">
  4. <view class="details" slot="bottom">
  5. <view class="list">
  6. <!-- <view class="list-head" style="margin-bottom: 3px;">
  7. <view class="title">
  8. 出库设备清单
  9. </view>
  10. </view> -->
  11. <view class="list-head">
  12. <view class="title">
  13. 所属项目部<span style="color: red;">*</span>
  14. </view>
  15. <view class="amountView" >
  16. <!-- <view class="amount" v-if="approveList.length" >
  17. <span @click="show4=true"
  18. style="float: right; color: #45BA45; font-size: 12px;font-weight: normal;">
  19. <u-icon name="file-text"></u-icon>引用</span>
  20. </view> -->
  21. <view class="amount" >
  22. <!-- <u-input style="border-bottom: 1px solid;"
  23. v-model="form.projectName" placeholder="请输入所属项目" type="text" />
  24. -->
  25. <u-input v-model="departmentId" @click="show3=true,showText='departmentId'" @clear="showText='departmentId',change('')" placeholder="请选择所属项目部" type="select" />
  26. </view>
  27. </view>
  28. </view>
  29. <view class="list-head" style="margin-top: 5px;" >
  30. <view class="title">
  31. 选择设备
  32. </view>
  33. <view class="amountView" style="margin-top: 5px;" >
  34. <view class="amount" >
  35. <span @click="show5Btn"
  36. style="float: right; color: #45BA45; font-weight: normal;">
  37. <u-icon name="file-text"></u-icon>添加设备</span>
  38. </view>
  39. <view class="amount" style="margin: 0 10px;" >
  40. 或者
  41. </view>
  42. <view class="amount" @click="gotoscan('')" style=" color: #0051ff;">
  43. <u-icon name="scan" color="#0051ff" ></u-icon>扫码识别
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. <!-- 出库单详情 -->
  49. </view>
  50. </u-navbar>
  51. <u-popup v-model="showpopup" class="scanpopo" mode="bottom"
  52. border-radius="14"
  53. :closeable="true" >
  54. <view class="scantitle">连续扫码</view>
  55. <view class="scanlist">
  56. <view class="scan-list-infos" :style="nowscan.healthStatus&&nowscan.healthStatus!=1?'background-color:#FFC107':''">
  57. <view class="scan-infos-head" @click="gotoInfo(nowscan.id)">
  58. <view class="name">
  59. {{nowscan.title?nowscan.title:'扫码后出当前结果'}}
  60. </view>
  61. <view class="name">
  62. 编号:{{showCode(nowscan)}}
  63. <span class="name" v-show="nowscan&&nowscan.id" style="color:blue;">
  64. 点击查看
  65. </span>
  66. </view>
  67. </view>
  68. <view class="scan-infos-head " style="margin-bottom: 12rpx;">
  69. <view class="name" v-html="descriptionKey(nowscan)">
  70. </view>
  71. </view>
  72. <view class="scan-infos">
  73. <!-- <view class="infos-2">
  74. <view class="infos-item">
  75. <view class="item-name">
  76. 规格:
  77. </view>
  78. <view class="item-value">
  79. {{nowscan.specifications}}
  80. </view>
  81. </view>
  82. <view class="infos-item">
  83. <view class="item-name">
  84. 型号:
  85. </view>
  86. <view class="item-value">
  87. {{nowscan.model}}
  88. </view>
  89. </view>
  90. </view> -->
  91. </view>
  92. </view>
  93. </view>
  94. <!-- #ifdef MP-WEIXIN -->
  95. <camera mode="scanCode" resolution='medium'
  96. @scancode="takeCode" v-if="showpopup"
  97. device-position="back" flash="off" @error="error"
  98. style="width: 100%; height: 300px;"></camera>
  99. <!-- #endif -->
  100. </u-popup>
  101. <!-- 出库设备清单 -->
  102. <view class="list container" style="padding-bottom: 60px;" v-show="scanList.length" >
  103. <view class="list-view">
  104. <!-- 清单信息 -->
  105. <view class="list-infos" v-for="(item,i) in scanList" :key="i" >
  106. <view class="infos-head">
  107. <view class="name">
  108. {{item.title}}
  109. </view>
  110. <view class="name">
  111. 编号:{{ showCode(item)}}
  112. </view>
  113. <view class="state" @click="delOutListMethod(i)">
  114. <u-icon name="trash-fill" color="#777777" ></u-icon>删除
  115. </view>
  116. </view>
  117. <view class="infos">
  118. <view class="infos-item">
  119. <view class="item-name">
  120. 规格:
  121. </view>
  122. <view class="item-value">
  123. {{item.specifications}}
  124. </view>
  125. </view>
  126. <view class="infos-item">
  127. <view class="item-name">
  128. 型号:
  129. </view>
  130. <view class="item-value">
  131. {{item.model}}
  132. </view>
  133. </view>
  134. </view>
  135. <view class="receive-options">
  136. <view class="title">
  137. 归还备注
  138. </view>
  139. <view class="receive-radio">
  140. <u-radio-group v-model="item.reStatus" >
  141. <u-radio v-for="(radio, index2) in radiolist" :key="index2"
  142. :name="radio.value" :disabled="radio.disabled">
  143. {{radio.name}}
  144. </u-radio>
  145. </u-radio-group>
  146. </view>
  147. </view>
  148. </view>
  149. </view>
  150. </view>
  151. <u-divider :isnone="scanList.length==0" v-show="scanList.length==0"
  152. nonetext="选择设备归还" nonetop="150" border-color="#CFD2D5">已经到底了</u-divider>
  153. <u-select v-model="show4" label-name="projectName" value-name="id"
  154. :list="approveList" @confirm="confirm4" ></u-select>
  155. <u-popup v-model="show5" mode="bottom"
  156. border-radius="14"
  157. :closeable="true" >
  158. <view class="showpopup">添加设备</view>
  159. <view class="search" >
  160. 只查自己借出设备<u-switch v-model="queryStatus"
  161. :active-value="0" :inactive-value="1"
  162. @change="switchchange"></u-switch>
  163. </view>
  164. <!-- 搜索 -->
  165. <view class="search" v-if="false" >
  166. <view class="search-box">
  167. <u-search placeholder="搜索设备名称或型号"
  168. @custom="ckQueryContent"
  169. @search="ckQueryContent"
  170. v-model="queryContent" :show-action="false">
  171. </u-search>
  172. <view class="search-btn" @click="ckQueryContent" >
  173. <view class="text">
  174. 搜索
  175. </view>
  176. </view>
  177. </view>
  178. </view>
  179. <view @scrolltolower="refscrolltolower()">
  180. <equipmentRetrieval :departmentId="form.departmentId"
  181. :queryStatus="queryStatus"
  182. @ckItem="ckItem" :list="list" :scanList="scanList"
  183. ref="equipmentRetrievalRef" :iscomponents="1" :isreturn="1" ></equipmentRetrieval>
  184. </view>
  185. </u-popup>
  186. <u-select v-model="show3" :list="projectList" @confirm="confirm" ></u-select>
  187. <!-- 确认出库 -->
  188. <view class="bottom" >
  189. <u-button type="primary" @click="gotoOut()" >确认归还</u-button>
  190. </view>
  191. </view>
  192. </template>
  193. <script>
  194. import * as API from '@/apis/pagejs/projectDepartment.js'
  195. import equipmentRetrieval from "@/components/equipmentRetrieval"
  196. export default {
  197. data() {
  198. return {
  199. scanFunctionIsUseable:true,
  200. nowscan:{
  201. "title": "",
  202. "specifications": "",
  203. "experimentLastTime":"",
  204. "manufactor": "",
  205. "unit": "",
  206. "model": "",
  207. "code": "",
  208. },
  209. address:"",
  210. showpopup:false,
  211. deviceposition:"back",
  212. queryStatus:true,
  213. form:{
  214. projectName:"",
  215. addressId:"",
  216. recordId:"",
  217. deviceIds:"",
  218. departmentId:"",
  219. },
  220. show3:false,//审批人 步骤1
  221. list:[],
  222. list2:[],
  223. showText:"",
  224. departmentId:"",
  225. queryContent:'',
  226. scanList:[],
  227. approveList:[],
  228. show4:false,
  229. show5:false,
  230. projectList:[
  231. ],
  232. radiolist: [{
  233. name: '正常',
  234. value: "0",
  235. disabled: false
  236. },
  237. {
  238. name: '损坏,需要维修',
  239. value: "1",
  240. disabled: false
  241. },
  242. ],
  243. }
  244. },
  245. onReady(){
  246. //this.getApproveList();
  247. this.createOutRecord();
  248. },
  249. components:{
  250. equipmentRetrieval
  251. },
  252. methods: {
  253. change(e){
  254. if(e==''){
  255. this.form[this.showText]='';
  256. this[this.showText]=''
  257. }else{
  258. this.form[this.showText]=e.result;
  259. this[this.showText]=e.year+"年"+e.month+"月"+e.day+"日"
  260. }
  261. },
  262. switchchange(e){
  263. console.log(e)
  264. this.$refs.equipmentRetrievalRef.init()
  265. },
  266. show5Btn(){
  267. if(this.form.departmentId){
  268. this.show5=true
  269. }else{
  270. uni.showToast({
  271. title:"请先选择所属项目部",
  272. icon: "none"
  273. })
  274. }
  275. },
  276. confirm(e) {
  277. if(e==''){
  278. this.form[this.showText]='';
  279. this[this.showText]=''
  280. }else{
  281. this.form[this.showText]=e[0].value;
  282. this[this.showText]=e[0].label
  283. }
  284. },
  285. createOutRecord(){
  286. uni.showLoading({
  287. title: "加载中",
  288. mask: true,
  289. })
  290. API.createOutRecord({
  291. }).then((res) => {
  292. uni.hideLoading();
  293. if(res.data.departmentList){
  294. this.projectList=res.data.departmentList.map(item=>{
  295. return {
  296. value: item.id,
  297. label: item.name
  298. }
  299. })
  300. if(this.projectList.length==1){
  301. this.form.departmentId=this.projectList[0].value;
  302. this.departmentId=this.projectList[0].label
  303. }
  304. }
  305. }).catch(error => {
  306. uni.showToast({
  307. title: error,
  308. icon: "none"
  309. })
  310. })
  311. },
  312. ckItem(item){
  313. if(item.code){
  314. var c = this.scanList.findIndex(op => {
  315. return op.code == item.code
  316. })
  317. if (c==-1) {
  318. this.getscan(item.code,true)
  319. }else{
  320. this.delOutListMethod(c)
  321. }
  322. }else{
  323. this.list2.push(item)
  324. }
  325. },
  326. refscrolltolower(){
  327. this.$refs.equipmentRetrievalRef.myLoadmoreonReachBottom()
  328. },
  329. ckQueryContent(){
  330. this.$refs.equipmentRetrievalRef.queryContent=this.queryContent
  331. this.$refs.equipmentRetrievalRef.getList()
  332. },
  333. confirm4(e) {
  334. this.form.projectName=e[0].label;
  335. },
  336. getApproveList(){
  337. uni.showLoading({
  338. title: "加载中",
  339. mask: true,
  340. })
  341. API.outApplyList({
  342. pageIndex: 1,
  343. pageSize: 20,
  344. recordsTotal: 1,
  345. status: "1",
  346. }).then((res) => {
  347. var data = res.data.data;
  348. var sz=[];
  349. this.approveList=[]
  350. data.forEach(item=>{
  351. if(sz.indexOf(item.projectName)==-1){
  352. sz.push(item.projectName)
  353. this.approveList.push(item)
  354. }
  355. })
  356. //this.approveList = res.data.data;
  357. //console.log(this.approveList)
  358. uni.hideLoading();
  359. }).catch(error => {
  360. uni.showToast({
  361. title: error,
  362. icon: "none"
  363. })
  364. })
  365. },
  366. delOutListMethod(c) {
  367. if (c > -1) {
  368. this.scanList.splice(c, 1)
  369. uni.showToast({
  370. title: "删除成功",
  371. icon: "none"
  372. })
  373. }
  374. },
  375. gotoOut() {
  376. // if(!this.form.projectName){
  377. // uni.showToast({
  378. // title: "请输入项目名称",
  379. // icon: "none"
  380. // })
  381. // return
  382. // }
  383. if(this.scanList.length==0){
  384. uni.showToast({
  385. title: "请扫码添加出库设备",
  386. icon: "none"
  387. })
  388. return
  389. }
  390. var _this=this;
  391. uni.showModal({
  392. title: '提示',
  393. content:"确认清单无误",
  394. //content: '这是一个模态弹窗',
  395. success: function(res) {
  396. if (res.confirm) {
  397. _this.gotoOutMethod(res.content)
  398. } else if (res.cancel) {
  399. console.log('用户点击取消');
  400. }
  401. }
  402. });
  403. },
  404. gotoOutMethod() {
  405. //recordData
  406. uni.showLoading({
  407. title: "加载中",
  408. mask: true,
  409. })
  410. var list=this.scanList.map(item=>{
  411. return item.id
  412. });
  413. var listStatus=this.scanList.map(item=>{
  414. return item.reStatus
  415. });
  416. this.form.deviceIds=list.join()
  417. this.form.deviceStatus=listStatus.join()
  418. this.form.projectName=this.departmentId;
  419. API.saveInRecord(this.form).then((res) => {
  420. uni.hideLoading();
  421. const eventChannel = this.getOpenerEventChannel();
  422. eventChannel.emit('refreshData');
  423. uni.hideLoading()
  424. uni.showModal({
  425. title: '提示',
  426. content: '操作成功',
  427. showCancel:false,
  428. success: function (res) {
  429. if (res.confirm) {
  430. uni.navigateBack()
  431. } else if (res.cancel) {
  432. console.log('用户点击取消');
  433. }
  434. }
  435. });
  436. }).catch(error => {
  437. uni.showToast({
  438. title: error,
  439. icon: "none"
  440. })
  441. })
  442. },
  443. getscan(val,k) {
  444. if(k){
  445. }else{
  446. this.showpopup=true;
  447. }
  448. var c = this.scanList.find(item => {
  449. return item.code == val
  450. })
  451. if (c) {
  452. return
  453. }
  454. uni.showLoading({
  455. title: "加载中",
  456. mask: true,
  457. })
  458. API.queryDeviceByCode({
  459. code: val,
  460. }).then((res) => {
  461. uni.hideLoading();
  462. if (res.data.deviceInfo) {
  463. console.log(res.data.deviceInfo)
  464. this.nowscan=res.data.deviceInfo;
  465. var c = this.scanList.find(item => {
  466. return item.id == res.data.deviceInfo.id
  467. })
  468. if (c) {
  469. uni.showToast({
  470. title: "已存在,添加失败",
  471. icon: "none"
  472. })
  473. } else {
  474. var obj=res.data.deviceInfo;
  475. obj.reStatus="0"
  476. this.scanList.push(obj)
  477. uni.showToast({
  478. title: "添加成功",
  479. icon: "none"
  480. })
  481. }
  482. } else {
  483. uni.showToast({
  484. title: "二维码无效",
  485. icon: "none"
  486. })
  487. this.nowscan={}
  488. }
  489. }).catch(error => {
  490. uni.showToast({
  491. title: error,
  492. icon: "none"
  493. })
  494. })
  495. },
  496. error(e) {
  497. console.log(e);
  498. },
  499. gotoscan(val) {
  500. // #ifdef H5
  501. this.gotoscanH5(val)
  502. // #endif
  503. // #ifdef MP-WEIXIN
  504. this.gotoscanMP(val)
  505. // #endif
  506. },
  507. takeCode(e){
  508. console.log(e);
  509. if(this.scanFunctionIsUseable) {
  510. this.scanFunctionIsUseable = false;
  511. // 对扫码结果进行处理
  512. console.log(e.detail.result);
  513. this.getscan(this.takeCodeJp(e.detail.result))
  514. // 扫码间隔两秒
  515. setTimeout(() => {
  516. this.scanFunctionIsUseable = true;
  517. }, 1000)
  518. }
  519. },
  520. gotoscanMP(val){
  521. this.showpopup=true;
  522. // const ctx = uni.createCameraContext();
  523. // ctx.takePhoto({
  524. // quality: 'high',
  525. // success: (res) => {
  526. // this.src = res.tempImagePath
  527. // }
  528. // });
  529. },
  530. gotoscanH5(val) {
  531. console.log('111')
  532. var _this = this;
  533. uni.showModal({
  534. title: '提示',
  535. editable: true,
  536. //content: '这是一个模态弹窗',
  537. success: function(res) {
  538. if (res.confirm) {
  539. _this.getscan(res.content)
  540. } else if (res.cancel) {
  541. console.log('用户点击取消');
  542. }
  543. }
  544. });
  545. },
  546. }
  547. }
  548. </script>
  549. <style scoped lang="scss">
  550. .showpopup{
  551. font-size: 36rpx;
  552. text-align: center;
  553. margin: 32rpx;
  554. }
  555. // 搜索
  556. .search {
  557. padding: 12rpx 24rpx;
  558. display: flex;flex-wrap: wrap;
  559. border-radius: 8px;
  560. overflow: hidden;
  561. .search-box {
  562. display: flex;
  563. border-radius: 8px;
  564. overflow: hidden;
  565. }
  566. ::v-deep .u-search {
  567. width: 630rpx;
  568. margin: auto !important;
  569. position: relative;
  570. flex: 0;
  571. margin: 0 !important;
  572. height: 64rpx !important;
  573. }
  574. ::v-deep .u-content {
  575. width: 430px;
  576. border-radius: 0px !important;
  577. height: 64rpx !important;
  578. }
  579. ::v-deep .u-icon--right {
  580. margin-right: 16rpx;
  581. }
  582. .search-btn {
  583. width: 100rpx;
  584. height: 64rpx;
  585. background-color: #f2f2f2;
  586. .text {
  587. height: 40rpx;
  588. margin: 12rpx 0;
  589. border-left: 1px solid #999999;
  590. font-family: Microsoft Yahei;
  591. text-align: center;
  592. color: rgba(16, 98, 213, 1);
  593. font-size: 28rpx;
  594. }
  595. }
  596. }
  597. .scantitle{
  598. text-align: center;
  599. font-size: 44rpx;
  600. padding-top: 20px;
  601. }
  602. page {
  603. padding-bottom: 200rpx;
  604. }
  605. // 接收选项
  606. .receive-options {
  607. display: flex;flex-wrap: wrap;
  608. align-items: center;
  609. padding: 24rpx 0;
  610. .title {
  611. color: #333333;
  612. margin-right: 24rpx;
  613. font-weight: bold;
  614. }
  615. .receive-radio {
  616. flex: 1;
  617. ::v-deep .u-radio-group {
  618. width: 100%;
  619. }
  620. ::v-deep .u-radio {
  621. margin-right: 48rpx;
  622. }
  623. }
  624. }
  625. // 出库单状态
  626. .head {
  627. background-color: #fff;
  628. padding: 24rpx 32rpx;
  629. display: flex;flex-wrap: wrap;
  630. align-items: center;
  631. color: #101010;
  632. font-size: 32rpx;
  633. .photo {
  634. width: 84rpx;
  635. height: 84rpx;
  636. border-radius: 100rpx;
  637. img {
  638. width: 100%;
  639. height: 100%;
  640. overflow: hidden;
  641. }
  642. }
  643. .name {
  644. color: #101010;
  645. font-size: 32rpx;
  646. margin-right: 8rpx;
  647. margin-left: 24rpx;
  648. max-width: 200rpx;
  649. overflow: hidden;
  650. text-overflow: ellipsis;
  651. white-space: nowrap
  652. }
  653. .submit {
  654. text {
  655. color: #3385FF;
  656. }
  657. }
  658. .state {
  659. line-height: 48rpx;
  660. padding: 0 24rpx;
  661. border-radius: 50px;
  662. background-color: rgba(255, 255, 255, 1);
  663. color: rgba(51, 133, 255, 1);
  664. font-size: 12px;
  665. text-align: center;
  666. font-family: Arial;
  667. border: 1px solid rgba(51, 133, 255, 1);
  668. margin-left: auto;
  669. }
  670. }
  671. .container{
  672. margin-top: 80px;
  673. }
  674. // 出库单详情
  675. .details {
  676. background-color: #fff;
  677. margin-top: 24rpx;
  678. padding: 16rpx 32rpx;
  679. .item {
  680. display: flex;flex-wrap: wrap;
  681. justify-content: space-between;
  682. padding: 12rpx 0;
  683. //border-bottom: 1px solid rgba(244, 244, 244, 1);
  684. .name {
  685. line-height: 30px;
  686. color: #333333;
  687. font-size: 32rpx
  688. }
  689. .value {
  690. color: #101010;
  691. }
  692. }
  693. }
  694. // 出库单列表
  695. .list {
  696. //margin-top: 24rpx;
  697. .list-view{
  698. padding: 16rpx 32rpx;
  699. background-color: #fff;
  700. }
  701. .list-head {
  702. display: flex;flex-wrap: wrap;
  703. justify-content: space-between;
  704. align-items: center;
  705. .title {
  706. padding: 8rpx 0;
  707. color: #333333;
  708. font-size: 32rpx
  709. }
  710. .amountView{
  711. display: flex;flex-wrap: wrap;
  712. justify-content: space-between;
  713. align-items: center;
  714. .amount {
  715. color: #777777;
  716. font-size: 32rpx;
  717. text {
  718. color: #3385FF;
  719. }
  720. ::v-deep .u-icon--right {
  721. margin-left: 8rpx;
  722. }
  723. }
  724. }
  725. }
  726. // 清单信息
  727. .list-infos {
  728. border-radius: 8px;
  729. background-color: #F5F6F9;
  730. margin-top: 24rpx;
  731. padding: 24rpx;
  732. .infos-head {
  733. display: flex;flex-wrap: wrap;
  734. justify-content: space-between;
  735. align-items: center;
  736. margin-bottom: 24rpx;
  737. .name {
  738. color: rgba(51, 51, 51, 1);
  739. font-size: 32rpx;
  740. }
  741. .state {
  742. color:#777777;
  743. }
  744. }
  745. .infos {
  746. margin-top: 16rpx;
  747. display: flex;flex-wrap: wrap;
  748. color: #777777;
  749. font-size: 24rpx;
  750. justify-content: space-around;
  751. .infos-1 {
  752. margin-right: 68rpx;
  753. }
  754. .infos-item {
  755. width: 50%;
  756. display: flex;flex-wrap: wrap;
  757. margin-bottom: 8rpx;
  758. .item-value{
  759. max-width: 200rpx;
  760. }
  761. }
  762. }
  763. }
  764. }
  765. // 流程
  766. .process {
  767. background-color: #fff;
  768. margin-top: 24rpx;
  769. padding: 24rpx 32rpx;
  770. .title {
  771. color: rgba(51, 51, 51, 1);
  772. font-size: 32rpx;
  773. }
  774. .u-time-axis-item{
  775. //margin-bottom: 76rpx;
  776. }
  777. .u-time-axis {
  778. //padding: 18rpx 40rpx;
  779. }
  780. .u-node {
  781. width: 18rpx;
  782. height: 18rpx;
  783. border-radius: 100rpx !important;
  784. display: flex;flex-wrap: wrap;
  785. justify-content: center;
  786. align-items: center;
  787. background: #d0d0d0;
  788. }
  789. .u-order{
  790. margin-bottom: 32rpx;
  791. }
  792. .u-order-title {
  793. color: #333333;
  794. font-weight: bold;
  795. font-size: 32rpx;
  796. }
  797. .u-order-desc {
  798. margin-bottom: 16rpx;
  799. display: flex;flex-wrap: wrap;
  800. justify-content: space-between;
  801. align-items: center;
  802. .level {
  803. color: #333333;
  804. font-size: 32rpx;
  805. font-weight: bold;
  806. }
  807. .date {
  808. color: rgba(119, 119, 119, 1);
  809. }
  810. .state {
  811. color: rgba(255, 121, 0, 1);
  812. }
  813. }
  814. .u-order-time {
  815. width: 90rpx;
  816. color: #777777;
  817. font-size: 28rpx;
  818. margin-top: 16rpx;
  819. display: flex;flex-wrap: wrap;
  820. flex-direction: column;
  821. align-items: center;
  822. .photo {
  823. width: 56rpx;
  824. height: 56rpx;
  825. border-radius: 100px;
  826. margin-bottom: 4rpx;
  827. img {
  828. width: 100%;
  829. height: 100%;
  830. overflow: hidden;
  831. position: relative;
  832. }
  833. }
  834. .confirm {
  835. position: absolute;
  836. top: 46rpx;
  837. left: 56rpx;
  838. }
  839. .name {
  840. color: rgba(51, 51, 51, 1);
  841. font-size: 24rpx;
  842. }
  843. }
  844. }
  845. // .u-time-axis{
  846. // .u-time-axis-item:last-of-type{
  847. // margin-bottom: 0;
  848. // }
  849. // }
  850. // 确认出库
  851. .bottom{
  852. background-color: #fff;
  853. margin-top: 44rpx;
  854. padding: 16rpx 32rpx;
  855. z-index: 999;
  856. position: fixed;
  857. left: 0;
  858. right: 0;
  859. bottom: 0;
  860. uni-button{
  861. border-radius: 8px;
  862. background: linear-gradient(180deg, rgba(22,119,255,1) 0%,rgba(16,98,213,1) 100%);
  863. color: rgba(255, 255, 255, 1);
  864. font-size: 32rpx;
  865. line-height: 88rpx;
  866. }
  867. }
  868. </style>