diff --git a/src/api/admin/enum-contracts.ts b/src/api/admin/enum-contracts.ts index 3203534..ee16265 100644 --- a/src/api/admin/enum-contracts.ts +++ b/src/api/admin/enum-contracts.ts @@ -136,3 +136,13 @@ export const EnumFeedingType = { Percentage: { name: 'Percentage', value: 1, desc: '百分比' }, Volume: { name: 'Volume', value: 2, desc: '体积' }, } + +export const EnumFeedingOperator = { + LessThan: { name: '<', value: 1, desc: '<' }, + GreaterThan: { name: '<=', value: 2, desc: '<=' }, +} + +export const EnumFeedingCalculationMode = { + Add: { name: '残糖', value: 1, desc: '残糖' }, + Subtract: { name: '残糖和乳酸', value: 3, desc: '残糖和乳酸' }, +} diff --git a/src/views/admin/template/components/culture-protocol-form.vue b/src/views/admin/template/components/culture-protocol-form.vue index c0a15b5..1ed6ec4 100644 --- a/src/views/admin/template/components/culture-protocol-form.vue +++ b/src/views/admin/template/components/culture-protocol-form.vue @@ -116,17 +116,24 @@ :label="`${pump.feedingPumpName}${pump.mediumName ? ' / ' + pump.mediumName : ''}`" :name="String(pump.feedingPumpNo)">
- 添加任务 + 添加任务
@@ -135,10 +142,15 @@ header-align="center">