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 @@
-
+
-
+
{{ scope.row[scope.prop] == 1 ? "启用" : "禁用" }}
@@ -33,28 +21,22 @@
-
+
{{ item.name }}
,
-
+
+
+
-
+
{{ item.name }}
@@ -73,21 +55,15 @@
{{ scope.row[scope.prop] }}
-
+
-
+ ">
编辑
耗材盘点
diff --git a/src/views/inventory/libraryrecords/config/content.ts b/src/views/inventory/libraryrecords/config/content.ts
index 8ff83e9..beaf6b3 100644
--- a/src/views/inventory/libraryrecords/config/content.ts
+++ b/src/views/inventory/libraryrecords/config/content.ts
@@ -65,11 +65,6 @@ const contentConfig: IContentConfig = {
templet: "custom",
slotName: "conUnit",
},
- {
- label: "变动前的库存",
- align: "center",
- prop: "beforeNumber",
- },
{
label: "出入库数量",
align: "center",
diff --git a/src/views/inventory/operation_in/components/consumableList.vue b/src/views/inventory/operation_in/components/consumableList.vue
index 637d808..3634da9 100644
--- a/src/views/inventory/operation_in/components/consumableList.vue
+++ b/src/views/inventory/operation_in/components/consumableList.vue
@@ -14,22 +14,13 @@
-
+
-
-
-
{{ formatDecimal(scope.row.stockNumber, 2, true) }}
@@ -42,14 +33,8 @@
-->
-
+