| | |
| | | // 同时发送异步请求的次数,防止一次点击有多次请求 |
| | | let ajaxTime = 0; |
| | | // export const baseUrl = 'http://localhost:7788' |
| | | //export const baseUrl = 'http://localhost:7788' |
| | | export const baseUrl = 'http://10.135.75.70:7788' //生产用 |
| | | //export const baseUrl = 'http://192.168.216.203:7788' //测试用 |
| | | |
| | |
| | | "name" : "连杆线数采", |
| | | "appid" : "__UNI__F24DEB0", |
| | | "description" : "一汽连杆", |
| | | "versionName" : "2.0.12", |
| | | "versionName" : "2.0.14", |
| | | "versionCode" : 6, |
| | | "transformPx" : false, |
| | | /* 5+App特有相关 */ |
| | |
| | | // 获取工件信息 |
| | | async onSearchContainter(OP80NewCode) { |
| | | this.inputFocus=false |
| | | this.initFocus(100); |
| | | const param = { |
| | | OP80NewCode: OP80NewCode |
| | | } |
| | | try{ |
| | | let {data}=await getWorkPieceByOP80NewCode(param) |
| | | if(!this.workPieceData.some(item=>item.workPieceID==data.workPieceID)) { |
| | | data.addTime=new Date(); |
| | | this.workPieceData.push(data) |
| | | } |
| | | //顺序调转,排序 |
| | | this.workPieceData.sort((a, b) => b.addTime - a.addTime); |
| | | |
| | | this.initFocus(100); |
| | | //console.log(this.workPieceData,'dsts'); |
| | | // setTimeout(()=>{ |
| | | // this.OP80NewCode = '' ;//每次刷完就清空输入框 【Editby shaocx,2024-06-12】 |
| | |
| | | :name="index" @click="actionClick" style="margin-bottom: 10rpx;background-color: #fff;"> |
| | | <view class="content" > |
| | | <view class="content_flex"> |
| | | <view class="flex_index">{{index+1}}</view> |
| | | <view class="flex_index">{{workPieceData.length-index}}</view> |
| | | <view class="flex_code">OP80成品码: {{item.oP80NewCode}}</view> |
| | | <view class="flex_status">{{item.qualityStateName}}</view> |
| | | </view> |