149 lines
6.2 KiB
JSON
149 lines
6.2 KiB
JSON
{
|
|
"info": {
|
|
"type": "column",
|
|
"visible": true,
|
|
"data": {
|
|
"spacing": 10.0,
|
|
"crossAxisAlignment": "start"
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "card_label_item",
|
|
"visible": true,
|
|
"data": {
|
|
"title": "اطلاعات پایه واحد",
|
|
"padding_horizontal": 12.0,
|
|
"padding_vertical": 11.0
|
|
},
|
|
"child": {
|
|
"type": "column",
|
|
"visible": true,
|
|
"data": {
|
|
"spacing": 10.0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "text_form_field",
|
|
"visible": true,
|
|
"data": {
|
|
"key": "unit_name",
|
|
"label": "نام واحد مرغداری",
|
|
"keyboard_type": "text"
|
|
}
|
|
},
|
|
{
|
|
"type": "text_form_field",
|
|
"visible": true,
|
|
"data": {
|
|
"key": "breeding_unique_id",
|
|
"label": "(عدد معمولی)کد یکتا / شناسه واحد",
|
|
"keyboard_type": "number"
|
|
}
|
|
},
|
|
{
|
|
"type": "text_form_field",
|
|
"visible": true,
|
|
"data": {
|
|
"key": "health",
|
|
"label": "پروانه بهداشتی",
|
|
"keyboard_type": "number"
|
|
|
|
}
|
|
},
|
|
{
|
|
"type": "text_form_field",
|
|
"visible": true,
|
|
"data": {
|
|
"key": "health_license",
|
|
"label": "عدد اعشاری ",
|
|
"keyboard_type": "number",
|
|
"decimal": true
|
|
}
|
|
},
|
|
{
|
|
"type": "text_form_field",
|
|
"visible": true,
|
|
"data": {
|
|
"key": "health_q",
|
|
"label": "عدد اعشاری با 2 رقم اعشار",
|
|
"keyboard_type": "number",
|
|
"decimal": true,
|
|
"decimal_places": 2
|
|
}
|
|
},
|
|
{
|
|
"type": "text_form_field",
|
|
"visible": true,
|
|
"data": {
|
|
"key": "unit_date",
|
|
"label": "نام تاریییییییییییخ",
|
|
"keyboard_type": "text",
|
|
"type": "date_picker"
|
|
}
|
|
},
|
|
{
|
|
"type": "chip_selection",
|
|
"visible": true,
|
|
"data": {
|
|
"key": "grain_quality",
|
|
"label": "کیفیت دانه",
|
|
"selectedIndex": -1,
|
|
"options": [
|
|
{
|
|
"index": 0,
|
|
"label": "خوب",
|
|
"value": "خوب"
|
|
},
|
|
{
|
|
"index": 1,
|
|
"label": "متوسط",
|
|
"value": "متوسط"
|
|
},
|
|
{
|
|
"index": 2,
|
|
"label": "ضعیف",
|
|
"value": "ضعیف"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "dropdown",
|
|
"visible": true,
|
|
"data": {
|
|
"key": "training_status",
|
|
"label": "آموزشدیده در حوزه بهداشت و امنیت زیستی",
|
|
"placeholder": "آموزشدیده در حوزه بهداشت و امنیت زیستی",
|
|
"items": [
|
|
"بله",
|
|
"خیر"
|
|
],
|
|
"selectedValue": null,
|
|
"enabled": true
|
|
}
|
|
},
|
|
{
|
|
"type": "image_picker",
|
|
"visible": true,
|
|
"data": {
|
|
"key": "hall_images",
|
|
"label": "ثبت عکس سالن (حداقل ۳ زاویه)",
|
|
"required": true
|
|
}
|
|
},
|
|
{
|
|
"type": "image_picker",
|
|
"visible": true,
|
|
"data": {
|
|
"key": "hall_images_klllll",
|
|
"label": "ثبت عکس",
|
|
"required": true,
|
|
"max_images": 3
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |