| | |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/index/index", |
| | | "style": { |
| | | "navigationBarTitleText": "中扬CRM" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/home/home", |
| | | "style": { |
| | | "navigationBarTitleText": "主页" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/index/index", |
| | | "style": { |
| | | "navigationBarTitleText": "uni-app" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/business/business", |
| | | "style": { |
| | | "app-plus":{ |
| | | "titleNView": { |
| | | "buttons": [ //原生标题栏按钮配置, |
| | | { |
| | | "type":"none", |
| | | "text": "业务", |
| | | "fontSize": "17", |
| | | "float":"left", |
| | | "width": "70" |
| | | }, |
| | | { |
| | | "type":"none", |
| | | "float": "right", |
| | | "fontSrc":"/static/iconfont.ttf", |
| | | "text": "\ue69a" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | "navigationBarTitleText": "业务" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/user/user", |
| | | "style": { |
| | | // "navigationBarTitleText": "我的" |
| | | "app-plus":{ |
| | | "titleNView": { |
| | | "buttons": [ //原生标题栏按钮配置, |
| | | { |
| | | "type":"none", |
| | | "text": "位置", |
| | | "fontSize": "17", |
| | | "float":"left", |
| | | "width": "70", |
| | | "select": "true" |
| | | }, |
| | | { |
| | | "type":"none", |
| | | "float": "right", |
| | | "fontSrc":"/static/iconfont.ttf", |
| | | "text": "\ue69a" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | "navigationBarTitleText": "个人中心" |
| | | } |
| | | } |
| | | |
| | |
| | | "backgroundColor": "#ffffff", |
| | | "list": [ |
| | | { |
| | | "pagePath": "pages/home/home", |
| | | "pagePath": "pages/index/index", |
| | | "iconPath": "static/image/home.png", |
| | | "selectedIconPath": "static/image/Home-Filled-1.png", |
| | | "selectedIconPath": "static/image/home (1).png", |
| | | "text": "主页" |
| | | }, |
| | | { |
| | | "pagePath": "pages/business/business", |
| | | "iconPath": "static/image/home.png", |
| | | "selectedIconPath": "static/image/Home-Filled-1.png", |
| | | "iconPath": "static/image/desk.png", |
| | | "selectedIconPath": "static/image/desk (1).png", |
| | | "text": "业务" |
| | | }, |
| | | |
| | | { |
| | | "pagePath": "pages/user/user", |
| | | "iconPath": "static/image/person.png", |
| | | "selectedIconPath": "static/image/person-1.png", |
| | | "text": "我的" |
| | | "iconPath": "static/image/kehufuwu (2).png", |
| | | "selectedIconPath": "static/image/kehufuwu.png", |
| | | "text": "个人中心" |
| | | }] |
| | | } |
| | | } |
New file |
| | |
| | | <template> |
| | | <view class=""> |
| | | <scroll-view class="scroll-Y"> |
| | | <button size="mini" @click="up">btn</button> |
| | | <view style="margin: 2%;border-radius: 5rpx;background-color: #fff;width: 96%;min-height: 50rpx; |
| | | box-shadow: 0 0 10upx rgba(0, 0, 0, 0.1);"> |
| | | <y-title title="title" /> |
| | | </view> |
| | | <y-input title="商品码" @input="show" v-model="matnr" placeholder=" 扫码 / 输入"/> |
| | | <y-input title="库位码" @input="show" v-model="locno"/> |
| | | <y-input title="托盘码" v-model="barcode" /> |
| | | <y-input title="订单码" v-model="orderNo"></y-input> |
| | | <y-input-btn title="订单码" v-model="orderNo" btnTitle="提取+" @confrim="changge"></y-input-btn> |
| | | <view>商品码:{{matnr}}</view> |
| | | <view>库位码:{{locno}}</view> |
| | | <view>托盘码:{{barcode}}</view> |
| | | <view>订单码:{{orderNo}}</view> |
| | | </scroll-view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data () { |
| | | return { |
| | | scrollY:true, |
| | | matnr:'1100878-10000-21074558989', |
| | | locno: '0100509', |
| | | barcode: '80006098', |
| | | orderNo: 'JK20220923', |
| | | matList: [{id:1},{id:2},{id:1},{id:2},{id:2}, |
| | | {id:1},{id:2},{id:2},{id:1},{id:2},{id:2},{id:1}, |
| | | {id:2},{id:2},{id:1},{id:2},{id:2},{id:1},{id:2}] |
| | | |
| | | } |
| | | }, |
| | | methods: { |
| | | open() { |
| | | this.$refs.yPopup.open('center') |
| | | }, |
| | | up() { |
| | | this.matnr = '' |
| | | console.log(this.matnr); |
| | | }, |
| | | show() { |
| | | console.log(this.matnr,this.locno); |
| | | }, |
| | | changge() { |
| | | this.matnr = '' |
| | | console.log(this.barcode,this.orderNo); |
| | | }, |
| | | clear() { |
| | | console.log(this.barcode,this.orderNo); |
| | | } |
| | | } |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | .vv { |
| | | width: 100%;height: 100rpx; |
| | | |
| | | } |
| | | .bb { |
| | | position: fixed; |
| | | top: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | height: 100%; |
| | | overflow: hidden; |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <view class=""> |
| | | <scroll-view class="scroll-Y"> |
| | | <button size="mini" @click="up">btn</button> |
| | | <view style="margin: 2%;border-radius: 5rpx;background-color: #fff;width: 96%;min-height: 50rpx; |
| | | box-shadow: 0 0 10upx rgba(0, 0, 0, 0.1);"> |
| | | <y-title title="title" /> |
| | | </view> |
| | | <y-input title="商品码" @input="show" v-model="matnr" placeholder=" 扫码 / 输入"/> |
| | | <y-input title="库位码" @input="show" v-model="locno"/> |
| | | <y-input title="托盘码" v-model="barcode" /> |
| | | <y-input title="订单码" v-model="orderNo"></y-input> |
| | | <y-input-btn title="订单码" v-model="orderNo" btnTitle="提取+" @confrim="changge"></y-input-btn> |
| | | <view>商品码:{{matnr}}</view> |
| | | <view>库位码:{{locno}}</view> |
| | | <view>托盘码:{{barcode}}</view> |
| | | <view>订单码:{{orderNo}}</view> |
| | | </scroll-view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data () { |
| | | return { |
| | | scrollY:true, |
| | | matnr:'1100878-10000-21074558989', |
| | | locno: '0100509', |
| | | barcode: '80006098', |
| | | orderNo: 'JK20220923', |
| | | matList: [{id:1},{id:2},{id:1},{id:2},{id:2}, |
| | | {id:1},{id:2},{id:2},{id:1},{id:2},{id:2},{id:1}, |
| | | {id:2},{id:2},{id:1},{id:2},{id:2},{id:1},{id:2}] |
| | | |
| | | } |
| | | }, |
| | | methods: { |
| | | open() { |
| | | this.$refs.yPopup.open('center') |
| | | }, |
| | | up() { |
| | | this.matnr = '' |
| | | console.log(this.matnr); |
| | | }, |
| | | show() { |
| | | console.log(this.matnr,this.locno); |
| | | }, |
| | | changge() { |
| | | this.matnr = '' |
| | | console.log(this.barcode,this.orderNo); |
| | | }, |
| | | clear() { |
| | | console.log(this.barcode,this.orderNo); |
| | | } |
| | | } |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | .vv { |
| | | width: 100%;height: 100rpx; |
| | | |
| | | } |
| | | .bb { |
| | | position: fixed; |
| | | top: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | height: 100%; |
| | | overflow: hidden; |
| | | } |
| | | </style> |