修改bug

This commit is contained in:
yangjun 2025-08-07 14:42:18 +08:00
parent c08464dafd
commit 978052864b
3 changed files with 15 additions and 6 deletions

View File

@ -47,9 +47,9 @@
display: flex;
padding-left: 7px;
font-size: 16px;
font-weight: 500;
font-weight: 600;
line-height: 24px;
color: @text-color-base;
color: rgba(51, 51, 51, 0.88);;
cursor: move;
user-select: none;

View File

@ -1,5 +1,5 @@
<template>
<Header :class="getHeaderClass" style="background-image: url('../../resource/img/bj.png') !important;background-repeat: no-repeat;background-size: 100% auto;">
<Header :class="getHeaderClass" class="headClass">
<!-- left start -->
<div :class="`${prefixCls}-left`">
<!-- logo -->
@ -271,4 +271,9 @@ export default defineComponent({
border-bottom: 0px;
border-left: 0px;
}
.headClass{
background-image: url('../resource/img/bj.png') !important;
background-repeat: no-repeat;
background-size: 100% auto;
}
</style>

View File

@ -161,7 +161,7 @@ import { e } from 'unocss';
}else if(model.qycj == '1'){//
model.typeId = "";
if(!model.categoryId){
createMessage.success("请选择一级分类!");
createMessage.error("请选择一级分类!");
return;
}
}else{
@ -170,14 +170,18 @@ import { e } from 'unocss';
return;
}
if(!model.categoryId){
createMessage.success("请选择一级分类!");
createMessage.error("请选择一级分类!");
return;
}
if(!model.typeId){
createMessage.success("请选择二级分类!");
createMessage.error("请选择二级分类!");
return;
}
}
if(model.id == model.typeId){
createMessage.error("不能选择自己作为上级分类!");
return;
}
defHttp.post({ url: '/invoicing/configMaterialMedication/editQianyi', params: model }).then((res) => {
emit('ok');
});