qingyiay
2023-06-29 2d742116c8cdc3a3f646e20340a185455f18cd5a
称重页面问题修改
1个文件已修改
28 ■■■■ 已修改文件
pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue
@@ -141,6 +141,10 @@
                    <view class="suffix">{{ weighList.coalName || '' }}</view>
                </view>
                <view class="main-information">
                    <view class="prefix">订单类型:</view>
                    <view class="suffix">{{ weighList.orderType || '' }}</view>
                </view>
                <view class="main-information">
                    <view class="prefix">皮重:</view>
                    <view class="suffix">{{ showWeigh.skin||"" }}
                    </view>
@@ -172,7 +176,7 @@
            <!-- 外销订单称皮时,返回加减吨按钮置灰。称毛时可用.外购订单,不出现返回加减吨的按钮 -->
            <u-button type="primary"
                text="确定称重"
                :disabled="realTimeWeigh == 0 || globalinfraredStatus || isweigh || !isInputOrigin"
                :disabled="realTimeWeigh == 0 || globalinfraredStatus || isweigh "
                :loading="isConfirmWeighLoading"
                loadingText="确认"
                @click="confirmWeigh"></u-button>
@@ -369,21 +373,19 @@
                        this.weighData.filedId = res.data.filedId;
                        this.weighData.coalContactHair = res.data.hairTwo ? res.data.hairTwo : 0;
                        this.weighData.coalContactSkin = res.data.skinTwo ? res.data.skinTwo : 0;
                        if (this.weighList.orderType == '外购') {
                            this.outBuy = true
                            this.outsourcing = false;
                            // this.firstHairCustomernameShow = true;
                        this.outBuy = this.weighList.orderType == '外购' && this.weighList.hair > 0;
                        this.outsourcing = this.weighList.orderType == '外销' && this.weighList.hair > 0;
                        // if (this.weighList.orderType == '外购') {
                            // if (this.weighList.hair > 0) {
                            //     this.haveInputOrigin = true;
                            //     this.isInputOrigin = true;
                        //         this.outBuy = true
                        //         this.outsourcing = false;
                            // }
                            // if (this.weighList.hair == 0) {
                            //     this.outBuy = false;
                        // } else if (this.weighList.orderType == '外销') {
                        //     if (this.weighList.hair > 0) {
                        //         this.outsourcing = true;
                        //         this.outBuy = false
                            // }
                        } else if (this.weighList.orderType == '外销') {
                            this.outsourcing = true;
                            this.outBuy = false
                        }
                        // }
                    }
                });
            },