6/5第二版
This commit is contained in:
parent
d926dae0cb
commit
a85f0d61b4
@ -33,13 +33,13 @@
|
||||
<template #growthCycle-form="{ row, column, value, type }">
|
||||
<el-input-number v-model="growthCycleVal[0]" :disabled="type == 'view' ? true : false" :min="1" :max="30" style="width: 130px">
|
||||
<template #suffix>
|
||||
<span>周</span>
|
||||
<span>天</span>
|
||||
</template>
|
||||
</el-input-number>
|
||||
-
|
||||
<el-input-number v-model="growthCycleVal[1]" :min="1" :disabled="type == 'view' ? true : false" :max="30" style="width: 130px">
|
||||
<template #suffix>
|
||||
<span>周</span>
|
||||
<span>天</span>
|
||||
</template>
|
||||
</el-input-number>
|
||||
</template>
|
||||
@ -130,13 +130,16 @@ const state = reactive({
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '种植面积(亩)',
|
||||
label: '种植面积',
|
||||
prop: 'plantingArea',
|
||||
rules: {
|
||||
required: true,
|
||||
message: '请输入',
|
||||
trigger: 'blur',
|
||||
},
|
||||
formatter: (row, column, cellValue) => {
|
||||
return cellValue ? cellValue + '亩' : '';
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '种植月份',
|
||||
@ -154,9 +157,12 @@ const state = reactive({
|
||||
}
|
||||
},
|
||||
},
|
||||
formatter: (row, column, cellValue) => {
|
||||
return cellValue ? cellValue + '月' : '';
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '生长周期(周)',
|
||||
label: '生长周期',
|
||||
prop: 'growthCycle',
|
||||
width: '120px',
|
||||
viewDisabled: true,
|
||||
@ -172,6 +178,9 @@ const state = reactive({
|
||||
}
|
||||
},
|
||||
},
|
||||
formatter: (row, column, cellValue) => {
|
||||
return cellValue ? cellValue + '天' : '';
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '备注',
|
||||
|
Loading…
x
Reference in New Issue
Block a user