Browse Source

HL-5855状态标签使用不同的背景颜色,以便于快速区分

hella_online_20240911
yufei_wang 3 months ago
parent
commit
ae7b6510eb
  1. 2
      src/components/DictTag/src/DictTag.vue
  2. 1
      src/views/wms/basicDataManage/itemManage/bom/index.vue
  3. 1
      src/views/wms/basicDataManage/itemManage/itembasic/index.vue
  4. 1
      src/views/wms/basicDataManage/itemManage/packageunit/index.vue
  5. 1
      src/views/wms/basicDataManage/itemManage/productionitemcodeSpareitemcode/index.vue

2
src/components/DictTag/src/DictTag.vue

@ -47,7 +47,7 @@ export default defineComponent({
if (dictDataList.length == 0) {
if(dictData.value?.label !== '' && dictData.value?.label !== undefined){
return (<ElTag
style={dictData.value?.cssClass ? 'color: #fff' : ''}
style={dictData.value?.cssClass=='none'?'background-color: transparent;border: none;':dictData.value?.cssClass ? 'color: #fff' : ''}
type={dictData.value?.colorType}
color={
dictData.value?.cssClass && isHexColor(dictData.value?.cssClass)

1
src/views/wms/basicDataManage/itemManage/bom/index.vue

@ -72,6 +72,7 @@ import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading'
const { loadStart, loadDone } = usePageLoading()
// bom
//
defineOptions({ name: 'Bom' })
const message = useMessage() //

1
src/views/wms/basicDataManage/itemManage/itembasic/index.vue

@ -93,6 +93,7 @@ import { usePageLoading } from '@/hooks/web/usePageLoading'
const { loadStart, loadDone } = usePageLoading()
//
//
defineOptions({ name: 'Itembasic' })
const tabsExtend = ref(false)

1
src/views/wms/basicDataManage/itemManage/packageunit/index.vue

@ -69,6 +69,7 @@ import Detail from '@/components/Detail/src/Detail.vue'
import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading'
const { loadStart, loadDone } = usePageLoading()
//
defineOptions({ name: 'Packageunit' })
const message = useMessage() //

1
src/views/wms/basicDataManage/itemManage/productionitemcodeSpareitemcode/index.vue

@ -68,6 +68,7 @@ import Detail from '@/components/Detail/src/Detail.vue'
import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading'
const { loadStart, loadDone } = usePageLoading()
//
defineOptions({ name: 'ProductionitemcodeSpareitemcode' })
const message = useMessage() //

Loading…
Cancel
Save