chenhaozhe
2025-07-31 9b356b60d10c7c3b8289f86e7a7ea544beaf5df2
解决合并后格式问题
3个文件已修改
37 ■■■■ 已修改文件
.hbuilderx/launch.json 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/caigouruku/form.vue 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.hbuilderx/launch.json
@@ -21,7 +21,10 @@
            "type" : "uni-app:app-ios"
        },
        {
            "customPlaygroundType" : "device",
            "localRepoPath" : "D:/WorkBench/ZY_APP_Dev/STUWMS",
            "openVueDevtools" : true,
            "packageName" : "com.shebeiguanli.www",
            "playground" : "custom",
            "type" : "uni-app:app-android"
        }
manifest.json
@@ -2,8 +2,8 @@
    "name" : "智云LMES",
    "appid" : "__UNI__B002F49",
    "description" : "",
    "versionName" : "1.0.28",
    "versionCode" : 128,
    "versionName" : "1.0.30",
    "versionCode" : 130,
    "transformPx" : false,
    /* 5+App特有相关 */
    "app-plus" : {
pages/caigouruku/form.vue
@@ -59,9 +59,10 @@
                <view class="form-item">
                    <view class="title">源单单号:</view>
                    <view class="right" v-show="showHSourceBillNo">
                        <uni-combox :isAutoFocus="true" ref="uniComboxSourceBill" :confirm-call="onSourceBillBlurHandler"
                            v-if="reHSourceBillNo" :candidates="arrayHSourceBillNo" placeholder="请输入源单单号"
                            v-model="hform.HSourceBillNo" @input="HSourceBillNoChange"></uni-combox>
                        <uni-combox :isAutoFocus="true" ref="uniComboxSourceBill"
                            :confirm-call="onSourceBillBlurHandler" v-if="reHSourceBillNo"
                            :candidates="arrayHSourceBillNo" placeholder="请输入源单单号" v-model="hform.HSourceBillNo"
                            @input="HSourceBillNoChange"></uni-combox>
                    </view>
                    <view class="righton" v-show="!showHSourceBillNo">
                        <input name="HSourceBillNo" disabled v-model="hform.HSourceBillNo" placeholder="请输入源单单号" />
@@ -346,24 +347,24 @@
                innerAudioContext.play(); // 播放音频
            },
            //扫码
            toScanCode(){
            toScanCode() {
                var mpaasScanModule = uni.requireNativePlugin("Mpaas-Scan-Module")
                mpaasScanModule.mpaasScan({
                    'hideAlbum': true,
                    'timeoutInterval':'10', //超时时间
                    'timeoutText':'未识别到二维码' //超时提醒
                },(ret) => {
                    'timeoutInterval': '10', //超时时间
                    'timeoutText': '未识别到二维码' //超时提醒
                }, (ret) => {
                    console.log(ret.resp_result)
                    if(this.hform.HBarCode == '*'){
                    if (this.hform.HBarCode == '*') {
                        this.hform.HBarCode = this.hform.HBarCode + ret.resp_result
                    }else{
                    } else {
                        this.hform.HBarCode = ret.resp_result
                    }
                    this.getCode(this.hform.HBarCode)
                })
            },
},
            //扫其他(仓库,仓位)
            // toScanData(e){
            //     uni.scanCode({
@@ -443,7 +444,7 @@
                this.hform.HDate = e.detail.value
            },
            onSourceBillBlurHandler() {
                if(this.hform.HMainSourceBillType == -1) {
                if (this.hform.HMainSourceBillType == -1) {
                    this.playSound(1)
                    this.barCodeFocus = true
                    return
@@ -1031,11 +1032,10 @@
                    },
                });
            },
            //删除物料码
            delMater(item) {
                uni.showModal({
                    title: '提示',
                    content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                    content: '确认要删除 "' + item.物料名称 + '" 所有扫码记录?删除后将不可恢复!',
                    success: (res) => {
                        if (res.confirm) {
                            uni.request({
@@ -1066,7 +1066,7 @@
                                        title: '接口请求失败',
                                        icon: 'none'
                                    })
                                },
                                }
                            });
                        }
                    }