pages/wareHouse/nuclearScale/index.vue
@@ -413,7 +413,7 @@ this.form.forkliftWeight = this.modalList.forkliftWeight; switch (this.form.productType) { case "DT01": if (magnetic >= 0 && magnetic <= 3) { if (magnetic >= -3 && magnetic <= 3) { this.allSubmit(); } else { this.$u.toast("磅差:" + magnetic + ",请车间核查"); @@ -480,7 +480,8 @@ this.$u.api.NuclearScaleEntry.createDetail(this.form) .then((res) => { this.$u.toast("提交成功"); this.ScanCodeRecord.unshift(Obj); this.ScanCodeRecord = []; // this.ScanCodeRecord.unshift(Obj); this.$refs.saveForm.cancel(); }) .catch(() => {