index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911
  1. <template>
  2. <view class="content-box">
  3. <uni-nav-bar fixed="true" statusBar="true" left-icon="back" :title="title" background-color="#F7F9FA"
  4. color="#000" @clickLeft="back" right-icon="scan" @clickRight="HandlScanCode">
  5. </uni-nav-bar>
  6. <view class="list_box">
  7. <u-list @scrolltolower="scrolltolower">
  8. <view class="card_box">
  9. <workOrderBom :item='objData' v-if='objData' @handleScan='handleScan'></workOrderBom>
  10. <paramBom v-if='paramDetailList.length != 0' :list='paramDetailList'></paramBom>
  11. <deviceBom v-if='objData.equipmentList.length != 0' :list='objData.equipmentList'></deviceBom>
  12. <modelBom v-if='objData.modelList.length != 0' :list='objData.modelList' pattern='job'
  13. ref='modelRef'>
  14. </modelBom>
  15. <jobBom v-if='isLoad' :item='objData' ref='jobRef' :notFormed='objData.notFormedList'
  16. @penalize='penalize' @modeNum='modeNum'></jobBom>
  17. <palletBom v-if="objData.palletList.length != 0" :palletList='objData.palletList'></palletBom>
  18. <revolvingDiskBom v-if="isLoad && objData.revolvingDiskList.length > 0"
  19. :revolvingDiskList="objData.revolvingDiskList"></revolvingDiskBom>
  20. <!-- <oneJobBom
  21. v-if='objData.instanceList && objData.instanceList.length != 0 && taskType != 4 && taskType != 6'
  22. :item='objData' :list='objData.instanceList'>
  23. </oneJobBom> -->
  24. <semiProductJobBom
  25. v-if='objData.semiProductList && objData.semiProductList.length != 0 && taskType != 4 && taskType != 6'
  26. :item='objData' :list='objData.semiProductList'></semiProductJobBom>
  27. <oneJobQualityBom
  28. v-if='objData.semiProductList && objData.semiProductList.length != 0 && taskType == 6 && clientEnvironmentId == 3'
  29. :item='objData' :list='objData.semiProductList'></oneJobQualityBom>
  30. <byProductBom v-if='objData.productRecycleList.length != 0' :list='objData.productRecycleList'
  31. @penalize='penalize'>
  32. </byProductBom>
  33. <turnoverBom v-if='objData.turnover.length != 0' :list='objData.turnover' :wordItem='objData'
  34. pattern='job' @handleScan='handleScan' @formedNumFn='formedNumFn'>
  35. </turnoverBom>
  36. <aridRegion v-if='objData.aridRegionList.length != 0' :list='objData.aridRegionList'
  37. :remainingTime='remainingTime' @handleScan='handleScan' :isType='true'></aridRegion>
  38. <packingBom :taskId='taskId' :workOrderId='id' :objData='objData' ref="packRef"
  39. v-if='taskType == 4 && clientEnvironmentId != 3 && objData'></packingBom>
  40. <packingTgBom
  41. v-if='objData.pickOutInList && objData.pickOutInList.length != 0 && taskType == 4 && clientEnvironmentId == 3'
  42. :list='objData.pickOutInList' :item='objData'></packingTgBom>
  43. <view class="operate_box rx-sc">
  44. <u-button size="small" class="u-reset-button" type="success" @click="handAdd">手动添加</u-button>
  45. </view>
  46. <view style="height: 100rpx;"></view>
  47. </view>
  48. </u-list>
  49. </view>
  50. <view class="bottom-wrapper">
  51. <view class="btn_box" @click="save(1)">缓存</view>
  52. <view class="btn_box" @click="save(2)">一键报工</view>
  53. </view>
  54. <SearchPopup mode="bottom" v-if='searchShow'>
  55. <template v-slot:list>
  56. <view class="search_list">
  57. <u-form labelPosition="left" :model="formData" labelWidth="180" labelAlign="left" class="baseForm">
  58. <u-form-item label="仓库:" class="required-form" borderBottom prop="warehouseId">
  59. <zxz-uni-data-select :localdata="warehouseList" v-model="formData.warehouseId"
  60. dataValue='id' dataKey="name" filterable format='{name}'></zxz-uni-data-select>
  61. </u-form-item>
  62. </u-form>
  63. </view>
  64. </template>
  65. <template v-slot:operate>
  66. <view class="operate_box rx-bc">
  67. <u-button size="small" class="u-reset-button" @click="searchCancel">
  68. 取消
  69. </u-button>
  70. <u-button type="success" size="small" class="u-reset-button" @click="popupOk">
  71. 确定
  72. </u-button>
  73. </view>
  74. </template>
  75. </SearchPopup>
  76. </view>
  77. </template>
  78. <script>
  79. import {
  80. getByIdReport,
  81. getByCodeReport,
  82. jobSave
  83. } from '@/api/pda/jobBooking.js'
  84. import {
  85. scanLedger,
  86. getWarehouseList,
  87. saveCache,
  88. getCache
  89. } from '@/api/pda/workOrder.js'
  90. import workOrderBom from '../../feeding/components/workOrderBom.vue'
  91. import deviceBom from '../../feeding/components/deviceBom.vue'
  92. import modelBom from '../../feeding/components/modelBom.vue'
  93. import jobBom from '../components/jobBom.vue'
  94. import palletBom from '../components/palletBom.vue'
  95. import oneJobBom from '../components/oneJobBom.vue'
  96. import semiProductJobBom from '../components/semiProductJobBom.vue'
  97. import byProductBom from '../components/byProductBom'
  98. import turnoverBom from '../components/turnoverBom.vue'
  99. import aridRegion from '../../feeding/components/aridRegion.vue'
  100. import paramBom from '../../feeding/components/paramBom.vue'
  101. import packingBom from '../components/packingBom.vue'
  102. import packingTgBom from '../components/packingTgBom'
  103. import revolvingDiskBom from '../../feeding/components/revolvingDiskBom.vue'
  104. import SearchPopup from '../../components/searchPopup.vue'
  105. import oneJobQualityBom from '../components/oneJobQualityBom.vue'
  106. export default {
  107. components: {
  108. workOrderBom,
  109. deviceBom,
  110. modelBom,
  111. jobBom,
  112. palletBom,
  113. oneJobBom,
  114. semiProductJobBom,
  115. byProductBom,
  116. turnoverBom,
  117. aridRegion,
  118. paramBom,
  119. packingBom,
  120. packingTgBom,
  121. revolvingDiskBom,
  122. SearchPopup,
  123. oneJobQualityBom
  124. },
  125. data() {
  126. return {
  127. title: '',
  128. taskType: 1,
  129. isLoad: true,
  130. objData: {
  131. equipmentList: [],
  132. modelList: [],
  133. turnover: [],
  134. productRecycleList: [],
  135. aridRegionList: [],
  136. palletList: [],
  137. workReportInfo: {
  138. },
  139. notFormedList: [], // 报工-不合格
  140. },
  141. searchShow: false,
  142. warehouseList: [],
  143. formData: {
  144. warehouseId: ''
  145. },
  146. penalizeIndex: null,
  147. paramDetailList: [],
  148. remainingTime: 0,
  149. id: null,
  150. taskId: null,
  151. clientEnvironmentId: uni.getStorageSync("userInfo") && uni.getStorageSync("userInfo")
  152. .clientEnvironmentId, // *1 主环境-601环境 2 soll-索尔环境 3 tg-碳谷环境
  153. }
  154. },
  155. onLoad(options) {
  156. this.title = options.taskName ? options.taskName + '-报工' : '报工'
  157. this.taskType = options.taskType
  158. this.id = options.id
  159. this.taskId = options.taskId
  160. this.getList()
  161. },
  162. onShow() {
  163. uni.$off("setSelectList");
  164. uni.$on("setSelectList", (selectList, id) => {
  165. let turnover = []
  166. let equipmentList = [] // 生产设备
  167. let isEquipment = this.objData.equipmentList.length > 0 ? true : false // 判断是否有设置
  168. selectList.forEach(f => {
  169. if (f.rootCategoryLevelId == 4) { // 生产设备
  170. if (isEquipment) {
  171. equipmentList = this.objData.equipmentList
  172. } else {
  173. equipmentList = equipmentList.concat(f)
  174. }
  175. }
  176. if (f.rootCategoryLevelId == 7) { // 周转车
  177. turnover = turnover.concat(f)
  178. }
  179. })
  180. this.$set(this.objData, 'equipmentList', equipmentList)
  181. this.$set(this.objData, 'turnover', turnover)
  182. this.$forceUpdate()
  183. });
  184. },
  185. methods: {
  186. // 相机扫码
  187. HandlScanCode() {
  188. uni.scanCode({
  189. success: (res) => {
  190. this.scanItAllData(res.result)
  191. }
  192. })
  193. },
  194. scanItAllData(result) {
  195. scanLedger(result).then(res => {
  196. if (res[0].rootCategoryLevelId == 4) { // 设备
  197. let isFals = this.objData.equipmentList.some(m => m.code == result)
  198. if (isFals) {
  199. uni.showToast({
  200. title: '设备已存在',
  201. icon: 'none'
  202. })
  203. return false
  204. }
  205. this.objData.equipmentList.push(res[0])
  206. this.$forceUpdate()
  207. }
  208. if (res.length >= 1 && res[0].rootCategoryLevelId == 5) { // 磨具
  209. if (this.objData.modelList.length == 0) {
  210. this.objData.modelList = res
  211. this.$forceUpdate()
  212. } else {
  213. if (this.objData.modelList[0].instanceId != res[0].instanceId) {
  214. uni.showToast({
  215. title: '模具不匹配',
  216. icon: 'none'
  217. })
  218. } else {
  219. uni.showToast({
  220. title: '设备匹配成功',
  221. icon: 'none'
  222. })
  223. }
  224. }
  225. } else if (res.length == 1 && res[0].rootCategoryLevelId == 7) { // 周转车
  226. let isFals = this.objData.turnover.some(m => m.code == result)
  227. if (isFals) {
  228. uni.showToast({
  229. title: '周转车已存在',
  230. icon: 'none'
  231. })
  232. return false
  233. }
  234. this.objData.turnover.push(res[0])
  235. this.$forceUpdate()
  236. }
  237. })
  238. },
  239. handleScan(id, type) {
  240. uni.scanCode({
  241. success: (res) => {
  242. this.scanData(res.result, type, id)
  243. }
  244. })
  245. },
  246. scanData(result, type, id) {
  247. if (type == 'wordOrder') {
  248. getByCodeReport(result, this.taskId).then(res => {
  249. this.objData = res
  250. if (!this.objData.hasOwnProperty('turnover')) {
  251. this.objData['turnover'] = []
  252. }
  253. if (!this.objData.hasOwnProperty('aridRegionList')) {
  254. this.objData['aridRegionList'] = []
  255. }
  256. })
  257. } else if (type == 'turnover') {
  258. let isFals = this.objData.turnover.some(m => m.code == result)
  259. if (isFals) {
  260. uni.showToast({
  261. title: '周转车已存在',
  262. icon: 'none'
  263. })
  264. return false
  265. }
  266. getByCodeReport(result, this.taskId).then(res => {
  267. this.objData.turnover[id] = res
  268. })
  269. }
  270. },
  271. formedNumFn(num) {
  272. this.$refs.jobRef.setFormedNum(num)
  273. },
  274. getList() {
  275. this.isLoad = false
  276. getByIdReport(this.id, this.taskId).then(res => {
  277. this.objData = res
  278. if (!this.objData.hasOwnProperty('turnover')) {
  279. this.objData['turnover'] = []
  280. }
  281. if (!this.objData.hasOwnProperty('aridRegionList')) {
  282. this.objData['aridRegionList'] = []
  283. }
  284. if (!this.objData.hasOwnProperty('instanceList')) {
  285. this.objData['instanceList'] = []
  286. }
  287. if (!this.objData.hasOwnProperty('palletList')) {
  288. this.objData['palletList'] = []
  289. }
  290. if (!this.objData.hasOwnProperty('revolvingDiskList')) {
  291. this.objData['revolvingDiskList'] = []
  292. }
  293. // this.taskType = res.currentTaskDiagram.type
  294. if (this.objData.palletList.length > 0) {
  295. this.objData.palletList = this.objData.palletList.map(m => {
  296. return {
  297. hideKc: true, // 不显示库存
  298. quantity: m.feedQuantity,
  299. ...m
  300. }
  301. })
  302. } else {
  303. // this.objData.palletList = [{
  304. // categoryLevelId: '',
  305. // categoryLevelName: '',
  306. // categoryId: '',
  307. // rootCategoryLevelId: '',
  308. // code: '',
  309. // name: '',
  310. // specification: '',
  311. // brandNum: '',
  312. // modelType: '',
  313. // quantity: '',
  314. // unit: '',
  315. // }]
  316. }
  317. if (this.taskType == 6 && this.clientEnvironmentId == 3) {
  318. this.objData.semiProductList = this.objData.pickOutInList
  319. }
  320. this.objData.workReportInfo = {
  321. formingNum: null,
  322. formingWeight: null,
  323. formedNum: null,
  324. formedWeight: null,
  325. taskId: this.taskId
  326. }
  327. this.objData.notFormedList = [{
  328. notFormedNum: null,
  329. notFormedWeight: null,
  330. weightUnit: res.weightUnit,
  331. unit: res.unit,
  332. warehouseId: null, // 处置 仓库id
  333. }]
  334. if (this.objData.semiProductList.length > 0) { // 预制体报工
  335. this.objData.workReportInfo.formedNum = this.objData.semiProductList.length
  336. }
  337. this.objData.workReportInfo.formingNum = res.formingNum
  338. this.objData.workReportInfo.formingWeight = res.formingWeight
  339. this.objData.workReportInfo.unit = res.unit
  340. this.objData.workReportInfo.weightUnit = res.weightUnit
  341. this.objData.workReportInfo.workOrderId = res.workOrderId
  342. this.paramDetailList = []
  343. this.paramDetailList = res.paramDetailList.map(m => {
  344. if (m.extInfo.textType == 5) {
  345. this.remainingTime = m.extInfo.remainingTime
  346. }
  347. return {
  348. ...m.extInfo
  349. }
  350. })
  351. }).finally(() => {
  352. this.isLoad = true
  353. if (this.taskType == 1) {
  354. this.getCacheFn()
  355. }
  356. })
  357. },
  358. scrolltolower() {},
  359. handAdd() {
  360. const storageKey = Date.now() + "";
  361. uni.setStorageSync(storageKey, this.objData || {});
  362. uni.navigateTo({
  363. url: `/pages/pda/workOrder/search/index?storageKey=${storageKey}&isType=job&taskId=${this.taskId}`
  364. })
  365. },
  366. penalize(index) {
  367. if (index || index == 0) {
  368. this.penalizeIndex = index
  369. this.formData.warehouseId = this.objData.productRecycleList[this.penalizeIndex].warehouseId || ''
  370. } else {
  371. this.penalizeIndex = null
  372. this.formData.warehouseId = this.objData.notFormedList[0].warehouseId || ''
  373. }
  374. this.$forceUpdate()
  375. if (this.warehouseList.length == 0) {
  376. getWarehouseList().then(res => {
  377. this.warehouseList = res
  378. this.searchShow = true
  379. })
  380. } else {
  381. this.searchShow = true
  382. }
  383. },
  384. inputChange(e) {
  385. console.log(e)
  386. },
  387. searchCancel() {
  388. this.searchShow = false
  389. },
  390. popupOk() {
  391. if (this.penalizeIndex == null) {
  392. this.$set(this.objData.notFormedList[0], 'warehouseId', this.formData.warehouseId || null)
  393. } else {
  394. this.objData.productRecycleList[this.penalizeIndex].warehouseId = this.formData.warehouseId
  395. }
  396. this.$forceUpdate()
  397. this.searchShow = false
  398. },
  399. modeNum(num) {
  400. if (this.objData.modelList.length == 0) {
  401. return false
  402. }
  403. this.$refs.modelRef.setNum(num)
  404. },
  405. async save(type) {
  406. uni.showLoading({
  407. title: '加载中'
  408. });
  409. if (!this.objData.workReportInfo['formedNum'] && this.objData.workReportInfo['formedNum'] != 0) {
  410. uni.showToast({
  411. title: '请输入合格品数量',
  412. icon: 'none'
  413. })
  414. return false
  415. }
  416. // if (!this.objData.workReportInfo['formedWeight'] && this.objData.workReportInfo['formedWeight'] != 0) {
  417. // uni.showToast({
  418. // title: '请输入合格品重量',
  419. // icon: 'none'
  420. // })
  421. // return false
  422. // }
  423. // if (this.objData.notFormedList[0].notFormedNum > 0 && !this.objData.notFormedList[0].warehouseId) {
  424. // uni.showToast({
  425. // title: '请点击不合格品处置,选择仓库',
  426. // icon: 'none'
  427. // })
  428. // return false
  429. // }
  430. // 预制体
  431. if (this.objData.instanceList.length > 0 && this.taskType != 4) {
  432. let bol
  433. let _i
  434. bol = this.objData.instanceList.every((e, i) => {
  435. _i = i + 1
  436. if (this.taskType == 6) {
  437. return e.extInfo.hasOwnProperty('taskId') && e.extInfo.taskId
  438. } else {
  439. return e.extInfo.hasOwnProperty('taskId') && e.extInfo.taskId && e.extInfo
  440. .reportWeight
  441. }
  442. })
  443. if (!bol) {
  444. uni.showToast({
  445. title: `请完善第${_i}处置方式`,
  446. icon: 'none'
  447. })
  448. return false
  449. }
  450. }
  451. if (this.objData.productRecycleList.length > 0 && this.clientEnvironmentId != 2) {
  452. const isRecycle = await this.checkRecycle()
  453. if (!isRecycle) {
  454. return false
  455. }
  456. }
  457. if (this.taskType == 4 && this.clientEnvironmentId != 3) {
  458. const isPack = await this.checkPack()
  459. if (!isPack) {
  460. return false
  461. }
  462. }
  463. if (this.objData.currentTaskDiagram.isFirstTask == 0) { // isFirstTask 1是 判断是否首工序
  464. const isFirstTask = await this.checkFirstTask()
  465. if (!isFirstTask) {
  466. return false
  467. }
  468. }
  469. if (this.taskType == 1) {
  470. const isCache = await this.checkCache(type)
  471. if (!isCache) {
  472. return false
  473. }
  474. }
  475. jobSave(this.objData).then(res => {
  476. uni.hideLoading();
  477. if (this.taskType == 4) {
  478. uni.showModal({
  479. title: '提示',
  480. content: '打包完成是否去入库!',
  481. confirmText: '确认', //这块是确定按钮的文字
  482. success: rr => {
  483. if (rr.confirm) {
  484. uni.redirectTo({
  485. url: `/pages/pda/warehousing/index?workOrderId=${this.id}&taskId=-1&workReportId=${res}&delta=-2`
  486. })
  487. } else {
  488. uni.navigateBack()
  489. }
  490. }
  491. })
  492. } else {
  493. uni.navigateBack()
  494. }
  495. }).finally(() => {
  496. setTimeout(function() {
  497. uni.hideLoading();
  498. }, 3000);
  499. })
  500. },
  501. checkRecycle() {
  502. uni.hideLoading();
  503. return new Promise((resolve) => {
  504. uni.showModal({
  505. title: '提示',
  506. content: '是否跳过副产品回收处置!',
  507. confirmText: '确认', //这块是确定按钮的文字
  508. success: function(res) {
  509. if (res.confirm) {
  510. resolve(true)
  511. } else {
  512. resolve(false)
  513. }
  514. }
  515. })
  516. })
  517. },
  518. checkPack() {
  519. uni.hideLoading();
  520. return new Promise((resolve) => {
  521. let packInfo = this.$refs.packRef.getData()
  522. this.objData.packInfo = packInfo
  523. this.objData.taskType = this.taskType
  524. if (packInfo.formedNumLast != Number(this.objData.workReportInfo['formedNum']) + Number(this
  525. .objData
  526. .notFormedList[0].notFormedNum)) {
  527. uni.hideLoading();
  528. uni.showModal({
  529. title: '提示',
  530. content: '合格品数量加不合格品数量不等于包装总数!',
  531. confirmText: '确认', //这块是确定按钮的文字
  532. success: function(res) {
  533. if (res.confirm) {
  534. resolve(true)
  535. } else {
  536. resolve(false)
  537. }
  538. }
  539. })
  540. } else {
  541. resolve(true)
  542. }
  543. })
  544. },
  545. checkFirstTask() {
  546. uni.hideLoading();
  547. return new Promise((resolve) => {
  548. if (this.objData.formedNumLast != Number(this.objData.workReportInfo['formedNum']) + Number(
  549. this.objData.notFormedList[0].notFormedNum)) {
  550. uni.showModal({
  551. title: '提示',
  552. content: '合格品数量加不合格品数量不等于上道工序数量!',
  553. confirmText: '确认', //这块是确定按钮的文字
  554. success: function(res) {
  555. if (res.confirm) {
  556. resolve(true)
  557. } else {
  558. resolve(false)
  559. }
  560. }
  561. })
  562. } else {
  563. resolve(true)
  564. }
  565. })
  566. },
  567. checkCache(type) {
  568. uni.hideLoading();
  569. return new Promise((resolve) => {
  570. if (type == 1) {
  571. saveCache(this.objData).then(rr => {
  572. uni.showToast({
  573. title: `已经缓存`,
  574. icon: 'none'
  575. })
  576. })
  577. resolve(false)
  578. }
  579. else if(type ==2) {
  580. resolve(true)
  581. }
  582. })
  583. },
  584. getCacheFn() {
  585. let parma = {
  586. workOrderId: this.id,
  587. taskId: this.taskId
  588. }
  589. getCache(parma).then(res => {
  590. this.objData['product'] = res.extInfo.product
  591. this.objData['workReportInfo'] = res.extInfo.workReportInfo
  592. this.objData['notFormedList'] = res.extInfo.notFormedList
  593. this.objData['turnover'] = res.extInfo.turnover
  594. this.objData['productRecycleList'] = res.extInfo.productRecycleList
  595. })
  596. },
  597. }
  598. }
  599. </script>
  600. <style lang="scss" scoped>
  601. .content-box {
  602. height: 100vh;
  603. overflow: hidden;
  604. display: flex;
  605. flex-direction: column;
  606. }
  607. .list_box {
  608. flex: 1;
  609. overflow: hidden;
  610. padding: 4rpx 0;
  611. .u-list {
  612. height: 100% !important;
  613. }
  614. .card_box {
  615. padding: 16rpx 20rpx;
  616. }
  617. }
  618. .bottom-wrapper {
  619. width: 100%;
  620. display: flex;
  621. align-items: center;
  622. justify-content: space-around;
  623. .btn_box {
  624. width: 50%;
  625. height: 88rpx;
  626. line-height: 88rpx;
  627. background: $theme-color;
  628. text-align: center;
  629. font-size: 36rpx;
  630. font-style: normal;
  631. font-weight: 400;
  632. color: #fff;
  633. &:first-child {
  634. border-right: 2rpx solid #fff;
  635. }
  636. }
  637. }
  638. .operate_box {
  639. padding: 10rpx 160rpx;
  640. /deep/ .u-button {
  641. width: 160rpx;
  642. }
  643. }
  644. .search_list {
  645. min-height: 500rpx;
  646. padding: 0 32rpx;
  647. }
  648. </style>