yyb
2025-08-12 66a4579ac674f0f3958f2f365718c34e3bac49da
pages/wareHouse/nuclearScale/saveForm.vue
@@ -88,7 +88,7 @@
              <text class="item-one">核磅重量</text>
            </view>
            <view class="packing-registration-param-item-right">
              <u-input class="item-one item-two" v-model="form.name" />
              <u-input class="item-one item-two" v-model="form.verificationWeight" />
            </view>
          </view>
          <view class="packing-registration-param-item param-extra">
@@ -138,7 +138,7 @@
  },
  methods: {
    confirm() {
      if (!this.form.outerDiameter) {
      if (!this.form.verificationWeight) {
        this.$u.toast("请输入核磅重量");
        this.$refs.uModal.clearLoading(); // 清除加载状态
        return;
@@ -170,7 +170,7 @@
      //磅差计算:核榜-叉车盘-毛重
      Number(this.form.h);
      const magnetic =
        Number(this.form.h) - Number(this.form.children) - Number(this.form.m);
        Number(this.form.verificationWeight) - Number(this.form.voltage) - Number(this.form.reelWeight);
      uni.showModal({
        title: "提示",
        content: "磅差为:" + magnetic,