quality_testing.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  1. <template>
  2. <view>
  3. <view class='navbar' style='position:fixed;background:#fff;top:0;width:100%;z-index:3;'>
  4. <view class="back-btn cuIcon-back" @click="navBack"></view>
  5. <view class='header-content' v-if='managementType==3'>出库质检</view>
  6. <view class='header-content' v-if='managementType==1'>收购质检</view>
  7. </view>
  8. <view class="header">
  9. <view style='background:#fff;display:flex;' class="cu-bar search">
  10. <view style='flex:6;' class="search-form round Medium">
  11. <text style='color: #ccc;text-indent:6px;' class="cuIcon-search"></text>
  12. <input v-if='managementType==1' type="text" maxlength="20" :focus="true" v-model="searchKeyWord" @confirm="doSearch()"
  13. placeholder="输入编号、客户名、车牌号" confirm-type="search"></input>
  14. <input v-if='managementType==3' type="text" maxlength="20" :focus="true" v-model="searchKeyWord" @confirm="doSearch()"
  15. placeholder="输入合同编号、车牌号" confirm-type="search"></input>
  16. </view>
  17. <view @click='doSearch()' class="Regular" style="width:4%;flex:1;">搜索</view>
  18. <u-icon @click='emptysearch' class="cuIcon" v-if='searchKeyWord.length>0' size="34" name="close-circle-fill" color="#D6D9E0"></u-icon>
  19. <!-- <text @click='emptysearch' v-if='searchKeyWord.length>0' class='tip_text cuIcon-roundclosefill'></text> -->
  20. </view>
  21. <view class='changewarehouse'>
  22. <view @click='show=true'>{{warehouseName}}<text class='cuIcon-unfold'></text></view>
  23. <u-picker @confirm="warehousechange" range-key='warehouseName' mode="selector" v-model="show" :range="selector"></u-picker>
  24. </view>
  25. </view>
  26. <view class="content">
  27. <view class='wrap' v-for='item in gridList' @click='examine(item)'>
  28. <view class='flex justify-between'>
  29. <view v-if='item.status=="已质检"'>
  30. <view class='type type-zhi'>质</view>
  31. </view>
  32. <view v-if='item.status=="已称毛重"'>
  33. <view class='type type-mao'>毛</view>
  34. </view>
  35. <view v-if='item.status=="已称皮重"'>
  36. <view class='type type-pi'>皮</view>
  37. </view>
  38. <view>
  39. <view v-if='managementType==1' class='qualityNo'>{{item.qualityNo}}</view>
  40. <view v-if='managementType==3' class='qualityNo'>{{item.contractNo}}</view>
  41. <view class='time'>{{item.updateDate}}</view>
  42. </view>
  43. <view v-if='item.status=="已质检"' class='qualityInspector'>{{item.qualityInspector}}</view>
  44. <view v-else></view>
  45. </view>
  46. <view class="flex justify-around customerinformation">
  47. <view v-if='managementType==1'>{{item.customerName}}</view>
  48. <view>{{item.carNumber}}</view>
  49. <view>{{item.goodsName}}({{item.waterContent}}水)</view>
  50. </view>
  51. <view class='flex buttons'>
  52. <view v-if='item.status=="已质检"&&managementType==1' @click.stop='del(item)' class='button'>删除</view>
  53. <view v-if='item.status!="已称皮重"&&managementType==1' @click.stop='edit(item)' class='button'>编辑</view>
  54. <view v-if='item.status=="已称毛重"&&managementType==3' @click.stop='quality_testing(item)' class='button'>质检</view>
  55. </view>
  56. </view>
  57. </view>
  58. <view v-show="isContent">
  59. <uni-load-more :status="loadStatus"></uni-load-more>
  60. </view>
  61. <view v-if='managementType==1' class="footer">
  62. <view @click='add' class="button">新增</view>
  63. </view>
  64. </view>
  65. </template>
  66. <script>
  67. import dragButton from "@/components/drag-button/drag-button.vue";
  68. import {
  69. mapState
  70. } from 'vuex';
  71. let startY = 0,
  72. moveY = 0,
  73. pageAtTop = true;
  74. export default {
  75. components: {
  76. dragButton
  77. },
  78. data() {
  79. return {
  80. inputShow: false,
  81. modalName: '',
  82. mycarStyle: '',
  83. feild: undefined,
  84. params:{},
  85. selector:[],
  86. isContent:false,
  87. loadStatus:'noMore',
  88. inputContent: '',
  89. coverTransform: 'translateY(0px)',
  90. coverTransition: '0s',
  91. moving: false,
  92. footprintList: [],
  93. searchKeyWord:'',
  94. isVip: false,
  95. userInfoTmp: [],
  96. inputStatus: 'none',
  97. carInfo: [],
  98. gridCol: 4,
  99. show:false,
  100. pageSize:10,
  101. currentPage:1,
  102. gridBorder: false,
  103. headUrl:"../../static/img/myimg/YongHu@3x.png",
  104. userphone:"",
  105. username:"请更改昵称",
  106. gridList: [],
  107. managementType:'',
  108. warehouseName: '',
  109. showTran: true,
  110. companyId: 1,
  111. current: 4,
  112. warehouseCount:'',
  113. commonWarehouseNo:'',
  114. cangid:''
  115. }
  116. },
  117. onLoad() {
  118. },
  119. // #ifndef MP
  120. onNavigationBarButtonTap(e) {
  121. const index = e.index;
  122. if (index === 0) {
  123. this.navTo('/pages/set/set');
  124. } else if (index === 1) {
  125. // #ifdef APP-PLUS
  126. const pages = getCurrentPages();
  127. const page = pages[pages.length - 1];
  128. const currentWebview = page.$getAppWebview();
  129. currentWebview.hideTitleNViewButtonRedDot({
  130. index
  131. });
  132. // #endif
  133. uni.navigateTo({
  134. url: '/pages/notice/notice'
  135. })
  136. }
  137. },
  138. // #endif
  139. computed: {
  140. ...mapState(['hasLogin', 'userInfo']),
  141. // 手机号中间4位加*
  142. starUserphone(){
  143. let reg = /^(\d{3})\d{4}(\d{4})$/;
  144. if(this.userphone){
  145. return this.userphone.replace(reg, "$1****$2");
  146. }
  147. }
  148. },
  149. onLoad(options){
  150. this.managementType=options.managementType
  151. },
  152. onShow() {
  153. this.gridList=[]
  154. this.$api.doRequest('get', '/warehouseBaseInfo/selectWarehouseSelf',{
  155. compId:'',
  156. personCharge:this.userInfo.phone
  157. }).then(res => {
  158. if(res.data.data){
  159. this.warehouseName=res.data.data[0].warehouseName
  160. this.cangid=res.data.data[0].id
  161. this.warehouseCount = res.data.data[0].count
  162. this.commonWarehouseNo=res.data.data[0].commonWarehouseNo
  163. uni.setStorageSync('purchasePriceList',res.data.data[0].purchasePriceList)
  164. this.selector=res.data.data
  165. this.getList()
  166. }
  167. })
  168. },
  169. methods: {
  170. quality_testing(item){
  171. uni.navigateTo({
  172. url:'/pages/erpbusiness/out_quality_testing?id='+item.id+'&managementType='+this.managementType+'&cangid='+this.cangid
  173. })
  174. },
  175. examine(item){
  176. uni.navigateTo({
  177. url:'/pages/erpbusiness/examine_quality_testing?id='+item.id+'&managementType='+this.managementType+'&cangid='+this.cangid
  178. })
  179. },
  180. emptysearch(){
  181. this.searchKeyWord=''
  182. this.gridList=[]
  183. this.currentPage=1
  184. this.getList()
  185. },
  186. doSearch(){
  187. this.gridList=[]
  188. this.currentPage=1
  189. this.getList()
  190. },
  191. warehousechange(e){
  192. this.warehouseName=this.selector[e[0]].warehouseName
  193. this.cangid=this.selector[e[0]].id
  194. this.warehouseCount = this.selector[e[0]].count
  195. this.commonWarehouseNo=this.selector[e[0]].commonWarehouseNo
  196. uni.setStorageSync('purchasePriceList',this.selector[e[0]].purchasePriceList)
  197. this.getList()
  198. console.log(e)
  199. },
  200. getList(){
  201. var that = this
  202. this.$api.doRequest('get', 'qualityInspectionManagement/selectQualityInspection',{
  203. pageSize: this.pageSize,
  204. currentPage: this.currentPage,
  205. searchKeyWord: this.searchKeyWord,
  206. searchType: this.searchType,
  207. managementType:this.managementType,
  208. warehouseName: this.warehouseName,
  209. compId:'2710b21efc1e4393930c5dc800010dc4',
  210. // pcFlag:1
  211. }).then(res => {
  212. if(res.data.data){
  213. let data = res.data.data.records
  214. //采购信息
  215. if (data.length > 0) {
  216. that.gridList = that.gridList.concat(data)
  217. }else{
  218. if(this.currentPage==1){
  219. that.gridList=[]
  220. }
  221. this.isContent=true
  222. }
  223. }
  224. // console.log(that.gridList)
  225. })
  226. },
  227. edit(item){
  228. uni.navigateTo({
  229. url:'/pages/erpbusiness/edit_quality_testing?id='+item.id+'&managementType='+this.managementType+'&cangid='+this.cangid
  230. })
  231. },
  232. add(){
  233. uni.navigateTo({
  234. url:'/pages/erpbusiness/add_quality_testing?managementType='+this.managementType+'&cangid='+this.cangid+'&warehouseCount='+this.warehouseCount+'&commonWarehouseNo='+this.commonWarehouseNo+'&warehouseName='+this.warehouseName
  235. })
  236. },
  237. del(item){
  238. this.$api.doRequest('post', '/qualityInspectionManagement/api/deleteQualityInspection',{
  239. id:item.id
  240. }).then(res => {
  241. if(res.data.code==200){
  242. this.$api.msg('删除成功')
  243. this.gridList=[]
  244. this.getList()
  245. }else{
  246. this.$api.msg('系统异常,请联系管理员')
  247. }
  248. })
  249. },
  250. fankui(){
  251. uni.navigateTo({
  252. url: `/pages/user/fankui`
  253. })
  254. },
  255. zhibo() {
  256. uni.navigateTo({
  257. url: `/pageB/video/broadcast`
  258. })
  259. },
  260. look() {
  261. uni.navigateTo({
  262. url: `/pageB/video/look`
  263. })
  264. },
  265. contactUs() {
  266. const that = this
  267. uni.makePhoneCall({
  268. // 手机号
  269. phoneNumber: '18241771147',
  270. // 成功回调
  271. success: (res) => {},
  272. // 失败回调
  273. fail: (res) => {}
  274. });
  275. },
  276. loadData() {
  277. // const that = this
  278. // if(uni.getStorageSync("PageCur")){
  279. // that.PageCur = uni.getStorageSync("PageCur");
  280. // }
  281. // that.userInfoTmp = uni.getStorageSync("userInfo")
  282. // uni.showLoading({
  283. // title: '正在加载',
  284. // mask:true
  285. // })
  286. // that.$api.request('integral', 'getIndexData', failres => {
  287. // that.$api.msg(failres.errmsg)
  288. // uni.hideLoading()
  289. // }).then(res => {
  290. // let data = res.data
  291. // uni.setStorageSync("message", data.message);
  292. // uni.setStorageSync("task", data.task);
  293. // uni.setStorageSync("contract", data.contract);
  294. // uni.setStorageSync('showTran', data.showTran);
  295. // that.showTran = data.showTran
  296. // that.gridList[4].tips = data.task
  297. // that.gridList[2].tips = data.contract
  298. // that.companyId = data.companyId
  299. // uni.hideLoading()
  300. // })
  301. },
  302. confirm() {
  303. const that = this
  304. if (!that.inputContent) {
  305. that.$api.msg('输入不能为空')
  306. return
  307. }
  308. let obj = {}
  309. obj[that.feild] = that.inputContent
  310. that.$api.request('user', 'syncUserInfo', obj).then(res => {
  311. that.userInfo.nickname = that.inputContent
  312. that.inputContent = ''
  313. that.$store.commit('login', that.userInfo)
  314. })
  315. },
  316. cancel() {
  317. this.inputShow = false
  318. this.inputStatus = 'none'
  319. this.genderShow = false
  320. },
  321. navBack() {
  322. uni.navigateBack();
  323. },
  324. /**
  325. * 统一跳转接口,拦截未登录路由
  326. * navigator标签现在默认没有转场动画,所以用view
  327. */
  328. navTo(url) {
  329. if (!this.hasLogin) {
  330. url = '/pages/public/login';
  331. }
  332. uni.navigateTo({
  333. url
  334. })
  335. },
  336. scanCode() {
  337. uni.scanCode({
  338. success: function(res) {
  339. uni.navigateTo({
  340. url: res.result
  341. })
  342. }
  343. })
  344. },
  345. hideModal(e) {
  346. this.modalName = null
  347. },
  348. }
  349. }
  350. </script>
  351. <style lang='scss' scoped>
  352. page{
  353. background:#F5F6FA;
  354. }
  355. .container {
  356. padding-top: 85px;
  357. padding-top: 35px;
  358. background-color: #F5F6FA;
  359. position: relative;
  360. width: 100vw;
  361. height: 100vh;
  362. overflow: hidden;
  363. background: url('~@/static/img/login/bg_slices/bg@3x.png');
  364. background-size: 100% 100%;
  365. margin: 0 auto;
  366. }
  367. .cu-tag.badge {
  368. right: 26rpx;
  369. }
  370. .path {
  371. color: #007aff;
  372. display: inline-block;
  373. text-align: center;
  374. }
  375. .icon {
  376. margin-right: 10rpx;
  377. }
  378. .portrait-box {
  379. margin-top: 20rpx;
  380. }
  381. .qr-wrap {
  382. margin-top: 20upx;
  383. color: #fff;
  384. font-size: 32rpx;
  385. }
  386. @keyframes move_wave {
  387. 0% {
  388. transform: translateX(0) translateZ(0) scaleY(1)
  389. }
  390. 50% {
  391. transform: translateX(-25%) translateZ(0) scaleY(0.55)
  392. }
  393. 100% {
  394. transform: translateX(-50%) translateZ(0) scaleY(1)
  395. }
  396. }
  397. .bg {
  398. position: relative;
  399. height: 300rpx;
  400. /* background: linear-gradient(to bottom, #56ccf2, #2f80ed); */
  401. /*background: linear-gradient(to bottom, #0be9fe, #4bb0fe); */
  402. background: linear-gradient(to bottom, #d5f8ff, #56ccf2);
  403. }
  404. .bg_ware {
  405. position: absolute;
  406. left: 0;
  407. bottom: -2rpx;
  408. width: 100%;
  409. mix-blend-mode: screen;
  410. height: 224rpx;
  411. }
  412. %flex-center {
  413. display: flex;
  414. flex-direction: column;
  415. justify-content: center;
  416. align-items: center;
  417. }
  418. %section {
  419. display: flex;
  420. justify-content: space-around;
  421. align-content: center;
  422. background: #fff;
  423. border-radius: 10upx;
  424. }
  425. .cuIcon {
  426. position: absolute;
  427. right: 80px;
  428. }
  429. .grid-item-box {
  430. flex: 1;
  431. /* position: relative;
  432. */
  433. /* #ifndef APP-NVUE */
  434. display: flex;
  435. /* #endif */
  436. flex-direction: column;
  437. align-items: center;
  438. justify-content: center;
  439. padding: 15px 0;
  440. }
  441. .image {
  442. width: 80rpx;
  443. height: 80rpx;
  444. }
  445. .text {
  446. font-size: 26rpx;
  447. margin-top: 10rpx;
  448. }
  449. .user-section {
  450. height: 520upx;
  451. padding: 100upx 30upx 0;
  452. position: relative;
  453. .bg {
  454. position: absolute;
  455. left: 0;
  456. top: 0;
  457. width: 100%;
  458. height: 100%;
  459. filter: blur(1px);
  460. box-shadow: 0px 1px 8px #ccc;
  461. /* background:linear-gradient(#0eb0c9,#126bae); */
  462. /* opacity: .7; */
  463. }
  464. }
  465. .cover-container {
  466. padding: 1px 10px ;
  467. padding-bottom: 200upx;
  468. /* background-color: #F5F6FA; */
  469. /* border-radius: 20px; */
  470. margin-top: 60upx;
  471. .arc {
  472. position: absolute;
  473. left: 0;
  474. top: -34upx;
  475. width: 100%;
  476. height: 36upx;
  477. }
  478. }
  479. .tj-sction {
  480. @extend %section;
  481. .tj-item {
  482. @extend %flex-center;
  483. flex-direction: column;
  484. height: 140upx;
  485. font-size: $font-sm;
  486. color: #75787d;
  487. }
  488. .num {
  489. font-size: $font-lg;
  490. color: $font-color-dark;
  491. margin-bottom: 8upx;
  492. }
  493. }
  494. .order-section {
  495. @extend %section;
  496. padding: 28upx 0;
  497. margin-top: 20upx;
  498. .order-item {
  499. @extend %flex-center;
  500. width: 120upx;
  501. height: 120upx;
  502. border-radius: 10upx;
  503. font-size: $font-sm;
  504. color: $font-color-dark;
  505. }
  506. .yticon {
  507. font-size: 48upx;
  508. margin-bottom: 18upx;
  509. color: #fa436a;
  510. }
  511. .icon-shouhoutuikuan {
  512. font-size: 44upx;
  513. }
  514. }
  515. .history-section {
  516. padding: 30upx 0 0;
  517. margin-top: 20upx;
  518. background: #fff;
  519. border-radius: 10upx;
  520. .sec-header {
  521. display: flex;
  522. align-items: center;
  523. font-size: $font-base;
  524. color: $font-color-dark;
  525. line-height: 40upx;
  526. margin-left: 30upx;
  527. .yticon {
  528. font-size: 44upx;
  529. color: #5eba8f;
  530. margin-right: 16upx;
  531. line-height: 40upx;
  532. }
  533. }
  534. .h-list {
  535. white-space: nowrap;
  536. padding: 30upx 30upx 0;
  537. image {
  538. display: inline-block;
  539. width: 160upx;
  540. height: 160upx;
  541. margin-right: 20upx;
  542. border-radius: 10upx;
  543. }
  544. }
  545. }
  546. .search-form {
  547. background: #F5F6F9;
  548. }
  549. .search-box {
  550. width: 100%;
  551. background-color: rgb(242, 242, 242);
  552. padding: 15upx 2.5%;
  553. display: flex;
  554. justify-content: space-between;
  555. }
  556. .search-box .mSearch-input-box {
  557. width: 100%;
  558. }
  559. .search-box .input-box {
  560. width: 85%;
  561. flex-shrink: 1;
  562. display: flex;
  563. justify-content: center;
  564. align-items: center;
  565. }
  566. .search-box .search-btn {
  567. width: 15%;
  568. margin: 0 0 0 2%;
  569. display: flex;
  570. justify-content: center;
  571. align-items: center;
  572. flex-shrink: 0;
  573. font-size: 28upx;
  574. color: #fff;
  575. background: linear-gradient(to right, #ff9801, #ff570a);
  576. border-radius: 60upx;
  577. }
  578. .search-box .input-box>input {
  579. width: 100%;
  580. height: 60upx;
  581. font-size: 32upx;
  582. border: 0;
  583. border-radius: 60upx;
  584. -webkit-appearance: none;
  585. -moz-appearance: none;
  586. appearance: none;
  587. padding: 0 3%;
  588. margin: 0;
  589. background-color: #ffffff;
  590. }
  591. .placeholder-class {
  592. color: #9e9e9e;
  593. }
  594. .search-keyword {
  595. width: 100%;
  596. background-color: rgb(242, 242, 242);
  597. }
  598. .grid {
  599. display: flex;
  600. align-items: center;
  601. flex-wrap: wrap;
  602. /* border-top: 2upx solid rgba(172,172,172,.2); */
  603. .grid-item-3 {
  604. box-sizing: border-box;
  605. width: calc(100% / 3);
  606. border-bottom: 2upx solid rgba(172, 172, 172, .2);
  607. border-right: 2upx solid rgba(172, 172, 172, .2);
  608. text-align: center;
  609. padding: 40upx 0;
  610. position: relative;
  611. /* view{
  612. font-size: $font-sm;
  613. margin-top: 16upx;
  614. color: $font-color-dark;
  615. } */
  616. .grid_icon {
  617. font-size: 48upx;
  618. margin-bottom: 18upx;
  619. color: #fa436a;
  620. }
  621. .tip_text {
  622. display: block;
  623. padding: 4upx 8upx;
  624. text-align: center;
  625. border-radius: 36upx;
  626. font-size: 24upx;
  627. background-color: #fa436a;
  628. color: rgba(255, 255, 255, 1);
  629. position: absolute;
  630. right: 6upx;
  631. top: 6upx;
  632. }
  633. }
  634. .grid-item-3:nth-child(3n + 3),
  635. .grid-item-4:nth-child(4n + 4) {
  636. border-right: none;
  637. }
  638. }
  639. .headPortrait {
  640. width: 75px;
  641. height: 75px;
  642. border-radius: 40px;
  643. border: 2px solid #ffffff;
  644. }
  645. .information {
  646. font-size: 15px;
  647. font-weight: 600;
  648. height: 36px;
  649. }
  650. .cu-list>.cu-item:after{
  651. border:none;
  652. }
  653. .back-btn {
  654. position: fixed;
  655. left: 40upx;
  656. z-index: 9999;
  657. padding-top: var(--status-bar-height);
  658. top: 30upx;
  659. font-size: 36upx;
  660. color: $font-color-dark;
  661. }
  662. .navbar{
  663. height:50px;
  664. }
  665. .header-content {
  666. position: fixed;
  667. left: 50%;
  668. transform: translateX(-50%);
  669. z-index: 9999;
  670. padding-top: var(--status-bar-height);
  671. top: 30upx;
  672. font-size: 36upx;
  673. color: $font-color-dark;
  674. }
  675. .sign{
  676. width: 40px;
  677. height: 40px;
  678. top: 4px;
  679. margin-right: 6px;
  680. }
  681. .indexUp{
  682. padding:0 20px;
  683. align-items: center;
  684. }
  685. .wrap{
  686. background:#fff;
  687. margin:10px;
  688. border-radius:10px;
  689. padding:10px;
  690. }
  691. .qualityNo{
  692. font-size:16px;
  693. }
  694. .type{
  695. font-size:12px;
  696. color:#fff;
  697. padding:3px 5px;
  698. border-radius:50%;
  699. line-height:16px;
  700. }
  701. .type-zhi{
  702. background:#22C572;
  703. }
  704. .type-mao{
  705. background:#3296FA;
  706. }
  707. .type-pi{
  708. background:#FD714F;
  709. }
  710. .time{
  711. font-size:12px;
  712. color:#878C9C;
  713. }
  714. .qualityInspector{
  715. font-size:14px;
  716. }
  717. .customerinformation{
  718. background:#F9F9FA;
  719. padding:7px;
  720. margin:20px 0;
  721. border-radius:10px;
  722. color:#9698A2;
  723. }
  724. .buttons{
  725. flex-direction:row-reverse;
  726. }
  727. .button{
  728. padding:13rpx 30rpx;
  729. border:1px solid #CDCDCD;
  730. border-radius:15px;
  731. margin:0 10px;
  732. }
  733. .changewarehouse{
  734. padding:10px 20px;
  735. }
  736. .header{
  737. background:#fff;
  738. margin-top:60px;
  739. border-radius:0px 0px 16px 16px;
  740. }
  741. .footer{
  742. background:#fff;
  743. position:fixed;
  744. bottom:0;
  745. width:100%;
  746. padding:20px 10px;
  747. z-index:10;
  748. .button{
  749. background:#22C572;
  750. width:90%;
  751. margin:0 auto;
  752. padding:10px;
  753. color:#fff;
  754. text-align:center;
  755. border-radius: 30px;
  756. }
  757. }
  758. </style>