修改bug
This commit is contained in:
parent
c08464dafd
commit
978052864b
|
@ -47,9 +47,9 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
padding-left: 7px;
|
padding-left: 7px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
color: @text-color-base;
|
color: rgba(51, 51, 51, 0.88);;
|
||||||
cursor: move;
|
cursor: move;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<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 -->
|
<!-- left start -->
|
||||||
<div :class="`${prefixCls}-left`">
|
<div :class="`${prefixCls}-left`">
|
||||||
<!-- logo -->
|
<!-- logo -->
|
||||||
|
@ -271,4 +271,9 @@ export default defineComponent({
|
||||||
border-bottom: 0px;
|
border-bottom: 0px;
|
||||||
border-left: 0px;
|
border-left: 0px;
|
||||||
}
|
}
|
||||||
|
.headClass{
|
||||||
|
background-image: url('../resource/img/bj.png') !important;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: 100% auto;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -161,7 +161,7 @@ import { e } from 'unocss';
|
||||||
}else if(model.qycj == '1'){//迁移到二级
|
}else if(model.qycj == '1'){//迁移到二级
|
||||||
model.typeId = "";
|
model.typeId = "";
|
||||||
if(!model.categoryId){
|
if(!model.categoryId){
|
||||||
createMessage.success("请选择一级分类!");
|
createMessage.error("请选择一级分类!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
@ -170,14 +170,18 @@ import { e } from 'unocss';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(!model.categoryId){
|
if(!model.categoryId){
|
||||||
createMessage.success("请选择一级分类!");
|
createMessage.error("请选择一级分类!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(!model.typeId){
|
if(!model.typeId){
|
||||||
createMessage.success("请选择二级分类!");
|
createMessage.error("请选择二级分类!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(model.id == model.typeId){
|
||||||
|
createMessage.error("不能选择自己作为上级分类!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
defHttp.post({ url: '/invoicing/configMaterialMedication/editQianyi', params: model }).then((res) => {
|
defHttp.post({ url: '/invoicing/configMaterialMedication/editQianyi', params: model }).then((res) => {
|
||||||
emit('ok');
|
emit('ok');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue