From 1f1fd51a80c6d790e0e797fca3b233399e92ce5e Mon Sep 17 00:00:00 2001 From: bsw215583320 <baoshiwei121@163.com> Date: 星期二, 09 四月 2024 09:19:14 +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