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