wtt
2026-01-26 9d22cf303f7c83da1201a632cd59fde94f13b12a
设置检验单平板样式
4个文件已修改
474 ■■■■■ 已修改文件
pages/ZLGL/QualityReportStep/QualityReportStepBill.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/ZLGL/lailiaojianyan/POStockInCheckBill.vue 153 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/ZLGL/mojianjianyan/ProcessCheckBill.vue 152 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/ZLGL/shengchanrukujiaoyan/QC_LastPieceCheckBill_v2.vue 151 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/ZLGL/QualityReportStep/QualityReportStepBill.vue
@@ -1045,9 +1045,24 @@
            goBack() {
                uni.navigateBack();
            },
            // 设置为自动
            setAuto() {
                if (uni.getSystemInfoSync().platform === 'android' ||
                      uni.getSystemInfoSync().platform === 'ios') {
                    plus.screen.unlockOrientation();
                }
            },
            // 设置为竖屏
            setPortrait() {
              if (uni.getSystemInfoSync().platform === 'android' ||
                  uni.getSystemInfoSync().platform === 'ios') {
                plus.screen.lockOrientation('portrait');
              }
            },
            
        },
        async onLoad(e) {
            this.setAuto();
            this.operationType = e.operationType || 1;
            this.hform.HInterID = e.linterid || 0;
            if (this.operationType == 1) {
@@ -1061,6 +1076,9 @@
            await this.InitHGroup();
            await this.loadCache();
        },
        onUnload(){
            this.setPortrait();
        }
    };
</script>
pages/ZLGL/lailiaojianyan/POStockInCheckBill.vue
@@ -274,7 +274,7 @@
                    @tap="subTabSelected = subTab.id">{{ subTab.name }}</view>
            </view>
            <!-- 子表内容 -->
            <view class="bill-main-contents">
            <view class="bill-sub-content">
                <!-- 检验项目 呈现 -->
                <view v-if="subTabSelected == 1">
                    <!-- 需通过显式调用忽略$event参数 -->
@@ -2265,8 +2265,23 @@
                    });
                }
            },
            // 设置为自动
            setAuto() {
                if (uni.getSystemInfoSync().platform === 'android' ||
                      uni.getSystemInfoSync().platform === 'ios') {
                    plus.screen.unlockOrientation();
                }
            },
            // 设置为竖屏
            setPortrait() {
              if (uni.getSystemInfoSync().platform === 'android' ||
                  uni.getSystemInfoSync().platform === 'ios') {
                plus.screen.lockOrientation('portrait');
              }
            },
        },
        async onLoad(e) {
            this.setAuto();
            this.operationType = e.operationType || 1;
            this.hform.HInterID = e.linterid || 0;
            console.log(this.hform.HFirstCheckEmp)
@@ -2281,6 +2296,9 @@
            await this.InitHEmp();
            await this.loadCache();
        },
        onUnload(){
            this.setPortrait();
        }
    };
</script>
@@ -2323,62 +2341,68 @@
        }
    }
    .bill-main-content,
    .bill-sub-content {
        box-sizing: border-box;
        padding: 0 30rpx 0 30rpx;
        display: flex;
        flex-direction: column;
        .form-item {
            width: 100%;
            display: flex;
            align-items: center;
            font-size: 26rpx;
            padding: 6rpx 0;
            .left {
                width: 208rpx;
                text {
                    color: red;
                    font-weight: bold;
                }
            }
            .right {
                // width: 450rpx;
                padding: 8rpx 20rpx;
                font-size: 26rpx;
                flex: 1;
                border-radius: 22rpx;
                border: 1px solid #acacac;
                .uni-combox {
                    padding: 0;
                    height: auto;
                    .uni-input-placeholder,
                    .uni-input-input {
                        font-size: 26rpx;
                    }
                }
                .uni-combox::v-deep input {
                    height: inherit;
                    font-size: 26rpx;
                }
            }
            .disabled {
                border: 1px solid #e4e4e4;
                background-color: #e4e4e4;
            }
            .none-border {
                border: none;
            }
        }
    .bill-main-content{
        box-sizing: border-box;
        padding: 0 30rpx 0 30rpx;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;         /* 超出自动换行 */
        /* 可选:设置换行后的对齐方式 */
        align-content: flex-start; /* 多行对齐方式 */
        .form-item {
            width: 600rpx;
            display: flex;
            align-items: center;
            font-size: 26rpx;
            padding: 6rpx 0;
             margin-right: 20rpx;
            .left {
                width: 208rpx;
                text {
                    color: red;
                    font-weight: bold;
                }
            }
            .right {
                // width: 450rpx;
                padding: 8rpx 20rpx;
                font-size: 26rpx;
                flex: 1;
                border-radius: 22rpx;
                border: 1px solid #acacac;
                .uni-combox {
                    padding: 0;
                    height: auto;
                    .uni-input-placeholder,
                    .uni-input-input {
                        font-size: 26rpx;
                    }
                }
                .uni-combox::v-deep input {
                    height: inherit;
                    font-size: 26rpx;
                }
            }
            .right-select {
                //padding: 8rpx 20rpx;
                font-size: 26rpx;
                flex: 1;
            }
            .disabled {
                border: 1px solid #e4e4e4;
                background-color: #e4e4e4;
            }
            .none-border {
                border: none;
            }
        }
    }
    .bottom-btn {
@@ -2456,12 +2480,17 @@
            color: #fff;
        }
    }
    ::v-deep .uni-card {
      flex: 500rpx;
    }
    .list {
        width: 100%;
        display: flex; /* 添加flex布局 */
        flex-wrap: wrap; /* 允许换行 */
        gap: 20rpx; /* 设置卡片间距 */
        .card-detail {
            width: 100%;
            width: 500rpx;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
@@ -2469,7 +2498,7 @@
            line-height: 120%;
            padding: 20rpx 10rpx;
            gap: 10rpx 0;
            input {
                font-size: 26rpx;
            }
@@ -2505,7 +2534,7 @@
            }
        }
    }
    .icon-wrapper {
        background-color: #3a78ff;
        border-radius: 100%;
pages/ZLGL/mojianjianyan/ProcessCheckBill.vue
@@ -2187,8 +2187,23 @@
                    });
                }
            },
            // 设置为自动
            setAuto() {
                if (uni.getSystemInfoSync().platform === 'android' ||
                      uni.getSystemInfoSync().platform === 'ios') {
                    plus.screen.unlockOrientation();
                }
            },
            // 设置为竖屏
            setPortrait() {
              if (uni.getSystemInfoSync().platform === 'android' ||
                  uni.getSystemInfoSync().platform === 'ios') {
                plus.screen.lockOrientation('portrait');
              }
            },
        },
        async onLoad(e) {
            this.setAuto();
            this.operationType = e.operationType || 1;
            this.hform.HInterID = e.linterid || 0;
            if (this.operationType == 1) {
@@ -2207,6 +2222,9 @@
            await this.InitHEmp();
            await this.loadCache();
        },
        onUnload(){
            this.setPortrait();
        }
    };
