| | |
| | | <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 /> |
| | |
| | | <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> |
| | |
| | | data() { |
| | | return { |
| | | barHeight: '', |
| | | ckNumToday: "0", //今天总出库数 |
| | | ckNumToday: "0", //今天总入库数 |
| | | baseTitile: '扫描成品码/工件二维码', //扫描成品码/工件二维码 |
| | | title: '', |
| | | pageBodyHeight: 0, |
| | |
| | | //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(() => { |
| | |
| | | if (flag) { |
| | | uni.showModal({ |
| | | title: '提示', |
| | | content: '当前工件存在非成品,确定强制出库吗?', |
| | | content: '当前工件存在非成品,确定强制入库吗?', |
| | | success: (value) => { |
| | | const { |
| | | confirm, |