| | |
| | | // #ifndef VUE3 |
| | | import Vue from 'vue' |
| | | // Vue.prototype.baseUrl = "http://localhost:8081/acs" |
| | | Vue.prototype.baseUrl = "http://localhost:8082/xgmwms" |
| | | Vue.prototype.baseUrl = "http://192.168.4.123:8082/xgmwms" |
| | | Vue.config.productionTip = false |
| | | App.mpType = 'app' |
| | | const app = new Vue({ |
| | |
| | | } |
| | | |
| | | } |
| | | ,{ |
| | | "path" : "pages/basics/matQuery", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText": "提取产品", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | |
| | | } |
| | | ,{ |
| | | "path" : "pages/basics/stockCheck", |
| | | "style" : |
| | |
| | | <uni-table border stripe emptyText="暂无更多数据"> |
| | | <uni-tr> |
| | | <uni-th width="50">数量</uni-th> |
| | | <uni-th width="100">产品代号</uni-th> |
| | | <uni-th width="100">产品ID</uni-th> |
| | | <uni-th width="100">产品名称</uni-th> |
| | | </uni-tr> |
| | | <uni-tr v-for="(item, index) in matData" :key="index" @input="tabRender()"> |
| | |
| | | // 根据产品代号查询产品详情 |
| | | find(){ |
| | | let that = this |
| | | console.log(that.matNo) |
| | | let thatId = that.matNo |
| | | if(that.matNo.length===0){ |
| | | console.log(1) |
| | | return; |
| | | } |
| | | uni.request({ |
| | |
| | | }, |
| | | method:'POST', |
| | | success:function(res){ |
| | | console.log(res) |
| | | let data = res.data.data |
| | | |
| | | if(res.data.code === 200){ |
| | |
| | | matName:that.matName, |
| | | count:that.count |
| | | } |
| | | that.addTbaleData(data) |
| | | that.addTableData(data) |
| | | |
| | | }, |
| | | // 添加表格数据 |
| | | addTbaleData(data){ |
| | | console.log(data.matName) |
| | | addTableData(data){ |
| | | if(data.matName===''){ |
| | | |
| | | this.messageToggle('error') |
| | | return |
| | | } |
| | | |
| | | this.$refs.popup.close() |
| | | console.log(this.matData.length) |
| | | for(var i=0;i<this.matData.length;i++){ |
| | | if(data.matNo === this.matData[i].matNo){ |
| | | this.matData[i].count = Number(this.matData[i].count) + Number(data.count); |
| | |
| | | </view> |
| | | </form> |
| | | <view class="margin-top"> |
| | | <uni-table border stripe emptyText="暂无更多数据" > |
| | | <uni-table ref="table" border stripe emptyText="暂无更多数据" rowKey=""> |
| | | <uni-tr> |
| | | <uni-th width="90">序号</uni-th> |
| | | <uni-th width="90">数量</uni-th> |
| | | <uni-th width="90">产品名称</uni-th> |
| | | <uni-th width="90">产品ID</uni-th> |
| | | <uni-th width="90">组托数量</uni-th> |
| | | <uni-th align="center" width="90">序号</uni-th> |
| | | <uni-th align="center" width="90">数量</uni-th> |
| | | <uni-th align="center" width="90">产品名称</uni-th> |
| | | <uni-th align="center" width="90">产品ID</uni-th> |
| | | <uni-th align="center" width="200">组托数量</uni-th> |
| | | |
| | | </uni-tr> |
| | | <uni-tr v-for="(item, index) in matData" :key="index" @input="tabRender()"> |
| | | <uni-td>{{item.seqNo}}</uni-td> |
| | | <uni-td>{{item.count}}</uni-td> |
| | | <uni-td>{{item.matName}}</uni-td> |
| | | <uni-td>{{item.matNo}}</uni-td> |
| | | <uni-td><button class="uni-button" size="mini" type="primary" @click="inputDialogToggle">修改</button></uni-td> |
| | | |
| | | <uni-tr v-for="(item, index) in matData" :key="index"> |
| | | <uni-td align="center">{{item.seqNo}}</uni-td> |
| | | <uni-td align="center">{{item.count}}</uni-td> |
| | | <uni-td align="center">{{item.matName}}</uni-td> |
| | | <uni-td align="center">{{item.matNo}}</uni-td> |
| | | <uni-td align="center"> |
| | | <button class="uni-button" size="mini" type="primary" @click="confirm(index,item)">修改</button> |
| | | <button class="uni-button" size="mini" type="warn" @click="remove(index,item)">删除</button> |
| | | </uni-td> |
| | | </uni-tr> |
| | | </uni-table> |
| | | </view> |
| | |
| | | <!-- 输入框示例 --> |
| | | <uni-popup ref="inputDialog" type="dialog"> |
| | | <uni-popup-dialog ref="inputClose" mode="input" title="组托数量" |
| | | placeholder="请输入数量" @confirm="dialogInputConfirm"> |
| | | placeholder="请输入组托数量" @confirm="dialogInputConfirm"> |
| | | <uni-number-box :min="minCount" :max="maxCount" v-model="value" /> |
| | | </uni-popup-dialog> |
| | | |
| | | </uni-popup> |
| | |
| | | messageText: '', |
| | | minCount:1, |
| | | maxCount:1, |
| | | rowNum:'', |
| | | value:'', |
| | | couChange:true, |
| | | |
| | | |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | reset:function() { |
| | | this.billNo = ''; |
| | | this.code = ''; |
| | | }, |
| | | tabRender(){ |
| | | |
| | | }, |
| | | messageToggle(type) { |
| | | this.msgType = type |
| | | this.messageText = '提取失败' |
| | | this.$refs.message.open() |
| | | }, |
| | | |
| | | // 根据通知单号查询物料详情 |
| | | find(){ |
| | | let billNo = this.billNo |
| | |
| | | return |
| | | } |
| | | this.matData = [] |
| | | this.tabRender() |
| | | uni.request({ |
| | | url:that.baseUrl+ "/mobile/bill/query/auth", |
| | | header: { |
| | |
| | | this.matData.push(data[i]); |
| | | } |
| | | } |
| | | this.tabRender() |
| | | |
| | | }, |
| | | |
| | | // 修改数量 |
| | | confirm(index,item){ |
| | | this.couChange=false |
| | | this.$refs.inputDialog.open() |
| | | this.maxCount = item.count |
| | | this.rowNum = index |
| | | this.value = this.maxCount |
| | | }, |
| | | // 修改数量弹窗 |
| | | dialogInputConfirm() { |
| | | this.matData[this.rowNum].count = this.value |
| | | this.messageToggle('success') |
| | | this.messageText = '修改成功' |
| | | }, |
| | | // 删除 |
| | | remove(index,item){ |
| | | this.matData.splice(index,1) |
| | | this.messageToggle('success') |
| | | this.messageText = '删除成功' |
| | | }, |
| | | comb(){ |
| | | let that = this |
| | | let barcode = that.code |
| | | let billNo = this.billNo |
| | | let couChange=true |
| | | if(billNo.length === 0){ |
| | | that.messageToggle('error') |
| | | that.messageText = '入库单号为空' |
| | |
| | | that.messageText = '托盘码必须为8位' |
| | | return; |
| | | } |
| | | if(couChange){ |
| | | if(that.couChange){ |
| | | that.messageToggle('error') |
| | | that.messageText = '请先确认入库数量' |
| | | return; |
| | |
| | | |
| | | if(res.data.code === 200){ |
| | | that.reset() |
| | | that.matData = [] |
| | | that.messageToggle('success') |
| | | that.messageText = '组托成功' |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | // 修改数量 |
| | | confirm(){ |
| | | |
| | | }, |
| | | // 修改数量弹窗 |
| | | inputDialogToggle() { |
| | | this.$refs.inputDialog.open() |
| | | }, |
| | | dialogInputConfirm() { |
| | | |
| | | this.messageToggle('success') |
| | | this.messageText = '修改完成' |
| | | console.log(cnt) |
| | | |
| | | |
| | | }, |
| | | // 数量 |
| | | add(){ |
| | | |
| | | } |
| | | }, |
| | | onShow() { |
| | | // const query = uni.createSelectorQuery() |
| | |
| | | <template> |
| | | <view> |
| | | <view class="cu-form-group margin-top"> |
| | | <view class="title">出库口</view> |
| | | <picker @change="PickerChange" :value="index" :range="picker"> |
| | | <view class="picker"> |
| | | {{index>-1?picker[index]:'请选择'}} |
| | | </view> |
| | | </picker> |
| | | <button></button> |
| | | <view> |
| | | 出库口 |
| | | </view> |
| | | <view class="uni-list-cell-db"> |
| | | <picker @change="bindPickerChange" :value="index" :range="array" range-key="name"> |
| | | <view class="uni-input">{{array[index]}}</view> |
| | | </picker> |
| | | </view> |
| | | <view> |
| | | <button v-model="matBtn" class="cu-btn bg-yellow" @click="toggle('right')"><text>+补充</text></button> |
| | | </view> |
| | | </view> |
| | | <view class="margin-top"> |
| | | <uni-table border stripe emptyText="暂无更多数据"> |
| | | <uni-tr> |
| | | <uni-th width="50">数量</uni-th> |
| | | <uni-th width="100">产品ID</uni-th> |
| | | <uni-th width="100">产品名称</uni-th> |
| | | <uni-th width="100">库位</uni-th> |
| | | </uni-tr> |
| | | <uni-tr v-for="(item, index) in locDetlData" :key="index"> |
| | | <uni-td>{{item.count}}</uni-td> |
| | | <uni-td>{{item.matNo}}</uni-td> |
| | | <uni-td>{{item.matName}}</uni-td> |
| | | <uni-td>{{item.locNo}}</uni-td> |
| | | </uni-tr> |
| | | </uni-table> |
| | | |
| | | </view> |
| | | <view> |
| | | <button class="cu-btn bg-yellow pda-btn">确认</button> |
| | | <button class="cu-btn bg-grey pda-btn">重置</button> |
| | | </view> |
| | | <view> |
| | | <uni-popup ref="popup" background-color="#fff" style="width: 500rpx;"> |
| | | <view class="popup-content" :class="{ 'popup-height': type === 'left' || type === 'right' }"> |
| | | <view class="cu-form-group margin-top"> |
| | | <text>补充产品</text> |
| | | </view> |
| | | <view class="cu-form-group margin-top"> |
| | | <text class="title">产品ID</text> |
| | | <input type="text" v-model="matNo" placeholder="扫码 / 输入" name="input" autocomplete="off" focus @input="find()"> |
| | | </view> |
| | | <view class="cu-form-group margin-top"> |
| | | <text class="title">产品名称</text> |
| | | <input type="text" name="input" autocomplete="off" v-model="matName"> |
| | | </view> |
| | | <view class="cu-form-group margin-top"> |
| | | <text class="title">规格型号</text> |
| | | <input type="text" name="input" autocomplete="off" v-model="specs"> |
| | | </view> |
| | | <view class="cu-form-group margin-top"> |
| | | <text class="title">单位</text> |
| | | <input type="text" name="input" autocomplete="off" v-model="unit"> |
| | | </view> |
| | | <view class="cu-form-group margin-top"> |
| | | <text class="title">数量</text> |
| | | <uni-number-box @change="countDom" v-model="count" /> |
| | | </view> |
| | | <button class="cu-btn bg-yellow pda-btn2" @click="confirm">补充</button> |
| | | |
| | | </view> |
| | | </uni-popup> |
| | | </view> |
| | | <view> |
| | | <!-- 提示信息弹窗 --> |
| | | <uni-popup ref="message" type="message"> |
| | | <uni-popup-message :type="msgType" :message="messageText" :duration="2000"></uni-popup-message> |
| | | </uni-popup> |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | picker: ['+补充', '汪汪汪', '哼唧哼唧'], |
| | | index: 0, |
| | | array: [], |
| | | matBtn:'', |
| | | souceData:[], // 初始化表格数据记录 |
| | | locDetlData:[], |
| | | matNo:'', |
| | | matName:'', |
| | | specs:'', |
| | | unit:'', |
| | | count:'0', |
| | | type: '', |
| | | msgType:'', |
| | | messageText:'', |
| | | } |
| | | }, |
| | | onLoad(){ |
| | | let that = this |
| | | uni.request({ |
| | | url:this.baseUrl+"/available/take/check/site", |
| | | header: { |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | | method: 'POST', |
| | | async: false, |
| | | success(res){ |
| | | if(res.data.code === 200){ |
| | | that.array = res.data.data |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | methods: { |
| | | |
| | | bindPickerChange: function(e) { |
| | | console.log('picker发送选择改变,携带值为:' + e.detail.value) |
| | | this.index = e.detail.value |
| | | }, |
| | | // 提取 |
| | | toggle(type) { |
| | | this.type = type |
| | | // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性 |
| | | this.$refs.popup.open(type) |
| | | }, |
| | | messageToggle(type) { |
| | | this.msgType = type |
| | | this.messageText = '提取失败' |
| | | this.$refs.message.open() |
| | | }, |
| | | countDom(value) { |
| | | |
| | | }, |
| | | find(){ |
| | | let that = this |
| | | let thatId = that.matNo |
| | | if(that.matNo.length===0){ |
| | | return; |
| | | } |
| | | uni.request({ |
| | | url:that.baseUrl + "/matCode/auth", |
| | | header: { |
| | | 'content-type':'application/x-www-form-urlencoded', |
| | | 'token': localStorage.getItem('token') |
| | | }, |
| | | data: { |
| | | id:thatId |
| | | }, |
| | | method: 'POST', |
| | | success(res){ |
| | | let data = res.data.data |
| | | |
| | | if(res.data.code === 200){ |
| | | if(data != null){ |
| | | that.matName = data.matName |
| | | that.specs = data.specs |
| | | that.unit = data.unit |
| | | } |
| | | } else if (res.data.code ===403 ){ |
| | | // 待定 |
| | | } else { |
| | | // 待定 |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | confirm(){ |
| | | let that = this |
| | | let data = { |
| | | matNo:that.matNo, |
| | | matName:that.matName, |
| | | count:that.count |
| | | } |
| | | that.addTableData(data) |
| | | |
| | | }, |
| | | initTableData(data){ |
| | | for(var i=0;i<data.length;i++){ |
| | | var toPush =true |
| | | for(var j = 0; j<this.locDetlDate.length;j++){ |
| | | if (data[i].matNo === this.locDetlData[j].matNo && data[i].locNo === this.locDetlData[j].locNo) { |
| | | toPush = false; |
| | | } |
| | | } |
| | | if(toPush){ |
| | | this.locDetlDate.push(data[i]) |
| | | } |
| | | } |
| | | }, |
| | | addTableData(data){ |
| | | let that = this |
| | | if(data.matNo.length === 0){ |
| | | that.messageToggle('error') |
| | | that.messageText = '提取失败' |
| | | return |
| | | } |
| | | this.$refs.popup.close() |
| | | var toPush = true |
| | | for (var j = 0; j < this.locDetlData.length; j++) { |
| | | if (data.matNo === this.locDetlData[j].matNo && data.locNo === this.locDetlData[j].locNo) { |
| | | toPush = false; |
| | | } |
| | | } |
| | | if (toPush) { |
| | | var pushData = { |
| | | locNo: this.locDetlData[0] ? this.locDetlData[0].locNo : null, |
| | | matNo: data.matNo, |
| | | count: data.count, |
| | | matName: data.matName |
| | | } |
| | | locDetlData.push(pushData); |
| | | } |
| | | |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | |
| | | <template> |
| | | <view class="zai-box"> |
| | | <scroll-view scroll-y class="page"> |
| | | <view class="changIP"> |
| | | <button @click="changeIP()">设置IP</button> |
| | | </view> |
| | | <view class="text-center" :style="[{animation: 'show ' + 0.4+ 's 1'}]"> |
| | | <image src="../../static/logo.png" mode='aspectFit' class="zai-logo "></image> |
| | | <view class="zai-title text-shadow ">Zoneyung</view> |
| | |
| | | <block v-if="loginWay==1"> |
| | | <view class="cu-form-group margin-top shadow-warp" :class="[shape=='round'?'round':'']"> |
| | | <view class="title"><text class="cuIcon-people margin-right-xs"></text>账号:</view> |
| | | <input placeholder="请输入账号" name="input" v-model="userName"></input> |
| | | <input placeholder="请输入账号" name="input" v-model="info.userName"></input> |
| | | </view> |
| | | <view class="cu-form-group margin-top shadow-warp" :class="[shape=='round'?'round':'']"> |
| | | <view class="title"><text class="cuIcon-lock margin-right-xs"></text>密码:</view> |
| | | <input class="uni-input" placeholder="请输入密码" :password="!showPassword" v-model="password" /> |
| | | <input class="uni-input" placeholder="请输入密码" :password="!showPassword" v-model="info.password" /> |
| | | <view class="action text-lg"> |
| | | <text :class="[showPassword ? 'cuIcon-attention' : 'cuIcon-attentionforbid']" @click="changePassword"></text> |
| | | </view> |
| | | </view> |
| | | <view> |
| | | <checkbox-group> |
| | | <label> |
| | | <checkbox value="cb" checked="true" color="#FFCC33" style="transform:scale(0.7)" />选中 |
| | | </label> |
| | | <label> |
| | | <checkbox value="cb" checked="true"/>未选中 |
| | | </label> |
| | | </checkbox-group> |
| | | </view> |
| | | <view class="padding text-center margin-top"> |
| | | <button class="cu-btn bg-blue lg margin-right shadow" :loading="loading" :class="[shape=='round'?'round':'']" |
| | |
| | | <image src="../../static/logo1.png" mode="aspectFit" class="round"></image> |
| | | <view class="gray-text">登录中...</view> |
| | | </view> |
| | | <view> |
| | | <!-- 输入框示例 --> |
| | | <uni-popup ref="inputDialog" type="dialog"> |
| | | <uni-popup-dialog ref="inputClose" mode="input" title="请输入IP" value="http://192.168.4.123:8082/xgmwms" |
| | | placeholder="请输入IP" @confirm="dialogInputConfirm"> |
| | | </uni-popup-dialog> |
| | | </uni-popup> |
| | | </view> |
| | | </view> |
| | | |
| | | </template> |
| | |
| | | return { |
| | | shape:'',//round 圆形 |
| | | loading: false, |
| | | userName: '', |
| | | password: '', |
| | | phoneNo: '', |
| | | smsCode: '', |
| | | showPassword: false, //是否显示明文 |
| | |
| | | thirdUserUuid:'', |
| | | url: { |
| | | bindingThirdPhone: '/sys/thirdLogin/bindingThirdPhone' |
| | | } |
| | | }, |
| | | baseIP:'', |
| | | type:'', |
| | | info:{ |
| | | userName:'', |
| | | password:'' |
| | | }, |
| | | rember:true, |
| | | |
| | | }; |
| | | }, |
| | | onLoad:function(){ |
| | |
| | | } |
| | | }, |
| | | canSMSLogin() { |
| | | return this.userName.length > 4 && this.smsCode.length > 4; |
| | | return this.info.userName.length > 4 && this.smsCode.length > 4; |
| | | }, |
| | | canPwdLogin() { |
| | | return this.userName.length > 4 && this.password.length > 4; |
| | | return this.info.userName.length > 4 && this.info.password.length > 4; |
| | | }, |
| | | }, |
| | | methods: { |
| | | changeIP(){ |
| | | this.$refs.inputDialog.open() |
| | | }, |
| | | dialogInputConfirm(type){ |
| | | this.baseUrl=type |
| | | }, |
| | | chk(e){ |
| | | console.log(e) |
| | | }, |
| | | onLogin: function (){ |
| | | if(!this.userName || this.userName.length==0){ |
| | | if(!this.info.userName || this.info.userName.length==0){ |
| | | uni.showToast({title: '请填写账号',icon: "none"}) |
| | | return; |
| | | } |
| | | if(!this.password || this.password.length==0){ |
| | | if(!this.info.password || this.info.password.length==0){ |
| | | uni.showToast({title: '请填写密码',icon: "none"}) |
| | | return; |
| | | } |
| | |
| | | uni.request({ |
| | | url: this.baseUrl + '/login.action', |
| | | data: { |
| | | mobile:this.userName, |
| | | password:md5.hex_md5(this.password) |
| | | mobile:this.info.userName, |
| | | password:md5.hex_md5(this.info.password) |
| | | }, |
| | | header: { |
| | | "content-type": "application/json" |
| | |
| | | clearInterval(this.smsCountInterval); |
| | | } |
| | | }, |
| | | |
| | | |
| | | } |
| | | </script> |
| | | |
| | |
| | | } |
| | | |
| | | .zai-box { |
| | | padding: 0 20upx; |
| | | /* padding: 0 20upx; |
| | | padding-top: 100upx; |
| | | position: relative; |
| | | position: relative; */ |
| | | } |
| | | |
| | | .zai-logo { |
| | |
| | | .zai-btn.button-hover { |
| | | transform: translate(1upx, 1upx); |
| | | } |
| | | .changIP { |
| | | margin-top: 0rpx; |
| | | } |
| | | |
| | | </style> |
| | |
| | | |
| | | var isReady=false;var onReadyCallbacks=[]; |
| | | var isServiceReady=false;var onServiceReadyCallbacks=[]; |
| | | var __uniConfig = {"pages":["pages/login/login","pages/index/index","pages/basics/combPro","pages/basics/comb","pages/basics/matQuery","pages/basics/stockCheck","pages/basics/stockQuery"],"window":{"navigationBarTextStyle":"white","navigationBarTitleText":"PDA终端","navigationBarBackgroundColor":"#F5C11D"},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"uniDemo","compilerVersion":"3.3.10","entryPagePath":"pages/basics/comb","entryPageQuery":"","realEntryPagePath":"pages/login/login","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; |
| | | var __uniRoutes = [{"path":"/pages/login/login","meta":{"isQuit":true},"window":{"navigationBarBackgroundColor":"#ffffff","navigationBarTextStyle":"black","navigationBarTitleText":"登录"}},{"path":"/pages/index/index","meta":{},"window":{"navigationBarTitleText":"PDA首页"}},{"path":"/pages/basics/combPro","meta":{},"window":{"navigationBarTitleText":"入库单组托","enablePullDownRefresh":false}},{"path":"/pages/basics/comb","meta":{},"window":{"navigationBarTitleText":"组托","enablePullDownRefresh":false}},{"path":"/pages/basics/matQuery","meta":{},"window":{"navigationBarTitleText":"提取产品","enablePullDownRefresh":false}},{"path":"/pages/basics/stockCheck","meta":{},"window":{"navigationBarTitleText":"库存盘点","enablePullDownRefresh":false}},{"path":"/pages/basics/stockQuery","meta":{},"window":{"navigationBarTitleText":"库存查询","enablePullDownRefresh":false}}]; |
| | | var __uniConfig = {"pages":["pages/login/login","pages/index/index","pages/basics/combPro","pages/basics/comb","pages/basics/stockCheck","pages/basics/stockQuery"],"window":{"navigationBarTextStyle":"white","navigationBarTitleText":"PDA终端","navigationBarBackgroundColor":"#F5C11D"},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"uniDemo","compilerVersion":"3.3.10","entryPagePath":"pages/login/login","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; |
| | | var __uniRoutes = [{"path":"/pages/login/login","meta":{"isQuit":true},"window":{"navigationBarBackgroundColor":"#ffffff","navigationBarTextStyle":"black","navigationBarTitleText":"登录"}},{"path":"/pages/index/index","meta":{},"window":{"navigationBarTitleText":"PDA首页"}},{"path":"/pages/basics/combPro","meta":{},"window":{"navigationBarTitleText":"入库单组托","enablePullDownRefresh":false}},{"path":"/pages/basics/comb","meta":{},"window":{"navigationBarTitleText":"组托","enablePullDownRefresh":false}},{"path":"/pages/basics/stockCheck","meta":{},"window":{"navigationBarTitleText":"库存盘点","enablePullDownRefresh":false}},{"path":"/pages/basics/stockQuery","meta":{},"window":{"navigationBarTitleText":"库存查询","enablePullDownRefresh":false}}]; |
| | | __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); |
| | | __uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); |
| | | service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}}); |
| | |
| | | {"@platforms":["android","iPhone","iPad"],"id":"__UNI__DA5854D","name":"uniDemo","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#F5C11D"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["\u003cuses-permission android:name\u003d\"android.permission.CHANGE_NETWORK_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.VIBRATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.READ_LOGS\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.ACCESS_WIFI_STATE\"/\u003e","\u003cuses-feature android:name\u003d\"android.hardware.camera.autofocus\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.ACCESS_NETWORK_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.CAMERA\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.GET_ACCOUNTS\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.READ_PHONE_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.CHANGE_WIFI_STATE\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.WAKE_LOCK\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.FLASHLIGHT\"/\u003e","\u003cuses-feature android:name\u003d\"android.hardware.camera\"/\u003e","\u003cuses-permission android:name\u003d\"android.permission.WRITE_SETTINGS\"/\u003e"]},"apple":{},"plugins":{"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.3.10","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html","arguments":"{\"pathName\":\"pages/basics/comb\",\"query\":\"\"}"}} |
| | | {"@platforms":["android","iPhone","iPad"],"id":"__UNI__DA5854D","name":"uniDemo","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#F5C11D"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"arguments":"{\"name\":\"\",\"path\":\"\",\"query\":\"\",\"id\":0}","allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.3.10","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html"}} |