</script>
@@ -2249,29 +2267,30 @@
        }
    }
    .bill-main-content,
    .bill-sub-content {
    .bill-main-content{
        box-sizing: border-box;
        padding: 0 30rpx 0 30rpx;
        display: flex;
        flex-direction: column;
        flex-direction: row;
        flex-wrap: wrap;         /* 超出自动换行 */
        /* 可选:设置换行后的对齐方式 */
        align-content: flex-start; /* 多行对齐方式 */
        .form-item {
            width: 100%;
            width: 600rpx;
            display: flex;
            align-items: center;
            font-size: 26rpx;
            padding: 6rpx 0;
             margin-right: 20rpx;
            .left {
                width: 208rpx;
                text {
                    color: red;
                    font-weight: bold;
                }
            }
            .right {
                // width: 450rpx;
                padding: 8rpx 20rpx;
@@ -2279,28 +2298,33 @@
                flex: 1;
                border-radius: 22rpx;
                border: 1px solid #acacac;
                .uni-combox {
                    padding: 0;
                    height: auto;
                    .uni-input-placeholder,
                    .uni-input-input {
                        font-size: 26rpx;
                    }
                }
                .uni-combox::v-deep input {
                    height: inherit;
                    font-size: 26rpx;
                }
            }
            .right-select {
                //padding: 8rpx 20rpx;
                font-size: 26rpx;
                flex: 1;
            }
            .disabled {
                border: 1px solid #e4e4e4;
                background-color: #e4e4e4;
            }
            .none-border {
                border: none;
            }
@@ -2383,57 +2407,59 @@
        }
    }
    ::v-deep .uni-card {
      flex: 500rpx;
    }
    .list {
        width: 100%;
        .card-detail {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            line-height: 120%;
            gap: 10rpx 0;
            input {
                font-size: 26rpx;
            }
            .detail {
                // width: 50%;
                box-sizing: border-box;
                font-size: 26rpx;
                color: #555;
                padding-right: 20rpx;
                text {
                    color: #999;
                    font-size: 26rpx;
                }
            }
            .editable {
                width: 50%;
                display: inline-flex;
                flex-direction: row;
                align-items: center;
                text {
                    flex-shrink: 0;
                }
                .sampleDestory {
                    border: 1px solid #acacac;
                    border-radius: 10%;
                    padding: 0 12rpx;
                }
                .editable-input {
                    border: 1px solid #acacac;
                    border-radius: 5rpx;
                    padding: 0 12rpx;
                }
            }
        }
        width: 100%;
        display: flex; /* 添加flex布局 */
        flex-wrap: wrap; /* 允许换行 */
        gap: 20rpx; /* 设置卡片间距 */
        .card-detail {
            width: 500rpx;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            line-height: 120%;
            padding: 20rpx 10rpx;
            gap: 10rpx 0;
            input {
                font-size: 26rpx;
            }
            .detail {
                // width: 50%;
                box-sizing: border-box;
                font-size: 26rpx;
                color: #555;
                padding-right: 20rpx;
                text {
                    color: #999;
                    font-size: 26rpx;
                }
            }
            .editable {
                width: 50%;
                display: inline-flex;
                flex-direction: row;
                align-items: center;
                text {
                    flex-shrink: 0;
                }
                .editable-input {
                    border: 1px solid #acacac;
                    border-radius: 5rpx;
                    padding: 0 12rpx;
                }
            }
        }
    }
    .icon-wrapper {
pages/ZLGL/shengchanrukujiaoyan/QC_LastPieceCheckBill_v2.vue
@@ -1282,8 +1282,8 @@
                        url: "/Gy_Employee/list",
                        data: {
                            sWhere: `  and 组织名称 = '${uni.getStorageSync(
              "Organization"
            )}' and 禁用标记 = ''and 审核人 !='' order by 部门代码`,
                              "Organization"
                            )}' and 禁用标记 = ''and 审核人 !=''`,
                            user: getUserInfo()["Czymc"],
                            Organization: uni.getStorageSync("Organization"),
                        },
