添加样式

This commit is contained in:
yangjun 2025-08-05 17:33:33 +08:00
parent 171e8f14e4
commit 47e4eeff30
6 changed files with 21 additions and 18 deletions

View File

@ -251,6 +251,7 @@
.ant-drawer-body {
height: calc(100% - @detail-header-height);
background: url(../resource/img/modalback.png);
}
}
.jeecg-basic-title[data-v-ddd32716] {

View File

@ -48,6 +48,7 @@
.ant-drawer-body {
height: 100vh;
padding: 0;
background: url(../resource/img/modalback.png);
}
.ant-drawer-header-no-title {

View File

@ -92,7 +92,7 @@
<a href="javascript:;" @click="handleAdd(data)">添加物料</a>
</a-menu-item>
<a-menu-item>
<a href="javascript:;" @click="handleFenleiEdit(data)">编辑</a>
<a href="javascript:;" @click="handleFenleiEdit(data)">重命名</a>
</a-menu-item>
<a-menu-item v-if="data.izEnabled == '1'">
<a href="javascript:;" @click="handleQyty(data,'0')">启用</a>
@ -593,3 +593,9 @@ function getTreeData(){
z-index: 999;
}
</style>
<style lang="less">
.ant-drawer-body {
background: url(../resource/img/modalback.png);
}
</style>

View File

@ -4,14 +4,14 @@
<template #detail>
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol" name="ConfigMaterialMedicationForm">
<a-row>
<a-col :span="24">
<a-col :span="24" v-if="showDictSelect">
<a-form-item label="一级分类" v-bind="validateInfos.categoryId" id="ConfigMaterialMedicationForm-categoryId" name="categoryId">
<j-dict-select-tag type='radio' v-model:value="formData.categoryId" dictCode="nu_config_material_category,category_name,id,iz_enabled = 0 and del_flag = 0" placeholder="请选择一级分类" allow-clear v-if="showDictSelect"/>
<j-dict-select-tag type='radio' v-model:value="formData.categoryId" dictCode="nu_config_material_category,category_name,id,iz_enabled = 0 and del_flag = 0" placeholder="请选择一级分类" allow-clear/>
</a-form-item>
</a-col>
<a-col :span="24">
<a-col :span="24" v-if="showDictSelect">
<a-form-item label="二级分类" v-bind="validateInfos.typeId" id="ConfigMaterialMedicationForm-typeId" name="typeId">
<j-dict-select-tag type='radio' v-model:value="formData.typeId" :dictCode="`nu_config_material_type,type_name,id,iz_enabled = 0 and del_flag = 0 and category_id = ${formData.categoryId || -1}`" placeholder="请选择二级分类" allow-clear v-if="showDictSelect"/>
<j-dict-select-tag type='radio' v-model:value="formData.typeId" :dictCode="`nu_config_material_type,type_name,id,iz_enabled = 0 and del_flag = 0 and category_id = ${formData.categoryId || -1}`" placeholder="请选择二级分类" allow-clear/>
</a-form-item>
</a-col>
<a-col :span="24">
@ -89,7 +89,9 @@
showDictSelect.value = false;
nextTick(() => {
resetFields();
showDictSelect.value = true;
if(!record.id){
showDictSelect.value = true;
}
const tmpData = {};
Object.keys(formData).forEach((key) => {
if(record.hasOwnProperty(key)){

View File

@ -4,9 +4,9 @@
<template #detail>
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol" name="ConfigMaterialTypeForm">
<a-row>
<a-col :span="24">
<a-col :span="24" v-if="showDictSelect">
<a-form-item label="一级分类" v-bind="validateInfos.categoryId" id="ConfigMaterialTypeForm-categoryId" name="categoryId">
<j-dict-select-tag type='radio' v-model:value="formData.categoryId" dictCode="nu_config_material_category,category_name,id,iz_enabled = 0 and del_flag = 0" placeholder="请选择一级分类" allow-clear v-if="showDictSelect"/>
<j-dict-select-tag type='radio' v-model:value="formData.categoryId" dictCode="nu_config_material_category,category_name,id,iz_enabled = 0 and del_flag = 0" placeholder="请选择一级分类" allow-clear/>
</a-form-item>
</a-col>
<a-col :span="24">
@ -83,7 +83,9 @@
console.log("🚀 ~ edit ~ record:", record)
nextTick(() => {
resetFields();
showDictSelect.value = true;
if(!record.id){
showDictSelect.value = true;
}
const tmpData = {};
Object.keys(formData).forEach((key) => {
if(record.hasOwnProperty(key)){

View File

@ -324,15 +324,6 @@ defineExpose({
}
}
.ant-drawer .ant-drawer-body {
flex: 111;
min-width: 0;
min-height: 0;
padding: 24px;
overflow: auto;
background: #dfdfdf;
background: url(../public/resource/img/modalback.png);
}
.selected {
// background: url("@/assets/icons/success.svg") no-repeat;