| | |
| | | <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"> |
| | |
| | | }, |
| | | methods: { |
| | | confirm() { |
| | | if (!this.form.outerDiameter) { |
| | | if (!this.form.verificationWeight) { |
| | | this.$u.toast("请输入核磅重量"); |
| | | this.$refs.uModal.clearLoading(); // 清除加载状态 |
| | | return; |
| | |
| | | //磅差计算:核榜-叉车盘-毛重 |
| | | 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, |