quality_testing.vue 20 KB

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