2
schangxiang@126.com
2024-06-20 3ae4d4e84face9c3f81a8cd74e6458b5914a43e0
2
已修改4个文件
12 ■■■■■ 文件已修改
yiqi_pda/api/api.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_pda/manifest.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_pda/pages/outBound/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_pda/pages/outBound/modules/content.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_pda/api/api.js
@@ -1,6 +1,6 @@
// 同时发送异步请求的次数,防止一次点击有多次请求
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' //测试用
yiqi_pda/manifest.json
@@ -2,7 +2,7 @@
    "name" : "连杆线数采",
    "appid" : "__UNI__F24DEB0",
    "description" : "一汽连杆",
    "versionName" : "2.0.12",
    "versionName" : "2.0.14",
    "versionCode" : 6,
    "transformPx" : false,
    /* 5+App特有相关 */
yiqi_pda/pages/outBound/index.vue
@@ -86,15 +86,19 @@
            // 获取工件信息
            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】
yiqi_pda/pages/outBound/modules/content.vue
@@ -4,7 +4,7 @@
            :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>