| | |
| | | "name" : "连杆线数采", |
| | | "appid" : "__UNI__F24DEB0", |
| | | "description" : "一汽连杆", |
| | | "versionName" : "2.0.19", |
| | | "versionName" : "2.0.20", |
| | | "versionCode" : 6, |
| | | "transformPx" : false, |
| | | /* 5+App特有相关 */ |
| | |
| | | {name:'工件信息单个修改',icon:'icon-worker',pathName:'unbind',color:'#1e90ff'}, |
| | | {name:'工件质量信息批量修改',icon:'icon-worker',pathName:'unbindAll',color:'#1e90ff'}, |
| | | {name:'工件信息追溯',icon:'icon-notice',pathName:'retrospect',color:'#1e90ff'}, |
| | | {name:'工件出库执行',icon:'icon-notice',pathName:'outBound',color:'#1e90ff'}, |
| | | {name:'工件入库执行',icon:'icon-notice',pathName:'outBound',color:'#1e90ff'}, |
| | | // {name:'工件下线(新)',icon:'icon-notice',pathName:'unLine',color:'#1e90ff'}, |
| | | // {name:'工件出库(新)',icon:'icon-notice',pathName:'outBoundNew',color:'#1e90ff'}, |
| | | {name:'工件出库统计',icon:'icon-notice',pathName:'outBoundWorkPieceInfoCount',color:'#1e90ff'} |
| | | {name:'工件入库统计',icon:'icon-notice',pathName:'outBoundWorkPieceInfoCount',color:'#1e90ff'} |
| | | ] |
| | | }, |
| | | { |
| | |
| | | <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, |
| | |
| | | <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 /> |
| | | <view class="with-action-user-row-page-content"> |
| | |
| | | @clear="onClearContainter" |
| | | /> --> |
| | | <u-form :model="form" ref="uForm" label-width="65" labelAlign="right"> |
| | | <u-form-item required label="出库日期:" prop="planTime"> |
| | | <u-input :readonly="true" placeholder="请选择出库日期" v-model="form.planTime" |
| | | <u-form-item required label="入库日期:" prop="planTime"> |
| | | <u-input :readonly="true" placeholder="请选择入库日期" v-model="form.planTime" |
| | | @click.native="timeShow = true"></u-input> |
| | | </u-form-item> |
| | | |
| | |
| | | <!-- 详情 --> |
| | | <view> |
| | | <!-- 基础信息 --> |
| | | <bar-content v-for="item in list" :title="'出库人:' + item.workPieceOutboundUserName" :content="item" :propArr="detailArr" :key="item.workPieceOutboundUserName"></bar-content> |
| | | <bar-content v-for="item in list" :title="'入库人:' + item.workPieceOutboundUserName" :content="item" :propArr="detailArr" :key="item.workPieceOutboundUserName"></bar-content> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | onLoad() { |
| | | // this.barDetail = {special: "SAE1041(0.80%~1.10%Mn)",barType: "高碳钢",barSpec: "70号",material: "229-255HBS",status: 1}; |
| | | // this.statusArr = [{code: 1,title: '不合格'},{code: 2,title: '合格'},{code: 3,title: '疑似'}] |
| | | this.detailArr = [{code: "count",title: '出库数量'}] |
| | | this.detailArr = [{code: "count",title: '入库数量'}] |
| | | this.mode = 'date' |
| | | var date=new Date(); |
| | | this.form.planTime = moment(date).format('YYYY-MM-DD') |
| | |
| | | onSearchContainter() { |
| | | if(this.form.planTime == '') { |
| | | return uni.showModal({ |
| | | title:'出库日期不能为空', |
| | | title:'入库日期不能为空', |
| | | showCancel: false |
| | | }) |
| | | } |