schangxiang@126.com
2024-09-06 b5bcf90f2dfc8972090d7ab8e6a350bd74b460c8
yiqi_pda/pages/outBound/index.vue
@@ -1,5 +1,5 @@
<template>
   <default-header-page-layout ref="page" title="出库执行">
   <default-header-page-layout ref="page" title="入库执行">
      <view class="page-frame with-action-user-row" :style="{height:pageBodyHeight+'px'}" v-if="pageBodyHeight">
         <action-user-row />
@@ -15,7 +15,7 @@
      <template v-slot:footer>
         <view class="bottom-btns-row">
            <view class="btn-frame right-btn-frame">
               <u-button :disabled="workPieceData.length<1" type="primary" text="确认出库"
               <u-button :disabled="workPieceData.length<1" type="primary" text="确认入库"
                  @click="outBoundConfirm"></u-button>
            </view>
         </view>
@@ -55,7 +55,7 @@
      data() {
         return {
            barHeight: '',
            ckNumToday: "0", //今天总出库数
            ckNumToday: "0", //今天总入库数
            baseTitile: '扫描成品码/工件二维码', //扫描成品码/工件二维码
            title: '',
            pageBodyHeight: 0,
@@ -135,11 +135,11 @@
               //TODO handle the exception
               console.log(e);
            }
            //this.msg = " 扫码数:"+this.workPieceData.length+"    今日出库数:";
            //this.msg = " 扫码数:"+this.workPieceData.length+"    今日入库数:";
            this.setMsg();
         },
         setMsg() {
            this.msg = " 扫码数:" + this.workPieceData.length + "    今日出库数:" + this.ckNumToday;
            this.msg = " 扫码数:" + this.workPieceData.length + "    今日入库数:" + this.ckNumToday;
         },
         initFocus(num) {
            setTimeout(() => {
@@ -182,7 +182,7 @@
            if (flag) {
               uni.showModal({
                  title: '提示',
                  content: '当前工件存在非成品,确定强制出库吗?',
                  content: '当前工件存在非成品,确定强制入库吗?',
                  success: (value) => {
                     const {
                        confirm,