diff --git a/src/views/inventory/consumables/components/DataStatistics.vue b/src/views/inventory/consumables/components/DataStatistics.vue index d1dbd19..6628105 100644 --- a/src/views/inventory/consumables/components/DataStatistics.vue +++ b/src/views/inventory/consumables/components/DataStatistics.vue @@ -77,7 +77,39 @@ - + @@ -109,7 +141,7 @@ function refStockHistoryShow(key) { align-items: center; justify-content: space-around; - > div { + >div { height: 80px; background-color: #f4f9ff; display: flex; @@ -129,6 +161,7 @@ function refStockHistoryShow(key) { span { color: #666; font-size: 14px; + &.num { color: #3f9eff; cursor: pointer; diff --git a/src/views/inventory/consumables/config/content.ts b/src/views/inventory/consumables/config/content.ts index d67e45e..0dc52a2 100644 --- a/src/views/inventory/consumables/config/content.ts +++ b/src/views/inventory/consumables/config/content.ts @@ -39,11 +39,6 @@ const contentConfig: IContentConfig = { name: "chuku", auth: "", }, - { - text: "报损", - name: "reportinglosses", - auth: "", - }, { text: "分类管理", name: "category", @@ -69,6 +64,11 @@ const contentConfig: IContentConfig = { name: "damage-out", auth: "", }, + { + text: "报损", + name: "reportinglosses", + auth: "", + }, ], defaultToolbar: ["refresh", "filter", "search"], cols: [ diff --git a/src/views/inventory/consumables/config/search.ts b/src/views/inventory/consumables/config/search.ts index bd66ccf..e0cb0a0 100644 --- a/src/views/inventory/consumables/config/search.ts +++ b/src/views/inventory/consumables/config/search.ts @@ -44,21 +44,21 @@ const searchConfig: ISearchConfig = { }, initialValue: "", }, - { - type: "date-picker", - label: "创建时间", - prop: "createAt", - attrs: { - type: "daterange", - "range-separator": "~", - "start-placeholder": "开始时间", - "end-placeholder": "截止时间", - "value-format": "YYYY-MM-DD", - style: { - width: "240px", - }, - }, - }, + // { + // type: "date-picker", + // label: "创建时间", + // prop: "createAt", + // attrs: { + // type: "daterange", + // "range-separator": "~", + // "start-placeholder": "开始时间", + // "end-placeholder": "截止时间", + // "value-format": "YYYY-MM-DD", + // style: { + // width: "240px", + // }, + // }, + // }, ], }; diff --git a/src/views/inventory/consumables/index.vue b/src/views/inventory/consumables/index.vue index 8092ad7..114b26d 100644 --- a/src/views/inventory/consumables/index.vue +++ b/src/views/inventory/consumables/index.vue @@ -2,26 +2,14 @@
- + - +