chenhaozhe
2026-01-26 1394c626cd9753d4ac3ff397927b9513e54ada46
pages/ZLGL/mojianjianyan/ProcessCheckBill.vue
@@ -51,7 +51,7 @@
                        <view class="right disabled">
                            <input type="text" :value="hform.HICMOBillNo" disabled />
                        </view>
                    </view>
                    <view class="form-item">
@@ -59,7 +59,7 @@
                        <view class="right disabled">
                            <input type="text" :value="hform.HProcExchBillNo" disabled />
                        </view>
                    </view>
                    <view class="form-item">
                        <view class="left">取样单号</view>
@@ -74,8 +74,7 @@
                            <input type="text" disabled :value="hform.HMaterNumber" />
                        </view>
                        <view class="icon-wrapper-big">
                                :disabled="hasSourceBill" @click="showSelectorModule(hform, 4)"></uni-icons>
                            <uni-icons type="search" size="20" @click="showSelectorModule(hform, 4)"></uni-icons>
                        </view>
                    </view>
                    <view class="form-item">
@@ -1178,7 +1177,7 @@
                    let res = await CommonUtils.doRequest2Async({
                        url: "/Gy_Employee/list",
                        data: {
                            sWhere: ` and 组织名称 = '${uni.getStorageSync("Organization")}' and 禁用标记 = ''and 审核人 !='' `,
                            user: getUserInfo()["Czymc"],
                            Organization: uni.getStorageSync("Organization"),
                        },
@@ -1959,7 +1958,8 @@
                try {
                    console.log('this.$refs: ', this.$refs);
                    // 检查是否有未切换的检验值模块(是否包含set_SaveValue方法),如果有,则运行一次保存检验值的方法,根据检验值是否保存成功再执行下一步
               if (typeof this.$refs.InspectValueModules != "undefined" && this.$refs.InspectValueModules.length >
                    if (typeof this.$refs.InspectValueModules != "undefined" && this.$refs.InspectValueModules
                        .length >
                        0) {
                        // 加载有检验值模块
                        await this.$refs.InspectValueModules[0].set_SaveValue();
@@ -1982,7 +1982,7 @@
                        checkItemsArray.push(checkItem);
                    }
                    console.log('checkItemsArray: ', checkItemsArray);
                    console.log("this.checkItems: ", this.checkItems);
                    let res = await CommonUtils.doRequest2Sync({
@@ -2014,9 +2014,9 @@
                                    });
                                } else if (res.cancel) {
                                    console.log("用户点击取消");
                           setTimeout(() => {
                               uni.navigateBack();
                           }, 50)
                                    setTimeout(() => {
                                        uni.navigateBack();
                                    }, 50)
                                }
                            },
                        });
@@ -2256,6 +2256,11 @@
            this.hform.HInterID = e.linterid || 0;
            if (this.operationType == 1) {
                await this.getMaxBillNo();
                if (uni.getStorageSync('Organization') == "宁波市华舟包装有限公司") {
                    this.HSourceBillType = "工序出站汇报单"; // 显示名称
                    this.hform.HSourceBillType = "3791"; // 对应的值
                }
            } else if (this.operationType == 2) {
                //有源单下推
                await this.getMaxBillNo();
@@ -2264,6 +2269,7 @@
                    if (uni.getStorageSync('Organization') == "宁波市华舟包装有限公司") {
                        this.HSourceBillType = "取样单"; // 显示名称
                        this.hform.HSourceBillType = "7521"; // 对应的值
                        this.hform.HSourceBillNo = e.HBillNo;
                    }
                    this.hform.HTakeSampleCheckBillNo = e.HBillNo;
                    this.hform.HTakeSampleCheckBillID = e.linterid;
@@ -2273,10 +2279,7 @@
            } else if (this.operationType == 3) {
                await this.RoadBillMain();
            }
            if (uni.getStorageSync('Organization') == "宁波市华舟包装有限公司") {
                this.HSourceBillType = "工序出站汇报单"; // 显示名称
                this.hform.HSourceBillType = "3791"; // 对应的值
            }
            await this.InitHSource();
            await this.InitHWorkShift();
            await this.InitHEmp();
@@ -2415,7 +2418,7 @@
        }
        .btn-c {
         background-color: #FFA500;
            background-color: #FFA500;
            color: #fff;
            // position: absolute;
            // right: 120rpx;