diff --git a/src/views/appmana/mulchrecord/SurvMulchRecord.data.ts b/src/views/appmana/mulchrecord/SurvMulchRecord.data.ts index 1d09ef4..b4cb2f5 100644 --- a/src/views/appmana/mulchrecord/SurvMulchRecord.data.ts +++ b/src/views/appmana/mulchrecord/SurvMulchRecord.data.ts @@ -19,6 +19,11 @@ export const columns: BasicColumn[] = [ align: "center", dataIndex: 'mulchRemain' }, + { + title: '秸秆残留量(kg/hm2)', + align: "center", + dataIndex: 'strawRemain' + }, { title: '覆膜年份', align: "center", diff --git a/src/views/appmana/mulchrecord/components/SurvMulchRecordForm.vue b/src/views/appmana/mulchrecord/components/SurvMulchRecordForm.vue index d22a77e..3695a49 100644 --- a/src/views/appmana/mulchrecord/components/SurvMulchRecordForm.vue +++ b/src/views/appmana/mulchrecord/components/SurvMulchRecordForm.vue @@ -23,8 +23,13 @@ - - + + + + + + + @@ -63,7 +68,7 @@ import { getStationList } from '../../station/SurvStationInfo.api'; import JImageUpload from '/@/components/Form/src/jeecg/components/JImageUpload.vue'; import {ApiSelect} from '/@/components/Form/index'; - + const props = defineProps({ formDisabled: { type: Boolean, default: false }, formData: { type: Object, default: ()=>{} }, @@ -74,16 +79,17 @@ const emit = defineEmits(['register', 'ok']); const formData = reactive>({ id: '', - cropName: '', - mulchRemain: '', + cropName: '', + mulchRemain: '', + strawRemain:'', mulchYear: ref(), sampTime: ref(), - tenantId: '', + tenantId: '', reVision: undefined, - createdBy: '', - updatedBy: '', + createdBy: '', + updatedBy: '', isDel: undefined, - updatedTime: '', + updatedTime: '', mNote:'', mPics:[], }); @@ -108,7 +114,7 @@ return props.formDisabled; }); - + /** * 新增 */