yyb
2026-01-28 3f42a06ce46b03bbfdbc96f91cd43f7e0009c2bb
pages/wareHouse/nuclearScale/index.vue
@@ -201,44 +201,42 @@
        <view class="packing-registration-param">
          <view class="packing-registration-param-view">
            <view class="packing-registration-param-item param-extra">
              <view style=" min-width: 80px;">
                <text style="font-size:16px">核磅重量:</text>
              <view style="min-width: 80px">
                <text style="font-size: 16px">核磅重量:</text>
              </view>
              <view class="packing-registration-param-item-right">
                <u-input
                  type="number"
                  v-model="modalList.verificationWeight"
                              :custom-style="{
                fontSize: '16px',
                height: '40px',
                lineHeight: '40px'
              }"
              :input-style="{
                fontSize: '16px',
                height: '40px',
                lineHeight: '40px'
              }"
                  :custom-style="{
                    fontSize: '16px',
                    height: '40px',
                    lineHeight: '40px',
                  }"
                  :input-style="{
                    fontSize: '16px',
                    height: '40px',
                    lineHeight: '40px',
                  }"
                />
              </view>
            </view>
            <view class="packing-registration-param-item param-extra">
              <view style=" min-width: 80px;">
                <text  style="font-size:16px">叉车盘重:</text>
              <view style="min-width: 80px">
                <text style="font-size: 16px">叉车盘重:</text>
              </view>
              <view class="packing-registration-param-item-right">
                <u-input
                  type="number"
                  v-model="modalList.forkliftWeight"
                                                :custom-style="{
                fontSize: '16px',
                height: '40px',
                lineHeight: '40px'
              }"
              :input-style="{
                fontSize: '16px',
                height: '40px',
                lineHeight: '40px'
              }"
                  :custom-style="{
                    fontSize: '16px',
                    height: '40px',
                    lineHeight: '40px',
                  }"
                  :input-style="{
                    fontSize: '16px',
                    height: '40px',
                    lineHeight: '40px',
                  }"
                />
              </view>
            </view>
@@ -355,6 +353,9 @@
        if (that.form.productType == "TG01") {
          that.$refs.saveForm.open(ScanCodeRecordList);
        } else {
          if (that.form.workshop == "ZF01") {
            that.$refs.saveForm.open(ScanCodeRecordList);
          }
          that.queryCustomName(codeInfo, ScanCodeRecordList);
        }
      }
@@ -476,7 +477,13 @@
          };
        })
        .catch((err) => {
          uni.hideLoading();
          console.log("err", err);
          this.modalList = {
            verificationWeight: this.modalList.verificationWeight,
            forkliftWeight: this.modalList.forkliftWeight,
          };
          this.showModal = true;
          // uni.hideLoading();
          uni.showModal({
            title: "提示",
            content: err.message || "网络异常,请重试",
@@ -507,7 +514,7 @@
          // this.ScanCodeRecord.unshift(Obj);
          this.$refs.saveForm.cancel();
        })
        .catch(() => {
        .catch((err) => {
          uni.hideLoading();
          this.$refs.saveForm.cancel();
          uni.showModal({