| | |
| | | "name" : "中扬WMS", |
| | | "appid" : "__UNI__DA5854D", |
| | | "description" : "", |
| | | "versionName" : "2023063001", |
| | | "versionCode" : "100", |
| | | "versionName" : "240516A", |
| | | "versionCode" : 101, |
| | | "transformPx" : false, |
| | | /* 5+App特有相关 */ |
| | | "app-plus" : { |
| | |
| | | // cuIcon: 'order', |
| | | // url: '/pakin/pickAgain' |
| | | // }, |
| | | { |
| | | title: '订单入库', |
| | | name: 'orderPakin', |
| | | color: 'red', |
| | | cuIcon: 'pullup', |
| | | url: '/order/orderPakin' |
| | | }, |
| | | { |
| | | title: '组托上架', |
| | | name: 'putOn', |
| | | color: 'orange', |
| | | cuIcon: 'pullup', |
| | | url: '/pakin/putOn' |
| | | }, |
| | | { |
| | | title: '打印', |
| | | name: 'print', |
| | | color: 'purple', |
| | | cuIcon: 'text', |
| | | url: '/print/print' |
| | | }, |
| | | { |
| | | title: '订单上架', |
| | | name: 'orderPutOn', |
| | | color: 'yellow', |
| | | cuIcon: 'pullup', |
| | | url: '/order/orderPutOn' |
| | | }, |
| | | { |
| | | title: '订单下架', |
| | | name: 'orderPutDown', |
| | | color: 'olive', |
| | | cuIcon: 'pulldown', |
| | | url: '/order/orderPutDown' |
| | | }, |
| | | { |
| | | title: '库存查询', |
| | | name: 'stockQuery', |
| | | color: 'green', |
| | | cuIcon: 'check', |
| | | url: '/stock/stockQuery' |
| | | }, |
| | | { |
| | | title: '盘点', |
| | | name: 'stockCheck', |
| | | color: 'red', |
| | | cuIcon: 'post', |
| | | url: '/stock/stockCheck' |
| | | }, |
| | | { |
| | | title: '商品打印', |
| | | name: 'matList', |
| | | color: 'orange', |
| | | cuIcon: 'post', |
| | | url: '/mat/matList' |
| | | }, |
| | | { |
| | | title: '补货', |
| | | name: 'restock', |
| | | color: 'yellow', |
| | | cuIcon: 'punch', |
| | | url: '/stock/restock' |
| | | }, |
| | | { |
| | | title: '转全板', |
| | | name: 'piking', |
| | | color: 'olive', |
| | | cuIcon: 'order', |
| | | url: '/pakin/piking' |
| | | }, |
| | | { |
| | | title: '换板绑定', |
| | | name: 'changePallet', |
| | | color: 'green', |
| | | cuIcon: 'order', |
| | | url: '/stock/changePallet' |
| | | }, |
| | | // { |
| | | // title: '订单入库', |
| | | // name: 'orderPakin', |
| | | // color: 'red', |
| | | // cuIcon: 'pullup', |
| | | // url: '/order/orderPakin' |
| | | // }, |
| | | // { |
| | | // title: '组托上架', |
| | | // name: 'putOn', |
| | | // color: 'orange', |
| | | // cuIcon: 'pullup', |
| | | // url: '/pakin/putOn' |
| | | // }, |
| | | // { |
| | | // title: '打印', |
| | | // name: 'print', |
| | | // color: 'purple', |
| | | // cuIcon: 'text', |
| | | // url: '/print/print' |
| | | // }, |
| | | // { |
| | | // title: '订单上架', |
| | | // name: 'orderPutOn', |
| | | // color: 'yellow', |
| | | // cuIcon: 'pullup', |
| | | // url: '/order/orderPutOn' |
| | | // }, |
| | | // { |
| | | // title: '订单下架', |
| | | // name: 'orderPutDown', |
| | | // color: 'olive', |
| | | // cuIcon: 'pulldown', |
| | | // url: '/order/orderPutDown' |
| | | // }, |
| | | // { |
| | | // title: '库存查询', |
| | | // name: 'stockQuery', |
| | | // color: 'green', |
| | | // cuIcon: 'check', |
| | | // url: '/stock/stockQuery' |
| | | // }, |
| | | // { |
| | | // title: '盘点', |
| | | // name: 'stockCheck', |
| | | // color: 'red', |
| | | // cuIcon: 'post', |
| | | // url: '/stock/stockCheck' |
| | | // }, |
| | | // { |
| | | // title: '商品打印', |
| | | // name: 'matList', |
| | | // color: 'orange', |
| | | // cuIcon: 'post', |
| | | // url: '/mat/matList' |
| | | // }, |
| | | // { |
| | | // title: '补货', |
| | | // name: 'restock', |
| | | // color: 'yellow', |
| | | // cuIcon: 'punch', |
| | | // url: '/stock/restock' |
| | | // }, |
| | | // { |
| | | // title: '转全板', |
| | | // name: 'piking', |
| | | // color: 'olive', |
| | | // cuIcon: 'order', |
| | | // url: '/pakin/piking' |
| | | // }, |
| | | // { |
| | | // title: '换板绑定', |
| | | // name: 'changePallet', |
| | | // color: 'green', |
| | | // cuIcon: 'order', |
| | | // url: '/stock/changePallet' |
| | | // }, |
| | | { |
| | | title: '退出登录', |
| | | name: 'logOut', |
| | |
| | | }, 200) |
| | | }, |
| | | asBarcodeInput() { |
| | | this.asBarcode = this.asBarcode.replace(/\s+/g, '') |
| | | setTimeout(() => { |
| | | var len = this.asBarcode.length |
| | | if (len != 12) { |
| | | uni.showToast({ |
| | | title: '托盘码有误请重试', |
| | | title: 'AS400有误请重试', |
| | | icon: "none", |
| | | position: 'top' |
| | | }); |
| | |
| | | break; |
| | | case "barcode4": |
| | | this.barcode4Focus = false; |
| | | setTimeout(() => { |
| | | this.barcode4Focus = true; |
| | | }, 100); |
| | | break; |
| | | } |
| | | }, |
| | |
| | | if (result.code === 200 && result.data) { |
| | | that.matData = result.data |
| | | that.matnr = '' |
| | | that.matData['model'] = '' |
| | | uni.navigateTo({ |
| | | url: "../mat/matSelected", |
| | | // 通过eventChannel向被打开页面传送数据 |
| | |
| | | return; |
| | | } |
| | | if (that.asBarcode === '') { |
| | | this.messageText = "请扫描托盘条码" |
| | | this.messageText = "请扫描AS400条码" |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | |
| | | url: that.baseUrl + '/mobile/comb/auth', |
| | | data: JSON.stringify({ |
| | | barcode: that.barcode, |
| | | combMats: that.dataList |
| | | asBarcode: that.asBarcode, |
| | | combMats: that.dataList, |
| | | code1: that.barcode1, |
| | | code2: that.barcode2, |
| | | code3: that.barcode3, |
| | | code4: that.barcode4 |
| | | }), |
| | | method: 'POST', |
| | | header: { |
| | |
| | | // 确认重置 |
| | | resetConfirm() { |
| | | this.dataList = [] |
| | | this.asBarcode = '' |
| | | this.barcode1 = '' |
| | | this.barcode2 = '' |
| | | this.barcode3 = '' |
| | | this.barcode4 = '' |
| | | this.messageText = "重置完成" |
| | | this.barcodeFocuss() |
| | | this.messageToggle('success') |
| | | }, |
| | | // 取消重置 |
| | |
| | | resst() { |
| | | this.dataList = [] |
| | | this.barcode = '' |
| | | this.asBarcode = '' |
| | | this.barcode1 = '' |
| | | this.barcode2 = '' |
| | | this.barcode3 = '' |
| | | this.barcode4 = '' |
| | | this.barcodeFocuss() |
| | | }, |
| | | } |
| | |
| | | } |
| | | |
| | | .code-decs { |
| | | width: 20vw; |
| | | /* width: 20vw; */ |
| | | font-size: 14px; |
| | | color: #303133; |
| | | } |