diff --git a/src/pages/modules/clean/man-pour.vue b/src/pages/modules/clean/man-pour.vue index 600f1a3..b33b03e 100644 --- a/src/pages/modules/clean/man-pour.vue +++ b/src/pages/modules/clean/man-pour.vue @@ -63,7 +63,7 @@ -->
- +
@@ -161,18 +161,19 @@ export default { // 确认 async toSure () { this.disabled2 = true - if (this.value1 === '' || this.value2 === '' || this.material_spec === '' || this.material_code === '' || this.material_name === '') { + if (this.value2 === '' || this.deviceinstor_weight === '' || this.material_code === '' || this.material_spec === '' || this.material_name === '') { this.disabled2 = false return } try { - let res = await washweighingFinish(this.value1, this.value2, this.material_spec, this.material_code, this.material_name) + let res = await washweighingFinish(this.value2, this.deviceinstor_weight, this.material_code, this.material_spec, this.material_name) if (res.code === 200) { this.toast(res.msg) this.value1 = '' this.value2 = '' - this.material_spec = '' + this.deviceinstor_weight = '' this.material_code = '' + this.material_spec = '' this.material_name = '' this.$store.dispatch('setMaterObj', '') }