@@ -2317,8 +2317,23 @@
                    });
                }
            },
            // 设置为自动
            setAuto() {
                if (uni.getSystemInfoSync().platform === 'android' ||
                      uni.getSystemInfoSync().platform === 'ios') {
                    plus.screen.unlockOrientation();
                }
            },
            // 设置为竖屏
            setPortrait() {
              if (uni.getSystemInfoSync().platform === 'android' ||
                  uni.getSystemInfoSync().platform === 'ios') {
                plus.screen.lockOrientation('portrait');
              }
            },
        },
        async onLoad(e) {
            this.setAuto();
            this.operationType = e.operationType || 1;
            this.hform.HInterID = e.linterid || 0;
            if (this.operationType == 1) {
@@ -2337,6 +2352,9 @@
            await this.InitHEmp();
            await this.loadCache()
        },
        onUnload(){
            this.setPortrait();
        }
    };
</script>
@@ -2379,29 +2397,30 @@
        }
    }
    .bill-main-content,
    .bill-sub-content {
    .bill-main-content{
        box-sizing: border-box;
        padding: 0 30rpx 0 30rpx;
        display: flex;
        flex-direction: column;
        flex-direction: row;
        flex-wrap: wrap;         /* 超出自动换行 */
        /* 可选:设置换行后的对齐方式 */
        align-content: flex-start; /* 多行对齐方式 */
        .form-item {
            width: 100%;
            width: 600rpx;
            display: flex;
            align-items: center;
            font-size: 26rpx;
            padding: 6rpx 0;
             margin-right: 20rpx;
            .left {
                width: 208rpx;
                text {
                    color: red;
                    font-weight: bold;
                }
            }
            .right {
                // width: 450rpx;
                padding: 8rpx 20rpx;
@@ -2409,28 +2428,33 @@
                flex: 1;
                border-radius: 22rpx;
                border: 1px solid #acacac;
                .uni-combox {
                    padding: 0;
                    height: auto;
                    .uni-input-placeholder,
                    .uni-input-input {
                        font-size: 26rpx;
                    }
                }
                .uni-combox::v-deep input {
                    height: inherit;
                    font-size: 26rpx;
                }
            }
            .right-select {
                //padding: 8rpx 20rpx;
                font-size: 26rpx;
                flex: 1;
            }
            .disabled {
                border: 1px solid #e4e4e4;
                background-color: #e4e4e4;
            }
            .none-border {
                border: none;
            }
@@ -2513,52 +2537,59 @@
        }
    }
    ::v-deep .uni-card {
      flex: 500rpx;
    }
    .list {
        width: 100%;
        .card-detail {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            line-height: 120%;
            gap: 10rpx 0;
            input {
                font-size: 26rpx;
            }
            .detail {
                // width: 50%;
                box-sizing: border-box;
                font-size: 26rpx;
                color: #555;
                padding-right: 20rpx;
                text {
                    color: #999;
                    font-size: 26rpx;
                }
            }
            .editable {
                width: 50%;
                display: inline-flex;
                flex-direction: row;
                align-items: center;
                text {
                    flex-shrink: 0;
                }
                .editable-input {
                    border: 1px solid #acacac;
                    border-radius: 5rpx;
                    padding: 0 12rpx;
                }
            }
        }
        width: 100%;
        display: flex; /* 添加flex布局 */
        flex-wrap: wrap; /* 允许换行 */
        gap: 20rpx; /* 设置卡片间距 */
        .card-detail {
            width: 500rpx;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            line-height: 120%;
            padding: 20rpx 10rpx;
            gap: 10rpx 0;
            input {
                font-size: 26rpx;
            }
            .detail {
                // width: 50%;
                box-sizing: border-box;
                font-size: 26rpx;
                color: #555;
                padding-right: 20rpx;
                text {
                    color: #999;
                    font-size: 26rpx;
                }
            }
            .editable {
                width: 50%;
                display: inline-flex;
                flex-direction: row;
                align-items: center;
                text {
                    flex-shrink: 0;
                }
                .editable-input {
                    border: 1px solid #acacac;
                    border-radius: 5rpx;
                    padding: 0 12rpx;
                }
            }
        }
    }
    .icon-wrapper {