index.vue 20 KB

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