yyb
2025-11-20 04d883c9f7866722b11420f2a40b2e1a8194a75f
pages/wareHouse/nuclearScale/saveForm.vue
@@ -12,91 +12,173 @@
      <scroll-view scroll-y="true" style="height: 100%">
        <view class="packing-registration-param-view">
          <view class="packing-registration-param-item param-extra">
            <view class="packing-registration-param-item-left">
              <text class="item-one">批次号</text>
            <view style=" min-width: 80px;">
              <text style="font-size:16px">批次号</text>
            </view>
            <view class="packing-registration-param-item-right">
              <u-input
                class="item-one item-two"
                v-model="form.outBatchNo"
                disabled
                                              :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 class="packing-registration-param-item-left">
              <text class="item-one">产品描述</text>
            <view style=" min-width: 80px;">
              <text style="font-size:16px">产品描述</text>
            </view>
            <view class="packing-registration-param-item-right">
              <u-input
                class="item-one item-two"
                v-model="form.partName"
                disabled
                                              :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 class="packing-registration-param-item-left">
              <text class="item-one">零件位</text>
            <view style=" min-width: 80px;">
              <text style="font-size:16px">零件位</text>
            </view>
            <view class="packing-registration-param-item-right">
              <u-input
                class="item-one item-two"
                v-model="form.partNo"
                disabled
                                              :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 class="packing-registration-param-item-left">
              <text class="item-one">毛重</text>
            <view style=" min-width: 80px;">
              <text style="font-size:16px">毛重</text>
            </view>
            <view class="packing-registration-param-item-right">
              <u-input
                class="item-one item-two"
                v-model="form.grossWeight"
                disabled
                                              :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 class="packing-registration-param-item-left">
              <text class="item-one">盘重</text>
            <view style=" min-width: 80px;">
              <text style="font-size:16px">盘重</text>
            </view>
            <view class="packing-registration-param-item-right">
              <u-input
                class="item-one item-two"
                v-model="form.tareWeight"
                disabled
                                              :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 class="packing-registration-param-item-left">
              <text class="item-one">净重</text>
            <view style=" min-width: 80px;">
              <text style="font-size:16px">净重</text>
            </view>
            <view class="packing-registration-param-item-right">
              <u-input
                class="item-one item-two"
                v-model="form.netWeight"
                disabled
                                              :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 class="packing-registration-param-item-left">
              <text class="item-one">核磅重量</text>
            <view style=" min-width: 80px;">
              <text style="font-size:16px">核磅重量</text>
            </view>
            <view class="packing-registration-param-item-right">
              <u-input class="item-one item-two" v-model="form.verificationWeight" />
              <u-input class="item-one item-two" v-model="form.verificationWeight"
                                            :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 class="packing-registration-param-item-left">
              <text class="item-one">叉车重量</text>
            <view style=" min-width: 80px;">
              <text style="font-size:16px">叉车重量</text>
            </view>
            <view class="packing-registration-param-item-right">
              <u-input class="item-one item-two" v-model="form.forkliftWeight" />
              <u-input class="item-one item-two" v-model="form.forkliftWeight"
                                            :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">
@@ -145,7 +227,7 @@
        this.$refs.uModal.clearLoading(); // 清除加载状态
        return;
      }
      if (!this.form.forkliftWeight) {
      if (!String(this.form.forkliftWeight).trim()) {
        this.$u.toast("请输入叉车重量");
        this.$refs.uModal.clearLoading(); // 清除加载状态
        return;