index.vue 20 KB

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