master
Tuzki 1 year ago
parent ed5f8cf378
commit 6ad571a3c5
  1. 7
      sunPages/addCropForm/addCropForm.vue
  2. 1
      sunPages/blockDetail/blockDetail.vue

@ -316,14 +316,15 @@
}
},
checkArea1(val) {
console.log(this.formData.production)
if (val == 1) {
if (this.formData.plantingArea != '') {
console.log(this.formData.plantingArea)
if (this.formData.plantingArea != ''&&this.formData.plantingArea !=undefined) {
this.formData.plantingArea = parseFloat(this.formData.plantingArea).toFixed(2);
}
}
if (val == 2) {
if (this.formData.production != '') {
console.log(this.formData.production)
if (this.formData.production != ''&&this.formData.production!=undefined) {
this.formData.production = parseFloat(this.formData.production).toFixed(2);
}
}

@ -329,6 +329,7 @@ export default {
icon: 'none',
title: '已结束'
});
that.blockData = undefined
setTimeout(() => {
that.$refs.paging.reload();
}, 1500);

Loading…
Cancel
Save