index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747
  1. <template>
  2. <view class="uni-column" style="height: 100%; background-color: #f5f5f5;">
  3. <view class="box-bg uni-row">
  4. <view class="input-view uni-row">
  5. <uni-icons class="input-uni-icon" type="search" size="18" color="#999" />
  6. <input class="nav-bar-input" type="text" v-model="keywords" placeholder="请输入批次号" />
  7. </view>
  8. <view class="search" @click="handleSearch">
  9. 搜索
  10. </view>
  11. </view>
  12. <view class="list-title uni-row">
  13. <text class="label">是否正常批次</text>
  14. <text>{{ normalStatus ? '是' : '否' }}</text>
  15. <switch class="switch" :checked="normalStatus" @change="switchChange" color="rgba(255,85,85,1)" />
  16. </view>
  17. <view class="scroll-container" style="padding-bottom: 150rpx;">
  18. <view v-if="listData.length == 0" style="color: #999;margin: 50% auto;">
  19. <text>暂无批次</text>
  20. </view>
  21. <!-- 批次列表 -->
  22. <view v-else v-for="(item, index) in listData" :key="index" class="list-item"
  23. @click="handleToreportingForWork(item)">
  24. <view class="title-container uni-row" style="justify-content: flex-start;">
  25. <view class="title uni-row">
  26. <text class="label">批次号:</text>
  27. <text class="label code">{{ item['lotCode'] }}</text>
  28. </view>
  29. <view class=" uni-row" style="margin-left: 16rpx;">
  30. <view v-if="item['status'] == 1" class="tag"><text class="label">进行中</text></view>
  31. <view v-else-if="item['status'] == 3" class="tag turnover "><text class="label">周转中</text>
  32. </view>
  33. <view v-else-if="item['status'] == 2" class="tag turnover "><text class="label">待周转</text>
  34. </view>
  35. <view v-else-if="item['status'] == 0" class="tag finished "><text class="label">未开始</text>
  36. </view>
  37. <view v-else-if="item['status'] == 4" type="default finished" class="tag finished"><text
  38. class="label">已完成</text></view>
  39. </view>
  40. </view>
  41. <view class="item-info uni-row">
  42. <text class="label">产品描述</text>
  43. <text class="label right">{{ curPlan['productDescription'] }}</text>
  44. </view>
  45. <view class="item-info uni-row">
  46. <text class="label">材质</text>
  47. <text
  48. class="label right">{{ item['furnaceNoInfo'] ? item['furnaceNoInfo'].firstTechnicalRequirement + ";" + item['furnaceNoInfo'].secondTechnicalRequirement : '-' }}</text>
  49. </view>
  50. <view class="item-info uni-row">
  51. <text class="label">原材料厂家</text>
  52. <text class="label right">{{ item['furnaceNoInfo'] ? item['furnaceNoInfo'].factory : '-' }}</text>
  53. </view>
  54. <view class="item-info uni-row">
  55. <text class="label">箱号</text>
  56. <text class="label right">{{ item['carrierName'] ? item['carrierName'] : '-' }}</text>
  57. </view>
  58. <!-- <view class="item-info uni-row">
  59. <text class="label">总工时</text>
  60. <text class="label right">{{ item['totalWorkingHours']}}</text>
  61. </view> -->
  62. <view class="item-info uni-row">
  63. <text class="label">投入数</text>
  64. <text
  65. class="label right">{{item['processQualifiedNum'] == 0 ? item['productionQuantity'] : item['processQualifiedNum']}}</text>
  66. </view>
  67. <view class="item-info uni-row">
  68. <text class="label">上道工序</text>
  69. <text class="label right">{{ item.prevProcess ? item['prevProcess'].processAlias : '-'}}</text>
  70. </view>
  71. <view class="item-info uni-row">
  72. <text class="label">当前工序</text>
  73. <text
  74. class="label right">{{ item.currentProcess ? item.prevProcess && item['currentProcess'].processAlias == item['prevProcess'].processAlias ? '-' : item['currentProcess'].processAlias : '-'}}</text>
  75. </view>
  76. <view class="item-info uni-row">
  77. <text class="label">下道工序</text>
  78. <view class="label right uni-row">{{ item.nextProcess ? item['nextProcess'].processAlias : '-' }}
  79. (<view style="color: #1684fc;" @click.stop="handleClickProcessList(item)">&nbsp;工艺列表&nbsp;
  80. </view>)
  81. </view>
  82. </view>
  83. <!-- <view class="item-info uni-row">
  84. <text class="label">设备</text>
  85. <text class="label right">{{ curPlan['equipmentName'] }}</text>
  86. </view> -->
  87. <view v-if="notPreProcess" class="item-info uni-row">
  88. <text class="label">所在区域</text>
  89. <text class="label right">{{ item['place'] ? item['place'] : '-' }}</text>
  90. </view>
  91. <view class="status-btn uni-row">
  92. <view v-if="item['status'] == 2" class=" uni-row">
  93. <button class="turnover-tag" size="mini"
  94. @click.stop="handleShowTurnoverApplication(item)">周转申请</button>
  95. <!-- <button class="reporting-tag" size="mini" @click="handleToreportingForWork">去报工</button> -->
  96. </view>
  97. <view v-else-if="item['status'] == 3" class=" uni-row">
  98. <button class="turnover-tag" size="mini" @click.stop="handleCancelTurnover(item)"
  99. style="background-color: rgba(255, 85, 85, 1);">取消周转</button>
  100. </view>
  101. </view>
  102. </view>
  103. </view>
  104. <!-- 抽屉 -->
  105. <uni-drawer ref="showRight" mode="right" :mask-click="true">
  106. <view style="text-align: center; font-size: 48rpx; padding: 48rpx 0 24rpx 0;">工艺列表</view>
  107. <view style="font-size: 24rpx;text-align: center;color: red; margin-bottom: 16rpx;">
  108. 仅显示当前工序后面工艺
  109. </view>
  110. <scroll-view scroll-y="true" style="height: 82%;" @touchmove.stop>
  111. <view v-for="(item,index) in curProcessAfte" :key="index"
  112. style="padding: 8rpx 5% 8rpx 14%; border-top: 1px solid #cccccc">
  113. <text>{{ index + 1 }}.{{item.processAlias}}</text>
  114. </view>
  115. </scroll-view>
  116. </uni-drawer>
  117. <!-- <view v-if="bottomStatus" class="bottom uni-row">
  118. <button class="start-batch-btn" type="primary" @click="handleStartNewBatch">开始新批次</button>
  119. </view>
  120. <view v-if="!bottomStatus" class="bottom uni-row">
  121. <button class="start-batch-btn" type="primary" @click="handleScanCode">扫一扫开始新批次</button>
  122. </view> -->
  123. <view class="bottom uni-row">
  124. <button class="start-batch-btn" style="margin-right: 10rpx;" type="primary"
  125. @click="handleScanCode">扫码开始批次</button>
  126. <button class="start-batch-btn" type="primary" @click="handleSearchCode">查箱号</button>
  127. </view>
  128. <dialog-lot ref="lotDialog" @submit="handleDoIt" />
  129. <dialog-turnoverApplication ref="turnoverApplicationDialog" @reflushDaywork="handleDoTurnoverAfter" />
  130. <dialog-selectProduction ref="selectProduction"></dialog-selectProduction>
  131. </view>
  132. </template>
  133. <script setup>
  134. import {
  135. reactive,
  136. ref
  137. } from 'vue'
  138. import {
  139. onLoad,
  140. onReady,
  141. onUnload,
  142. onShow,
  143. onPullDownRefresh
  144. } from '@dcloudio/uni-app'
  145. import {
  146. getDayWorkList,
  147. showDaywork,
  148. showDayworkSave,
  149. turnoverDelete
  150. } from '@/api/business/dayWork.js'
  151. import {
  152. getAbnormalityLot
  153. } from '@/api/business/lot.js'
  154. import {
  155. carrierFinishedCheck
  156. } from '@/api/business/carrier.js'
  157. import {
  158. store
  159. } from '@/store/index.js'
  160. import {
  161. toHHmmss
  162. } from '@/utils/common.js'
  163. const turnoverApplicationDialog = ref(null)
  164. const selectProduction = ref(null)
  165. const lotDialog = ref(null)
  166. const listData = ref([])
  167. const curPlan = ref(null)
  168. const bizDayworkObj = ref({})
  169. const bottomStatus = ref(false) // 底部按钮显示
  170. const reqParam = ref(null);
  171. const normalStatus = ref(0)
  172. const curDayworkItem = ref({}) // 当前报工记录,回显是否显示取消周转的状态
  173. const keywords = ref(null)
  174. const tempList = ref([])
  175. const wasteRecyclingList = ref([]) //废品回用批次
  176. const notPreProcess = ref(true)
  177. const curProcessAfte = ref([])
  178. const showRight = ref(null) // 抽屉
  179. onLoad(() => {
  180. curPlan.value = store.planDetails;
  181. console.log(curPlan.value)
  182. //废品回用的领料部门如果是当前工段,也要可以开始新批次
  183. //查找当前计划单下的批次废品回用是当前工段
  184. getAbnormalityLot({
  185. productionPlanDetailId: store.planDetails.id,
  186. requisitionDepartmentId: store.curDeptDetails.deptId
  187. }).then(res => {
  188. wasteRecyclingList.value = res.rows
  189. console.log(wasteRecyclingList.value.length)
  190. if (store.planDetails.requisitionDepartmentId == store.curDeptDetails.deptId ||
  191. wasteRecyclingList.value.length > 0) {
  192. bottomStatus.value = true;
  193. store.isPreProcess = true;
  194. } else {
  195. bottomStatus.value = false;
  196. store.isPreProcess = false;
  197. }
  198. })
  199. console.log(wasteRecyclingList.value.length)
  200. })
  201. /**
  202. * 监听下拉刷新
  203. */
  204. onPullDownRefresh(() => {
  205. uni.stopPullDownRefresh();
  206. reflush();
  207. // normalStatus.value = true;
  208. // let reqData = {
  209. // productionPlanDetailId: store.planDetails.id,
  210. // deptId: store.curDeptDetails.deptId,
  211. // keywords: keywords.value
  212. // };
  213. // getDayWorkList(reqData).then(res => {
  214. // if (res.code == 200) {
  215. // tempList.value = res.data
  216. // if (normalStatus.value) {
  217. // listData.value = res.data.filter(item => {
  218. // return item.isWasteRecycling == 0 && item.isAmend == 0;
  219. // });
  220. // } else {
  221. // listData.value = res.data.filter(item => {
  222. // return item.isWasteRecycling == 1 || item.isAmend == 1;
  223. // })
  224. // }
  225. // for (let i = 0; i < listData.value.length; i++) {
  226. // if (listData.value[i].prevProcess) {
  227. // let sum = 0;
  228. // for (let j = 0; j < listData.value[i].dayworkItemList.length; j++) {
  229. // if (listData.value[i].dayworkItemList[j].processId == listData.value[i]
  230. // .prevProcess
  231. // .id && (listData.value[i].dayworkItemList[j].status == 2 || listData.value[
  232. // i]
  233. // .dayworkItemList[j].status == 3)) {
  234. // sum += listData.value[i].dayworkItemList[j].qualifiedNum;
  235. // }
  236. // }
  237. // listData.value[i].processQualifiedNum = sum;
  238. // }
  239. // }
  240. // }
  241. // uni.stopPullDownRefresh();
  242. // })
  243. })
  244. onShow(() => {
  245. reflush();
  246. })
  247. function reflush() {
  248. normalStatus.value = true;
  249. init(store.planDetails.id);
  250. }
  251. function handleShowTurnoverApplication(data) {
  252. let _data = data ?? {}
  253. carrierFinishedCheck(data).then(res => {
  254. if (res.code === 200) {
  255. // 调用子组件中的方法
  256. turnoverApplicationDialog.value.open(_data)
  257. } else {
  258. uni.showToast({
  259. icon: 'none',
  260. title: res.msg
  261. })
  262. }
  263. })
  264. // .catch(err => {
  265. // uri.showToast({
  266. // icon: "fail",
  267. // title: "网络请求失败。"
  268. // })
  269. // })
  270. }
  271. function handleStartNewBatch() {
  272. uni.navigateTo({
  273. url: "/pages/addNewBatch/index"
  274. })
  275. }
  276. function init(id) {
  277. uni.showLoading({
  278. title: '加载中'
  279. });
  280. let reqData = {
  281. productionPlanDetailId: id,
  282. deptId: store.curDeptDetails.deptId,
  283. keywords: keywords.value
  284. };
  285. // normalStatus.value = true;
  286. getDayWorkList(reqData).then(res => {
  287. if (res.code == 200) {
  288. tempList.value = res.data
  289. if (normalStatus.value) {
  290. listData.value = res.data.filter(item => {
  291. return item.isWasteRecycling == 0 && item.isAmend == 0;
  292. });
  293. } else {
  294. listData.value = res.data.filter(item => {
  295. return item.isWasteRecycling == 1 || item.isAmend == 1;
  296. })
  297. }
  298. // listData.value = res.data.filter(item => {
  299. // return item.isWasteRecycling == 0 && item.isAmend == 0;
  300. // });
  301. for (let i = 0; i < listData.value.length; i++) {
  302. if (listData.value[i].prevProcess) {
  303. let sum = 0;
  304. for (let j = 0; j < listData.value[i].dayworkItemList.length; j++) {
  305. if (listData.value[i].dayworkItemList[j].processId == listData.value[i].prevProcess
  306. .id && (listData.value[i].dayworkItemList[j].status == 2 || listData.value[i]
  307. .dayworkItemList[j].status == 3)) {
  308. sum += listData.value[i].dayworkItemList[j].qualifiedNum;
  309. }
  310. }
  311. listData.value[i].processQualifiedNum = sum;
  312. }
  313. }
  314. }
  315. uni.hideLoading();
  316. })
  317. }
  318. function handleSearch() {
  319. init(store.planDetails.id);
  320. }
  321. function handleToreportingForWork(item) {
  322. uni.$once("formBack", () => handleSearch())
  323. uni.navigateTo({
  324. url: "/pages/sorting/form",
  325. success: function(res) {
  326. // 通过eventChannel向被打开页面传送数据
  327. res.eventChannel.emit('acceptDataFromOpenerPage', {
  328. data: item
  329. })
  330. }
  331. })
  332. }
  333. function handleClickProcessList(item) {
  334. let curProcessAfterList = [];
  335. console.log(item)
  336. let nextIndex = 0;
  337. for (let i = 0; i < item.processSequence.length; i++) {
  338. if (item.nextProcess.id == item.processSequence[i].id) {
  339. nextIndex = i;
  340. }
  341. }
  342. for (let i = 0; i < item.processSequence.length; i++) {
  343. if (i >= nextIndex) {
  344. curProcessAfterList.push(item.processSequence[i]);
  345. }
  346. }
  347. if (item.status == 3) {
  348. curProcessAfterList.splice(0, 1)
  349. }
  350. console.log(curProcessAfterList)
  351. curProcessAfte.value = curProcessAfterList;
  352. showRight.value.open();
  353. }
  354. function handleSearchCode() {
  355. selectProduction.value.open(normalStatus.value);
  356. }
  357. // function switchChange(event) {
  358. // //异常批
  359. // if (event.detail.value) {
  360. // listData.value = tempList.value.filter(item => {
  361. // return item.isWasteRecycling == 1 || item.isAmend == 1;
  362. // });
  363. // normalStatus.value = 1
  364. // } else {
  365. // listData.value = tempList.value.filter(item => {
  366. // return item.isWasteRecycling == 0 && item.isAmend == 0;
  367. // });
  368. // normalStatus.value = 0
  369. // }
  370. // }
  371. function handleScanCode() {
  372. // 引入原生插件
  373. const mpaasScanModule = uni.requireNativePlugin("Mpaas-Scan-Module");
  374. // const mpaasScanModule = null
  375. if (mpaasScanModule) {
  376. // 调用插件的 mpaasScan 方法
  377. mpaasScanModule.mpaasScan({
  378. // 扫码识别类型,参数可多选,qrCode、barCode,
  379. // 如不设置,默认识别所有扫码类型,可能有些许影响识别效率
  380. scanType: ["qrCode", "barCode"],
  381. // 是否隐藏相册,默认false不隐藏
  382. hideAlbum: false,
  383. },
  384. (ret) => {
  385. console.log(ret);
  386. let vehicleObj = JSON.parse(ret.resp_result);
  387. if (!vehicleObj.carrierId || vehicleObj.carrierId == "") {
  388. uni.showToast({
  389. icon: "none",
  390. title: "请扫载具码",
  391. duration: 1000
  392. })
  393. return;
  394. }
  395. showDaywork({
  396. carrierId: vehicleObj.carrierId,
  397. status: 7
  398. }).then(response => {
  399. if (response.code == 200) {
  400. // console.log(response)
  401. // console.log(response.data[0].productionPlanDetailId)
  402. // console.log(store.planDetails.id)
  403. if (response.data[0].productionPlanDetailId == store.planDetails.id) {
  404. // console.log(response.data)
  405. lotDialog.value.open(response.data);
  406. } else {
  407. uni.showToast({
  408. icon: 'none',
  409. title: '该批次不在此计划单内',
  410. duration: 2000
  411. })
  412. }
  413. } else {
  414. uni.showToast({
  415. icon: 'none',
  416. title: response.msg,
  417. duration: 2000
  418. })
  419. }
  420. })
  421. }
  422. );
  423. } else {
  424. // 测试时用
  425. showDaywork({
  426. carrierId: '1770342949090017283',
  427. status: 7
  428. }).then(response => {
  429. if (response.code == 200) {
  430. if (response.data[0].productionPlanDetailId == store.planDetails.id) {
  431. console.log(response.data)
  432. lotDialog.value.open(response.data);
  433. } else {
  434. uni.showToast({
  435. icon: 'none',
  436. title: '该批次不在此计划单内',
  437. duration: 2000
  438. })
  439. }
  440. } else {
  441. console.log(response)
  442. uni.showToast({
  443. icon: 'none',
  444. title: response.msg,
  445. duration: 2000
  446. })
  447. }
  448. })
  449. }
  450. }
  451. // function handleScanCode() {
  452. // uni.scanCode({
  453. // onlyFromCamera: true,
  454. // success: function (res) {
  455. // if (res.scanType !== 'QR_CODE') {
  456. // uni.showToast({
  457. // icon: 'none',
  458. // title: '二维码未识别成功',
  459. // duration: 2000
  460. // })
  461. // }
  462. // console.log('条码类型:' + res.scanType);
  463. // console.log('条码内容:' + res.result);
  464. // }
  465. // });
  466. // }
  467. function handleAddDaywork(data) {
  468. console.log(data)
  469. let reqParam = [];
  470. for (var i = 0; i < data.length; i++) {
  471. reqParam.push(data[i].daywork)
  472. }
  473. console.log(data)
  474. showDayworkSave(data).then(res => {
  475. console.log(res)
  476. init(store.planDetails.id);
  477. })
  478. }
  479. function handleDoIt(data) {
  480. handleAddDaywork(data);
  481. }
  482. function handleDoTurnoverAfter() {
  483. reflush();
  484. }
  485. function switchChange(event) {
  486. console.log(event)
  487. //异常批
  488. if (normalStatus.value) {
  489. listData.value = tempList.value.filter(item => {
  490. return item.isWasteRecycling == 1 || item.isAmend == 1;
  491. });
  492. normalStatus.value = false
  493. } else {
  494. listData.value = tempList.value.filter(item => {
  495. return item.isWasteRecycling == 0 && item.isAmend == 0;
  496. });
  497. normalStatus.value = true
  498. }
  499. console.log(listData.value)
  500. }
  501. function handleCancelTurnover(data) {
  502. turnoverDelete(data).then(res => {
  503. if (res.code == 200) {
  504. uni.showToast({
  505. icon: "success",
  506. title: "取消成功",
  507. duration: 2000
  508. })
  509. init(store.planDetails.id);
  510. } else {
  511. uni.showToast({
  512. icon: "none",
  513. title: "取消失败",
  514. duration: 2000
  515. })
  516. }
  517. })
  518. }
  519. </script>
  520. <style lang="scss">
  521. $nav-height: 60rpx;
  522. .box-bg {
  523. width: 94%;
  524. background-color: #F5F5F5;
  525. padding: 5rpx 16rpx;
  526. justify-content: space-around;
  527. align-items: center;
  528. margin: 24rpx auto 0;
  529. .input-view {
  530. width: 100%;
  531. flex: 4;
  532. background-color: #f8f8f8;
  533. height: $nav-height;
  534. border: 1rpx solid #999;
  535. border-radius: 15rpx;
  536. padding: 0 15rpx;
  537. flex-wrap: nowrap;
  538. margin: 0 10rpx 0;
  539. line-height: $nav-height;
  540. .input-uni-icon {
  541. line-height: $nav-height;
  542. }
  543. .nav-bar-input {
  544. width: 80%;
  545. height: $nav-height;
  546. line-height: $nav-height;
  547. padding: 0 5rpx;
  548. background-color: #f8f8f8;
  549. }
  550. }
  551. .search {
  552. width: 20%;
  553. text-align: center;
  554. color: #808080;
  555. }
  556. }
  557. .list-title {
  558. width: 100%;
  559. margin-top: 16rpx;
  560. height: 64rpx;
  561. line-height: 64rpx;
  562. align-items: center;
  563. margin-left: 32rpx;
  564. .label {
  565. font-size: 32rpx;
  566. margin-right: 24rpx;
  567. }
  568. .icon-gear {
  569. font-size: 56rpx;
  570. }
  571. }
  572. .switch {
  573. margin-top: -8rpx;
  574. transform: scale(0.7);
  575. }
  576. .scroll-container {
  577. width: 92%;
  578. margin: 24rpx auto 0 auto;
  579. height: calc(90% - 100rpx);
  580. overflow: auto;
  581. }
  582. .list-item {
  583. background-color: #fff;
  584. position: relative;
  585. padding: 16rpx;
  586. padding-bottom: 24rpx;
  587. margin-bottom: 24rpx;
  588. border-radius: 24rpx;
  589. .title-container {
  590. margin-top: 8rpx;
  591. margin-bottom: 16rpx;
  592. .title {
  593. height: 48rpx;
  594. align-items: center;
  595. .label {
  596. font-size: 32rpx;
  597. font-weight: bold;
  598. &.code {
  599. margin-left: 8rpx;
  600. }
  601. }
  602. }
  603. .tag {
  604. border: 1px solid #1CE5B0;
  605. background-color: #F6FFFD;
  606. padding: 8rpx;
  607. border-radius: 8rpx;
  608. .label {
  609. color: #1CE5B0;
  610. font-size: 24rpx;
  611. }
  612. &.finished {
  613. border: 1px solid #BBBBBB;
  614. background-color: #F5F5F5;
  615. .label {
  616. color: #BBBBBB;
  617. }
  618. }
  619. &.turnover {
  620. border: 1px solid #FF7901;
  621. background-color: #F6FFFD;
  622. .label {
  623. color: #FF7901;
  624. }
  625. }
  626. }
  627. }
  628. .item-info {
  629. margin-bottom: 8rpx;
  630. .label {
  631. font-size: 28rpx;
  632. width: 220rpx;
  633. color: #808080;
  634. &.right {
  635. flex: 1;
  636. color: #000000;
  637. }
  638. }
  639. }
  640. .status-btn {
  641. justify-content: flex-end;
  642. align-items: center;
  643. .turnover-tag {
  644. padding-right: 12rpx;
  645. padding-left: 12rpx;
  646. border-radius: 8rpx;
  647. border: 1rpx solid #FF7901;
  648. background-color: #FF7901;
  649. font-size: 28rpx;
  650. color: #FFFFFF;
  651. }
  652. .reporting-tag {
  653. padding-right: 12rpx;
  654. padding-left: 12rpx;
  655. border-radius: 8rpx;
  656. margin-left: 16rpx;
  657. border: 1rpx solid #1684fc;
  658. background-color: #1684fc;
  659. font-size: 28rpx;
  660. color: #FFFFFF;
  661. }
  662. }
  663. }
  664. .bottom {
  665. height: 10%;
  666. position: fixed;
  667. right: 0;
  668. bottom: 0;
  669. left: 0;
  670. height: 100rpx;
  671. border-top: 1px solid #999999;
  672. padding: 16rpx 32rpx;
  673. align-items: center;
  674. background-color: #fff;
  675. justify-content: space-evenly;
  676. .start-batch-btn {
  677. flex: 1;
  678. height: 80rpx;
  679. line-height: 80rpx;
  680. border-radius: 8rpx;
  681. color: #FFFFFF;
  682. font-size: 28rpx;
  683. }
  684. }
  685. </style>