index.vue 20 KB

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