From 6fcb00f27e80b38cea4ccb059112ad7cf99d8745 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期五, 25 十月 2024 15:18:22 +0800 Subject: [PATCH] 新增干草配方历史功能模块 --- src/views/dry/dataDefine/DryEquipment.data.ts | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/views/dry/dataDefine/DryEquipment.data.ts b/src/views/dry/dataDefine/DryEquipment.data.ts index 1fb349f..215fbd8 100644 --- a/src/views/dry/dataDefine/DryEquipment.data.ts +++ b/src/views/dry/dataDefine/DryEquipment.data.ts @@ -26,7 +26,12 @@ dataIndex: 'remark', }, { - title: '杞﹂棿id', + title: '璁惧IP', + align: 'center', + dataIndex: 'ip', + }, + { + title: '杞﹂棿', align: 'center', dataIndex: 'shopId_dictText', }, @@ -94,6 +99,14 @@ }, }, { + label: '璁惧IP', + field: 'ip', + component: 'Input', + dynamicRules: ({ model, schema }) => { + return [{ required: true, message: '璇风粦瀹氳澶嘔P!' }, { ...rules.duplicateCheckRule('dry_equipment', 'ip', model, schema)[0] }] + }, + }, + { label: '璁惧绫诲瀷', field: 'type', component: 'JDictSelectTag', @@ -152,6 +165,7 @@ code: string name: string type: string + type_dictText: string remark: string shop_id: string enable: string @@ -160,5 +174,6 @@ update_by: string update_time: Date tenant_id: number + ip: string order: dryOrder } -- Gitblit v1.9.3