index.vue 20 KB

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