| | |
| | | content: "磅差为:" + magnetic, |
| | | showCancel: false, |
| | | success: function () { |
| | | self.$refs.uModal.clearLoading(); // 清除加载状态 |
| | | switch (workshop) { |
| | | case "ZF01": |
| | | if (magnetic >= -1 && magnetic <= 1) { |
| | |
| | | content: "磅差为:" + magnetic, |
| | | showCancel: false, |
| | | success: function () { |
| | | self.$refs.uModal.clearLoading(); // 清除加载状态 |
| | | switch (productType) { |
| | | case "TG01": |
| | | if (magnetic >= 0 && magnetic <= 3) { |
| | |
| | | ); |
| | | self.verifySubmission(formList); |
| | | } |
| | | if (magnetic > 10) { |
| | | if (magnetic >= -10 && magnetic < 0) { |
| | | formList.grossWeight = Number(formList.verificationWeight) - 2; |
| | | formList.tareWeight = Number(formList.grossWeight) - Number(formList.netWeight); |
| | | self.$u.toast( |
| | | "更改合格证毛重为:" + |
| | | formList.grossWeight + |
| | | "盘重为:" + |
| | | formList.tareWeight |
| | | ); |
| | | self.verifySubmission(formList); |
| | | } |
| | | if (magnetic > 10 || magnetic < -10) { |
| | | self.$u.toast("磅差:" + magnetic + ",请车间核查"); |
| | | } |
| | | break; |