index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612
  1. <template>
  2. <div class="container">
  3. <van-nav-bar
  4. title="复核-活动单" left-arrow fixed placeholder @click-left="goBack">
  5. <template #left>
  6. <van-icon name="arrow-left" size="25" />
  7. <div style="color: #fff">返回</div>
  8. </template>
  9. <!-- <template #right>-->
  10. <!-- <div class="nav-right" @click="onClickRight">提交任务</div>-->
  11. <!-- </template>-->
  12. </van-nav-bar>
  13. <div class="activity">
  14. <div class="wave-title">
  15. <div><span style="font-size: 12px">波次/容器号:</span>{{ waveNo || '--' }}</div>
  16. <div class="wave-tips">
  17. <van-notice-bar :background="'none'" :speed="50" :text="tips" />
  18. </div>
  19. <van-button plain size="mini" type="primary" @click="_setWaveNo()">更换</van-button>
  20. </div>
  21. <div class="scan-barcode">
  22. <van-field v-model.lazy="scanBarcode" label-align="left" placeholder="请扫描商品条码/SKU" label="商品条码:"
  23. class="input-barcode" autocomplete="off" @keydown.enter="_handlerScan(scanBarcode)" />
  24. <van-field v-model.lazy="totalWeight" ref="weightRef" label-align="left" required placeholder="请输入商品重量KG" label="重&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;量:"
  25. autocomplete="off" type="number" @click.enter.prevent="endCheck()" >
  26. <template #button>
  27. <div>KG</div>
  28. </template>
  29. </van-field>
  30. <!-- :class="[totalWeight>0?'success-input-barcode':'error-input-barcode']"-->
  31. </div>
  32. <div class="order-detail">
  33. <div class="picking-no">
  34. <div class="picking-code">
  35. <div><van-icon name="stop-circle-o" /></div>
  36. <div style="flex: 1"><van-notice-bar :background="'none'" color="#419bff" :speed="50" :text="orderDetail.pickingCode||'--'" /></div>
  37. </div>
  38. <div>{{ orderDetail.carrierName || '--' }}</div>
  39. </div>
  40. <div class="picking-container ">
  41. <div class="container-item"><span style="color:#666">拣货容器号:</span><div style="flex:1"> <van-notice-bar :background="'none'" color="#000" :speed="50" :text="orderDetail.pickingContainer||'--'" /></div></div>
  42. <div class="container-item"><span style="color:#666">返拣容器:</span>{{ reversePickingContainerNo || '--' }}</div>
  43. <div style="display: flex;padding-top: 5px" @click="setPrinter()">
  44. <div>打印机:</div>
  45. <div v-if="printer">{{printer.printer}}</div>
  46. <div style="text-decoration: underline;color: #0077ff">设置打印机<van-icon name="edit" color="#0077ff"/> </div>
  47. </div>
  48. <div class="picking-order-count ">
  49. <div>已复核数/总复核数:
  50. <span style="color: #333;font-weight: bold;font-size: 18px" v-if="orderMap.dataGroup">{{ successNumber }}/{{Object.keys(orderMap.dataGroup).length ||0}}</span>
  51. <span v-else>0</span>
  52. </div>
  53. <div>取消单:
  54. <span style="color: #333;font-weight: bold;font-size: 18px" v-if="orderMap.cancelGroup">{{Object.keys(orderMap.cancelGroup).length ||0}}</span>
  55. <span v-else>0</span>
  56. </div>
  57. <div>冻结单:
  58. <span style="color: #333;font-weight: bold;font-size: 18px" v-if="orderMap.freezeGroup">{{Object.keys(orderMap.freezeGroup).length ||0}}</span>
  59. <span v-else>0</span>
  60. </div>
  61. </div>
  62. </div>
  63. <div class="picking-button">
  64. <div class="picking-button-item" @click="print('A3012_RF_WIFI_HDQD')">波次清单</div>
  65. <div class="picking-button-item" @click="print('PRINT_WAYBILL')">打印面单</div>
  66. <div class="picking-button-item" @click="endCheck()" >结束复核</div>
  67. <van-popover :actions="actions" placement="bottom-end" @select="onSelect" theme="dark">
  68. <template #reference>
  69. <div class="picking-button-item" style="padding: 0 5px">更多操作<van-icon name="play" /></div>
  70. </template>
  71. </van-popover>
  72. </div>
  73. </div>
  74. <div class="order-list-box">
  75. <van-divider style="margin: 0;padding: 5px 15px">订单明细</van-divider>
  76. <div class="order-list">
  77. <table class="task-table">
  78. <thead>
  79. <tr>
  80. <th style="width: 40%">商品条码</th>
  81. <th>数量</th>
  82. <th>剩余</th>
  83. <th v-if="isUniqueCode">标记</th>
  84. </tr>
  85. </thead>
  86. <tbody>
  87. <tr v-for="(item, index) in orderList" :key="index" v-if="orderList.length>0">
  88. <td>{{ item.barcode }} <van-tag type="success" v-if="item.universalCode">万用</van-tag></td>
  89. <td>{{item.qty}}/{{item.qtyOrdered}}</td>
  90. <td>{{ item.qty }}</td>
  91. <td v-if="isUniqueCode">
  92. <van-tag v-if="item.uniqueRegExp" type="warning" >唯一码</van-tag>
  93. <van-tag v-if="item.imeiRegExp" type="primary" >IMEI码</van-tag>
  94. </td>
  95. </tr>
  96. <tr v-else>
  97. <td colspan="3">
  98. <div>暂无数据</div>
  99. </td>
  100. </tr>
  101. </tbody>
  102. </table>
  103. </div>
  104. </div>
  105. </div>
  106. <!-- 条码输入组件 -->
  107. <input-barcode :back="back" @setBarcode="setBarcode" ref="inputBarcodeRef" />
  108. <!-- 打印面单-->
  109. <printer ref="printerRef" @onPrint="onPrint" />
  110. <!-- 订单列表-->
  111. <order-list-table ref="orderListRef" />
  112. <!-- 返拣-->
  113. <reverse-picking ref="reversePickingRef" :warehouse="warehouse" :reversePickingContainerNo="reversePickingContainerNo" @load-data="loadData" @reversePickingReset="reversePickingReset" />
  114. <!-- 耗材-->
  115. <related-materia ref="relatedMateriaRef" @cut-barcode="cutBarcode" />
  116. </div>
  117. </template>
  118. <script setup>
  119. import { onMounted, onUnmounted, ref } from 'vue'
  120. import { androidFocus, getHeader, goBack, scanError, scanSuccess } from '@/utils/android'
  121. import { useStore } from '@/store/modules/user'
  122. import { closeListener, openListener, scanInit } from '@/utils/keydownListener'
  123. import { getPendingReviewTask, packingReview } from '@/api/check/index'
  124. import { barcodeToUpperCase } from '@/utils/dataType.js'
  125. import { showConfirmDialog, showNotify } from 'vant'
  126. import { closeLoading, showLoading } from '@/utils/loading'
  127. import { fluxPrint } from '@/api/picking/index'
  128. import InputBarcode from '@/views/outbound/picking/components/InputBarcode.vue'
  129. import Printer from '@/components/Printer.vue'
  130. import orderListTable from '@/views/outbound/check/components/OrderListTable.vue'
  131. import ReversePicking from '@/views/outbound/check/components/ReversePicking.vue'
  132. import RelatedMateria from '@/views/outbound/check/components/RelatedMateria.vue'
  133. const store = useStore()
  134. try {
  135. getHeader()
  136. androidFocus()
  137. } catch (error) {
  138. }
  139. // 页面初始化
  140. onMounted(() => {
  141. openListener()
  142. scanInit(_handlerScan)
  143. loadData()
  144. })
  145. const warehouse = store.warehouse
  146. //收货容器号
  147. const waveNo = ref('')
  148. const isUniqueCode=ref(false)
  149. // 错误提示
  150. const tips = ref('')
  151. //强制返回
  152. const back = ref(true)
  153. const scanBarcode=ref('')
  154. const totalWeight=ref('')
  155. const containerNoMap={
  156. 'WH01':'FJ-WH01-20',
  157. 'WH02':'FJ-WH02-20',
  158. 'WH10':'FJ-WH10-01',
  159. 'WH99':'FJ-WH99-01',
  160. }
  161. //返拣容器
  162. const reversePickingContainerNo=containerNoMap[warehouse]
  163. // 订单明细
  164. const orderDetail=ref({})
  165. //订单详情
  166. const orderMap=ref({})
  167. const orderList=ref([])
  168. //匹配条码
  169. const matchBarcodeList=ref([])
  170. const actions = [
  171. { text: '重新开始',value:'reset' },
  172. // { text: '波次清单',value:'goods' },
  173. { text: '装箱清单',value:'packing' },
  174. { text: '取消单列表',value:'cancel' },
  175. { text: '冻结单列表',value: 'freeze' },
  176. ];
  177. // 扫描条码监听
  178. const relatedMateriaRef=ref(null)
  179. const _handlerScan = (code) => {
  180. if (code) {
  181. const barcode = [...new Set(
  182. orderList.value
  183. .flatMap(item => [item.barcode, item.barcode2, item.sku, item.universalCode])
  184. .filter(value => value !== null && value !== '' && value !== undefined),
  185. )];
  186. const checkBarcode = barcodeToUpperCase(code);
  187. if (barcode.some(item => barcodeToUpperCase(item) === checkBarcode)) {
  188. matchBarcodeList.value=orderList.value.filter(item=>((item.barcode===checkBarcode || item.sku===checkBarcode || item.barcode2===checkBarcode || item.universalCode==checkBarcode) && item.qty>0) )
  189. if(matchBarcodeList.value.length>0){
  190. const itemActive = matchBarcodeList.value[0]
  191. if(itemActive.uniqueRegExp){
  192. scanBarcode.value=''
  193. showNotify({ type: 'warning', duration: 3000, message: `此活动单包含唯一码,请到PC复核`})
  194. return
  195. }
  196. if(itemActive.imeiRegExp){
  197. scanBarcode.value=''
  198. showNotify({ type: 'warning', duration: 3000, message: `此活动单包含IMEI码,请到PC复核`})
  199. return
  200. }
  201. scanBarcode.value=code
  202. if(itemActive.relatedMaterial && itemActive.relatedMaterial.length>0){
  203. relatedMateriaRef.value.show(itemActive)
  204. return
  205. }
  206. cutBarcode(itemActive,1)
  207. }else {
  208. scanBarcode.value=''
  209. scanError()
  210. showNotify({ type: 'warning', duration: 3000, message: `商品条码${code},已全部扫描完成`})
  211. }
  212. }else {
  213. scanBarcode.value=''
  214. showNotify({ type: 'warning', duration: 3000, message: `商品条码${code},不匹配请重新扫描!`})
  215. scanError()
  216. }
  217. }
  218. }
  219. //扣除商品数量
  220. const weightRef=ref(null)
  221. const cutBarcode = (itemActive, count) => {
  222. if (itemActive.qty > 0) {
  223. itemActive.qty -= count;
  224. itemActive.qty = Math.max(itemActive.qty, 0)
  225. itemActive.quantity+=count
  226. }
  227. // 计算所有商品的总数量
  228. const allCount = orderList.value.reduce((sum, item) => sum + Math.max(Number(item.qty), 0), 0);
  229. // 根据所有商品总数量判断是否继续扫描
  230. if (allCount > 0) {
  231. scanBarcode.value = '';
  232. tips.value = '请继续扫描条码';
  233. showNotify({ type: 'success', duration: 3000, message: '数量已扣除,请继续扫描条码' });
  234. } else {
  235. // 如果所有商品已扫描完毕,根据总重量判断提示信息
  236. if (!totalWeight.value) {
  237. tips.value = '请输入重量';
  238. weightRef.value?.focus()
  239. } else {
  240. tips.value = '商品扫描完成,请点击结束复核';
  241. }
  242. }
  243. scanSuccess();
  244. };
  245. //重新开始
  246. const reset=()=>{
  247. showConfirmDialog({
  248. title: '温馨提示',
  249. message: '您正在进行重新开始操作,是否继续?',
  250. }).then(() => {
  251. waveNo.value=''
  252. scanBarcode.value=''
  253. totalWeight.value=''
  254. orderDetail.value={}
  255. orderMap.value={}
  256. orderList.value=[]
  257. matchBarcodeList.value=[]
  258. tips.value='请扫描商品条码'
  259. inputBarcodeRef.value?.show('', '请扫描波次/容器号', '')
  260. })
  261. }
  262. const reversePickingReset=()=>{
  263. orderMap.value.dataGroup=[]
  264. }
  265. const printerRef=ref(null)
  266. //设置打印机
  267. const setPrinter=()=>{
  268. printerRef.value?.show(warehouse)
  269. }
  270. const printer=ref(null)
  271. if(localStorage.getItem('check-print')){
  272. printer.value=JSON.parse(localStorage.getItem('check-print'))
  273. }
  274. const onPrint=(code)=>{
  275. printer.value=code
  276. localStorage.setItem('check-print',JSON.stringify(code))
  277. }
  278. const print=(templateCode)=>{
  279. if(!printer.value){
  280. scanError()
  281. showNotify({ type: 'warning', duration: 3000, message: '请先设置打印机' });
  282. return
  283. }
  284. const data = {warehouse,code:orderDetail.value.waveNo,printServer: printer.value.server, printName:printer.value.printer,templateCode }
  285. showLoading()
  286. fluxPrint(data)
  287. .then(res => {
  288. scanSuccess()
  289. showNotify({ type: 'success', duration: 3000, message: '打印已发起,请检查打印情况' });
  290. })
  291. .catch(err => {
  292. scanError()
  293. tips.value=err.message || '系统异常,请联系技术支持!'
  294. }).finally(() => {
  295. closeLoading()
  296. })
  297. }
  298. const successNumber=ref(0)
  299. const errorNumber=ref(0)
  300. //结束复核
  301. const endCheck=()=>{
  302. const allCount = orderList.value.reduce((sum, item) => sum + Math.max(Number(item.qty), 0), 0);
  303. if(allCount>0){
  304. scanError()
  305. tips.value = '商品未扫描完成,请先扫描商品';
  306. showNotify({ type: 'warning', duration: 3000, message: '商品未扫描完成,请先扫描商品' });
  307. return
  308. }
  309. const lastNumber=Object.keys(orderMap.value.dataGroup).length
  310. if (totalWeight.value<=0 && lastNumber>0) {
  311. tips.value = '请输入重量';
  312. scanError()
  313. showNotify({ type: 'warning', duration: 3000, message: '请输入重量' });
  314. weightRef.value?.focus()
  315. return
  316. }
  317. if (lastNumber > 0) {
  318. const dataGroup = orderMap.value.dataGroup
  319. for (const order of Object.values(dataGroup)) {
  320. for (const item of order) {
  321. if (item.qty !== 0) {
  322. item.quantity = item.qty
  323. item.qty = 0
  324. }
  325. }
  326. }
  327. }
  328. packingRequests(0,lastNumber)
  329. successNumber.value=0
  330. errorNumber.value=0
  331. }
  332. //装箱
  333. const reversePickingRef=ref(null)
  334. const packingRequests = async (startIndex = 0, lastNumber) => {
  335. if(startIndex>=lastNumber){
  336. const cancelOrder= Object.keys(orderMap.value.cancelGroup).length
  337. const freezeOrder= Object.keys(orderMap.value.freezeGroup).length
  338. if(cancelOrder>0 || freezeOrder>0) {
  339. scanError()
  340. }else {
  341. scanSuccess()
  342. }
  343. reversePickingRef.value.show(successNumber.value,errorNumber.value,orderMap.value.cancelGroup,orderMap.value.freezeGroup)
  344. return
  345. }
  346. try {
  347. const key = Object.keys(orderMap.value.dataGroup)[startIndex];
  348. const list = orderMap.value.dataGroup[key] || [];
  349. const groupDetailList = list.map(items => {
  350. return {
  351. lotNum: items.lotNum,
  352. qty: items.quantity,
  353. };
  354. });
  355. const item = list[0] || {};
  356. const data = {
  357. warehouse: item.warehouseId,
  358. workStation: item.warehouseId,
  359. code: item.orderNo,
  360. totalGrossWeight: totalWeight.value,
  361. groupDetailList,
  362. };
  363. showLoading()
  364. const res = await packingReview(data)
  365. closeLoading()
  366. if (res) {
  367. if (res.data == '0000'){
  368. orderMap.value.cancelGroup[item.orderNo] = item.orderNo
  369. }else if(res.data == '1111'){
  370. orderMap.value.freezeGroup[item.orderNo] = item.orderNo
  371. }else {
  372. successNumber.value+=1
  373. }
  374. await packingRequests(startIndex + 1, lastNumber)
  375. }
  376. } catch (error) {
  377. errorNumber.value+=1
  378. tips.value=error.message
  379. if(startIndex>0){
  380. reversePickingRef.value.show(successNumber.value,orderMap.value.cancelGroup.length-successNumber.value,orderMap.value.cancelGroup,orderMap.value.freezeGroup)
  381. }
  382. scanError()
  383. } finally {
  384. closeLoading()
  385. }
  386. }
  387. //更多操作
  388. const orderListRef=ref(null)
  389. const onSelect=(item)=>{
  390. const handleGroup = (groupKey, emptyMessage) => {
  391. const order = orderMap.value[groupKey];
  392. if (Object.keys(order).length === 0) {
  393. showNotify({ message: emptyMessage, duration: 5000, type: 'danger' });
  394. return;
  395. }
  396. orderListRef.value?.show(item.value,order);
  397. };
  398. if (item.value == 'cancel') {
  399. handleGroup('cancelGroup', '暂无取消单');
  400. } else if (item.value == 'freeze') {
  401. handleGroup('freezeGroup', '暂无冻结单');
  402. }else if(item.value=='reset'){
  403. reset()
  404. }else if(item.value=='packing'){
  405. print('A3014_PACK_CARTON_PACKINGLIST')
  406. }
  407. }
  408. // 设置波次号
  409. const inputBarcodeRef = ref(null)
  410. const setBarcode = (code) => {
  411. const data = { warehouse, code, activityOrderFlag: true }
  412. showLoading()
  413. getPendingReviewTask(data).then(res => {
  414. if (res.data.details.length == 0) {
  415. scanError()
  416. inputBarcodeRef.value?.show('', '请扫描波次/容器号', '暂未查询到待复核数据,请切换波次/容器号')
  417. } else {
  418. if(res.data.waveType!=='*'){
  419. scanError()
  420. inputBarcodeRef.value?.show('', '请扫描波次/容器号', '仅支持活动单复核')
  421. return
  422. }
  423. scanSuccess()
  424. tips.value = '请扫描商品条码'
  425. waveNo.value = code
  426. orderDetail.value = res.data
  427. orderMap.value=getDataList(res.data.details)
  428. if(orderMap.value.dataGroup && Object.keys(orderMap.value.dataGroup).length>0){
  429. orderList.value=orderMap.value.dataGroup[Object.keys(orderMap.value.dataGroup)[0]]
  430. isUniqueCode.value = orderList.value.some(item => item.uniqueRegExp || item.imeiRegExp );
  431. }else {
  432. orderList.value=[]
  433. }
  434. matchBarcodeList.value=[]
  435. scanBarcode.value=''
  436. totalWeight.value=''
  437. successNumber.value=0
  438. }
  439. }).catch(err => {
  440. scanError()
  441. inputBarcodeRef.value?.show('', '请扫描波次/容器号', err.message)
  442. }).finally(f=>{
  443. closeLoading()
  444. })
  445. }
  446. //格式化订单
  447. const getDataList = (data) => {
  448. const freezeList = [],cancelList = [],dataList = []
  449. const groupedData = {
  450. freezeGroup: {}, // 冻结订单
  451. cancelGroup: {}, //取消订单
  452. dataGroup: {} // 普通订单
  453. };
  454. const groupOrder = (order, group, groupKey, list) => {
  455. list.push(order)
  456. if (!group[groupKey]) {
  457. group[groupKey] = [] // 如果该订单号的组不存在,创建一个新数组
  458. }
  459. group[groupKey].push(order) // 将订单按订单号分组
  460. };
  461. data.forEach(curr => {
  462. curr.serialNoList = []
  463. curr.secondSerialNoList = []
  464. if (curr.universalBarcode) {
  465. curr.universalCode = '#@@@@@@#'
  466. }
  467. curr.quantity=0
  468. if (curr.releaseStatus === 'H') {
  469. groupOrder(curr, groupedData.freezeGroup, curr.orderNo, freezeList) // 处理冻结订单
  470. } else if (curr.erpCancelFlag === 'Y') {
  471. groupOrder(curr, groupedData.cancelGroup, curr.orderNo, cancelList) // 处理取消订单
  472. } else {
  473. groupOrder(curr, groupedData.dataGroup, curr.orderNo, dataList) // 处理普通订单
  474. }
  475. });
  476. return groupedData
  477. };
  478. //切换波次
  479. const _setWaveNo = () => {
  480. back.value = false
  481. inputBarcodeRef.value?.show('', '请扫描波次/容器号', '')
  482. }
  483. // 数据刷新
  484. const loadData = () => {
  485. if (!waveNo.value) {
  486. inputBarcodeRef.value?.show('', '请扫描波次/容器号', '')
  487. return
  488. } else {
  489. setBarcode(waveNo.value)
  490. }
  491. }
  492. onUnmounted(() => {
  493. closeListener()
  494. })
  495. window.onRefresh = loadData
  496. </script>
  497. <style scoped lang="sass">
  498. .container
  499. background: #e9f4ff
  500. .activity
  501. .wave-title
  502. display: flex
  503. justify-content: space-between
  504. padding: 8px 10px
  505. .wave-tips
  506. color: #ed6a0c
  507. flex: 1
  508. .scan-barcode
  509. ::v-deep(.van-cell)
  510. padding: 5px 15px 0 15px
  511. ::v-deep(.van-field__control)
  512. border-bottom: 2px solid #efefef
  513. font-size: 16px
  514. ::v-deep(.van-field__label)
  515. width: unset
  516. font-size: 16px
  517. .input-barcode
  518. ::v-deep(.van-field__control)
  519. border-bottom: 2px solid #0077ff
  520. z-index: 2
  521. .success-input-barcode
  522. ::v-deep(.van-field__control)
  523. border-bottom: 2px solid #1ca600
  524. z-index: 2
  525. .error-input-barcode
  526. ::v-deep(.van-field__control)
  527. border-bottom: 2px solid #ff0000
  528. z-index: 2
  529. .order-detail
  530. margin-top: 2px
  531. background: #fff
  532. font-size: 14px
  533. .picking-no
  534. display: flex
  535. justify-content: space-between
  536. margin: 0 15px
  537. padding: 8px 0
  538. border-bottom: 1px solid #eaeaeb
  539. .picking-code
  540. flex: 1
  541. display: flex
  542. align-items: center
  543. color: #419bff
  544. .picking-container
  545. padding: 0 15px
  546. text-align: left
  547. border-bottom: 1px solid #eaeaeb
  548. .container-item
  549. line-height: 30px
  550. display: flex
  551. align-items: center
  552. .picking-order-count
  553. display: flex
  554. justify-content: space-between
  555. line-height: 30px
  556. .picking-button
  557. display: flex
  558. justify-content: space-evenly
  559. align-items: center
  560. .picking-button-item
  561. flex: 1
  562. color: #419bff
  563. font-weight: bold
  564. line-height: 35px
  565. border-right: 1px solid #eaeaeb
  566. box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1)
  567. .picking-button-item:last-child
  568. border-right: none
  569. .order-list-box
  570. background: #fff
  571. margin-top: 2px
  572. .order-list
  573. width: 100%
  574. overflow-y: auto
  575. max-height: 60vh
  576. .task-table, .task-table-bin, .task-table-box
  577. width: 100%
  578. table-layout: fixed
  579. border-collapse: collapse
  580. font-size: 15px
  581. .task-table th, .task-table-bin th, .task-table td, .task-table-bin td, .task-table-box th, .task-table-box td
  582. text-align: center
  583. border: 1px solid #ccc
  584. word-wrap: break-word
  585. word-break: break-all
  586. .task-table thead, .task-table-bin thead, .task-table-box thead
  587. background-color: #3f8dff
  588. position: sticky
  589. top: 0
  590. color: white
  591. font-size: 15px
  592. .task-table-bin thead
  593. background-color: #3f8dff
  594. .task-table-bin tbody
  595. background: #cde7ff
  596. </style>